Class: AdcenterApi::V7::CustomerManagementService::CustomerManagementService
- Inherits:
-
AdsCommonForAdcenter::SavonService
- Object
- AdsCommon::SavonService
- AdsCommonForAdcenter::SavonService
- AdcenterApi::V7::CustomerManagementService::CustomerManagementService
- Defined in:
- lib/adcenter_api/v7/customer_management_service.rb
Instance Method Summary collapse
- #add_account(*args, &block) ⇒ Object
- #add_user(*args, &block) ⇒ Object
- #delete_account(*args, &block) ⇒ Object
- #delete_customer(*args, &block) ⇒ Object
- #delete_user(*args, &block) ⇒ Object
- #get_account(*args, &block) ⇒ Object
- #get_accounts_info(*args, &block) ⇒ Object
- #get_customer(*args, &block) ⇒ Object
- #get_customer_pilot_feature(*args, &block) ⇒ Object
- #get_customers_info(*args, &block) ⇒ Object
- #get_user(*args, &block) ⇒ Object
- #get_users_info(*args, &block) ⇒ Object
-
#initialize(config, endpoint) ⇒ CustomerManagementService
constructor
A new instance of CustomerManagementService.
- #signup_customer(*args, &block) ⇒ Object
- #update_account(*args, &block) ⇒ Object
- #update_customer(*args, &block) ⇒ Object
- #update_user(*args, &block) ⇒ Object
- #update_user_roles(*args, &block) ⇒ Object
Constructor Details
#initialize(config, endpoint) ⇒ CustomerManagementService
Returns a new instance of CustomerManagementService.
15 16 17 18 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 15 def initialize(config, endpoint) namespace = 'https://adcenter.microsoft.com/api/customermanagement' super(config, endpoint, namespace, :v7) end |
Instance Method Details
#add_account(*args, &block) ⇒ Object
24 25 26 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 24 def add_account(*args, &block) return execute_action('add_account', args, &block) end |
#add_user(*args, &block) ⇒ Object
52 53 54 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 52 def add_user(*args, &block) return execute_action('add_user', args, &block) end |
#delete_account(*args, &block) ⇒ Object
56 57 58 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 56 def delete_account(*args, &block) return execute_action('delete_account', args, &block) end |
#delete_customer(*args, &block) ⇒ Object
60 61 62 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 60 def delete_customer(*args, &block) return execute_action('delete_customer', args, &block) end |
#delete_user(*args, &block) ⇒ Object
76 77 78 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 76 def delete_user(*args, &block) return execute_action('delete_user', args, &block) end |
#get_account(*args, &block) ⇒ Object
44 45 46 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 44 def get_account(*args, &block) return execute_action('get_account', args, &block) end |
#get_accounts_info(*args, &block) ⇒ Object
20 21 22 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 20 def get_accounts_info(*args, &block) return execute_action('get_accounts_info', args, &block) end |
#get_customer(*args, &block) ⇒ Object
32 33 34 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 32 def get_customer(*args, &block) return execute_action('get_customer', args, &block) end |
#get_customer_pilot_feature(*args, &block) ⇒ Object
84 85 86 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 84 def get_customer_pilot_feature(*args, &block) return execute_action('get_customer_pilot_feature', args, &block) end |
#get_customers_info(*args, &block) ⇒ Object
48 49 50 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 48 def get_customers_info(*args, &block) return execute_action('get_customers_info', args, &block) end |
#get_user(*args, &block) ⇒ Object
72 73 74 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 72 def get_user(*args, &block) return execute_action('get_user', args, &block) end |
#get_users_info(*args, &block) ⇒ Object
80 81 82 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 80 def get_users_info(*args, &block) return execute_action('get_users_info', args, &block) end |
#signup_customer(*args, &block) ⇒ Object
40 41 42 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 40 def signup_customer(*args, &block) return execute_action('signup_customer', args, &block) end |
#update_account(*args, &block) ⇒ Object
28 29 30 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 28 def update_account(*args, &block) return execute_action('update_account', args, &block) end |
#update_customer(*args, &block) ⇒ Object
36 37 38 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 36 def update_customer(*args, &block) return execute_action('update_customer', args, &block) end |
#update_user(*args, &block) ⇒ Object
64 65 66 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 64 def update_user(*args, &block) return execute_action('update_user', args, &block) end |
#update_user_roles(*args, &block) ⇒ Object
68 69 70 |
# File 'lib/adcenter_api/v7/customer_management_service.rb', line 68 def update_user_roles(*args, &block) return execute_action('update_user_roles', args, &block) end |