Class: Cashstar::Client::Order
- Inherits:
-
Hashie::Dash
- Object
- Hashie::Dash
- Cashstar::Client::Order
- Defined in:
- lib/cashstar/client/order.rb
Overview
Defines methods related to a Cashstar Order
Instance Method Summary collapse
Instance Method Details
#to_json ⇒ Object
23 24 25 |
# File 'lib/cashstar/client/order.rb', line 23 def to_json() "{ \"order\" : { \"audit_number\" : \"#{self.audit_number}\", \"egc\" : #{self.gift_card.to_json}}}" end |