Class: Multisafepay::AccountsResource
- Defined in:
- lib/multisafepay/resources/accounts.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
- #balances(affiliated_id) ⇒ Object
- #charges(affiliated_id, payload = {}) ⇒ Object
- #payouts(affiliated_id, payload = {}) ⇒ Object
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Multisafepay::Resource
Instance Method Details
#balances(affiliated_id) ⇒ Object
3 4 5 |
# File 'lib/multisafepay/resources/accounts.rb', line 3 def balances(affiliated_id) Account.new get_request("accounts/#{affiliated_id}/balances") end |