Module: Paybase::Client::Transactions
- Included in:
- Paybase::Client
- Defined in:
- lib/paybase/client/transactions.rb
Instance Method Summary collapse
- #inbound(options) ⇒ Object
- #internal(options) ⇒ Object
- #outbound(options) ⇒ Object
- #transaction(id) ⇒ Object
- #transactions(options = {}) ⇒ Object
Instance Method Details
#inbound(options) ⇒ Object
13 14 15 |
# File 'lib/paybase/client/transactions.rb', line 13 def inbound() post("/txs/inbound", ) end |
#internal(options) ⇒ Object
9 10 11 |
# File 'lib/paybase/client/transactions.rb', line 9 def internal() post("/txs/internal", ) end |
#outbound(options) ⇒ Object
17 18 19 |
# File 'lib/paybase/client/transactions.rb', line 17 def outbound() post("/txs/outbound", ) end |
#transaction(id) ⇒ Object
21 22 23 |
# File 'lib/paybase/client/transactions.rb', line 21 def transaction(id) get("/tx/#{id}") end |
#transactions(options = {}) ⇒ Object
5 6 7 |
# File 'lib/paybase/client/transactions.rb', line 5 def transactions( = {}) get("/txs", ) end |