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