Class: Genba::Client::Prices

Inherits:
Object
  • Object
show all
Defined in:
lib/genba/client/prices.rb

Overview

Prices client

Instance Method Summary collapse

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(, headers = {})
  params = {
    customerAccountId: 
  }
  @client.rest_get_with_token('/prices', params, headers)
end