Module: Cashstar::Client::OrderMethods
- Included in:
- Cashstar::Client
- Defined in:
- lib/cashstar/client/order.rb
Instance Method Summary collapse
Instance Method Details
#issue(order) ⇒ Object
7 8 9 10 |
# File 'lib/cashstar/client/order.rb', line 7 def issue(order) response = post("/v2/order/", order.to_json) format.to_s.downcase == 'xml' ? response['order'] : response['order'] end |
#return(order) ⇒ Object
12 13 14 |
# File 'lib/cashstar/client/order.rb', line 12 def return(order) true end |