Class: Cashstar::Client::Order

Inherits:
Hashie::Dash
  • Object
show all
Defined in:
lib/cashstar/client/order.rb

Overview

Defines methods related to a Cashstar Order

Instance Method Summary collapse

Instance Method Details

#to_jsonObject



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