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