Class: Payassist::Transaction
- Defined in:
- lib/payassist/transaction.rb
Overview
Get transactions data API
Instance Method Summary collapse
Methods inherited from Client
#handle_error, #interpret_response, #send_request
Instance Method Details
#get(data) ⇒ Object
14 15 16 17 |
# File 'lib/payassist/transaction.rb', line 14 def get(data) body = prepare_body("fetchOrderInfo", data) send_request(path: "transfer/get-order-info", body: body) end |
#list(data) ⇒ Object
9 10 11 12 |
# File 'lib/payassist/transaction.rb', line 9 def list(data) body = prepare_body("fetchMerchTx", data) send_request(path: "transfer/get-merchant-tx", body: body) end |