gapic-generator/lib/gapic/schema/api.rb
# Given a common service, return its delegate.
Given a common service, return its delegate.
Given a common service return its delegate .
def delegate_service_for common
        addr = (configuration[:common_services] || {})[common.address.join "."]
        return nil unless addr
        addr = addr.split "."
        services.find { |s| s.address == addr }
      end
def delegate_service_for common addr = ( configuration [ :common_services ] || { } ) [ common . address . join "." ] return nil unless addr addr = addr . split "." services . find { | s | s . address == addr } end
Given a common service, return its delegate.
Given a common service return its delegate .
common
<not_specific>