Class: CustomerManagementService

Inherits:
AdCenterService show all
Defined in:
lib/customer_management_service.rb

Constant Summary

Constants inherited from AdCenterService

AdCenterService::DEFAULT_REQUIRED_CREDENTIALS

Instance Attribute Summary

Attributes inherited from AdCenterService

#endpoint, #required_credentials, #service, #service_namespace

Instance Method Summary collapse

Methods inherited from AdCenterService

#initialize, #initialize_authentication_headers, #method_missing

Constructor Details

This class inherits a constructor from AdCenterService

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AdCenterService

Instance Method Details

#initialize_service(endpoint) ⇒ Object



4
5
6
7
8
# File 'lib/customer_management_service.rb', line 4

def initialize_service(endpoint)
  @service_namespace = 'https://adcenter.microsoft.com/api/customermanagement'
  @required_credentials = %w[ ApplicationToken UserName Password DeveloperToken ]
  @service = AdCenterWrapper::ICustomerManagementService.new(endpoint)
end