ads_common/lib/ads_common/api_config.rb
def version_has_service(version, service)
      return service_config.include?(version) &&
          service_config[version].include?(service)
    end
def version_has_service(version, service)
      return service_config.include?(version) &&
          service_config[version].include?(service)
    end
def version_has_service ( version , service ) return service_config . include? ( version ) && service_config [ version ] . include? ( service ) end
Does the given version exist and contain the given service?

 Returns:
 Boolean indicating whether the given version exists and contains the
 given service
Does the given version exist and contain the given service?