gapic-generator/lib/gapic/presenters/gem_presenter.rb
def quick_start_service
        preferred_service = gem_config :quick_start_service
        result = services.find { |svc| svc.name == preferred_service } if preferred_service
        result || first_non_common_service
      end
##
# The service to use for quick start samples. Normally this is simply the
# {#first_non_common_service}, but it can be overridden via a gem config.
#
# @return [Gapic::Presenters::ServicePresenter]
#
The service to use for quick start samples. Normally this is simply the
{#first_non_common_service}, but it can be overridden via a gem config.
The service to use for quick start samples . Normally this is simply the { #first_non_common_service } but it can be overridden via a gem config .
def quick_start_service
        preferred_service = gem_config :quick_start_service
        result = services.find { |svc| svc.name == preferred_service } if preferred_service
        result || first_non_common_service
      end
def quick_start_service preferred_service = gem_config :quick_start_service result = services . find { | svc | svc . name == preferred_service } if preferred_service result || first_non_common_service end
The service to use for quick start samples.
The service to use for quick start samples .
None
Gapic::Presenters::ServicePresenter