lib/google/apis/playcustomapp_v1/service.rb in google-apis-playcustomapp_v1-0.13.0 vs lib/google/apis/playcustomapp_v1/service.rb in google-apis-playcustomapp_v1-0.14.0

- old
+ new

@@ -30,10 +30,12 @@ # Playcustomapp = Google::Apis::PlaycustomappV1 # Alias the module # service = Playcustomapp::PlaycustomappService.new # # @see https://developers.google.com/android/work/play/custom-app-api/ class PlaycustomappService < Google::Apis::Core::BaseService + DEFAULT_ENDPOINT_TEMPLATE = "https://playcustomapp.$UNIVERSE_DOMAIN$/" + # @return [String] # API key. Your API key identifies your project and provides you with API access, # quota, and reports. Required unless you provide an OAuth 2.0 token. attr_accessor :key @@ -41,10 +43,10 @@ # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. attr_accessor :quota_user def initialize - super('https://playcustomapp.googleapis.com/', '', + super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-playcustomapp_v1', client_version: Google::Apis::PlaycustomappV1::GEM_VERSION) @batch_path = 'batch' end