Module: Orders

Included in:
TessituraRest
Defined in:
lib/tessitura_rest/txn/orders.rb

Instance Method Summary collapse

Instance Method Details

#get_products_view(id, options = {}) ⇒ Object



2
3
4
5
6
# File 'lib/tessitura_rest/txn/orders.rb', line 2

def get_products_view(id, options = {})
  options.merge!(basic_auth: @auth, headers: @headers)
  response = self.class.get(base_api_endpoint("TXN/Orders/#{id}/ProductsView"), options)
  JSON.parse(response.body)
end