Class: Genba::Client::Prices
- Inherits:
-
Object
- Object
- Genba::Client::Prices
- Defined in:
- lib/genba/client/prices.rb
Overview
Prices client
Instance Method Summary collapse
- #get_prices(customer_account_id, headers = {}) ⇒ Object
-
#initialize(client) ⇒ Prices
constructor
A new instance of Prices.
Constructor Details
#initialize(client) ⇒ Prices
Returns a new instance of Prices.
7 8 9 |
# File 'lib/genba/client/prices.rb', line 7 def initialize(client) @client = client end |
Instance Method Details
#get_prices(customer_account_id, headers = {}) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/genba/client/prices.rb', line 11 def get_prices(customer_account_id, headers = {}) params = { customerAccountId: customer_account_id } @client.rest_get_with_token('/prices', params, headers) end |