Class: DfpApi::V201403::ExchangeRateService::ExchangeRateService
- Inherits:
-
AdsCommon::SavonService
- Object
- AdsCommon::SavonService
- DfpApi::V201403::ExchangeRateService::ExchangeRateService
- Defined in:
- lib/dfp_api/v201403/exchange_rate_service.rb
Instance Method Summary collapse
- #create_exchange_rates(*args, &block) ⇒ Object
- #get_exchange_rates_by_statement(*args, &block) ⇒ Object
-
#initialize(config, endpoint) ⇒ ExchangeRateService
constructor
A new instance of ExchangeRateService.
- #perform_exchange_rate_action(*args, &block) ⇒ Object
- #update_exchange_rates(*args, &block) ⇒ Object
Constructor Details
#initialize(config, endpoint) ⇒ ExchangeRateService
Returns a new instance of ExchangeRateService.
15 16 17 18 |
# File 'lib/dfp_api/v201403/exchange_rate_service.rb', line 15 def initialize(config, endpoint) namespace = 'https://www.google.com/apis/ads/publisher/v201403' super(config, endpoint, namespace, :v201403) end |
Instance Method Details
#create_exchange_rates(*args, &block) ⇒ Object
20 21 22 |
# File 'lib/dfp_api/v201403/exchange_rate_service.rb', line 20 def create_exchange_rates(*args, &block) return execute_action('create_exchange_rates', args, &block) end |
#get_exchange_rates_by_statement(*args, &block) ⇒ Object
24 25 26 |
# File 'lib/dfp_api/v201403/exchange_rate_service.rb', line 24 def get_exchange_rates_by_statement(*args, &block) return execute_action('get_exchange_rates_by_statement', args, &block) end |
#perform_exchange_rate_action(*args, &block) ⇒ Object
28 29 30 |
# File 'lib/dfp_api/v201403/exchange_rate_service.rb', line 28 def perform_exchange_rate_action(*args, &block) return execute_action('perform_exchange_rate_action', args, &block) end |
#update_exchange_rates(*args, &block) ⇒ Object
32 33 34 |
# File 'lib/dfp_api/v201403/exchange_rate_service.rb', line 32 def update_exchange_rates(*args, &block) return execute_action('update_exchange_rates', args, &block) end |