Class: Tazapay::Checkout
Overview
Transactions API
Instance Method Summary collapse
Methods inherited from Client
#handle_error, #interpret_response, #send_request
Instance Method Details
#get_status(tx_number) ⇒ Object
14 15 16 17 |
# File 'lib/tazapay/checkout.rb', line 14 def get_status(tx_number) path = "/v1/checkout/#{tx_number}" send_request(method: :get, path: path) end |
#pay(data) ⇒ Object
9 10 11 12 |
# File 'lib/tazapay/checkout.rb', line 9 def pay(data) path = "/v1/checkout" send_request(method: :post, path: path, body: data) end |