gapic-generator/lib/gapic/presenters/service_presenter.rb
# Returns a presenter for this service's delegate (if it is a common service)
# otherwise returns `nil`.
Returns a presenter for this service's delegate (if it is a common service)
otherwise returns `nil`.
Returns a presenter for this service ' s delegate ( if it is a common service ) otherwise returns ` nil ` .
def common_service_delegate
        unless defined? @common_service_delegate
          delegate = @api.delegate_service_for @service
          @common_service_delegate = delegate ? ServicePresenter.new(@gem_presenter, @api, delegate) : nil
        end
        @common_service_delegate
      end
def common_service_delegate unless defined? @common_service_delegate delegate = @api . delegate_service_for @service @common_service_delegate = delegate ? ServicePresenter . new ( @gem_presenter , @api , delegate ) : nil end @common_service_delegate end
Returns a presenter for this service's delegate (if it is a common service)
otherwise returns `nil`.
Returns a presenter for this service ' s delegate ( if it is a common service ) otherwise returns ` nil ` .