Module: Cashstar::Client::Catalog
- Included in:
- Cashstar::Client
- Defined in:
- lib/cashstar/client/catalog.rb
Overview
Defines methods related to a Cashstar Order
Instance Method Summary collapse
Instance Method Details
#catalog(merchant_code) ⇒ Object
6 7 8 9 |
# File 'lib/cashstar/client/catalog.rb', line 6 def catalog(merchant_code) response = get("/v2/merchant/#{merchant_code}/catalog/") format.to_s.downcase == 'xml' ? response['catalog'] : response['catalog'] end |