Class: Increase::Resources::IntrafiBalances
- Inherits:
-
Object
- Object
- Increase::Resources::IntrafiBalances
- Defined in:
- lib/increase/resources/intrafi_balances.rb
Instance Method Summary collapse
-
#initialize(client:) ⇒ IntrafiBalances
constructor
A new instance of IntrafiBalances.
-
#retrieve(account_id, opts = {}) ⇒ Increase::Models::IntrafiBalance
Get IntraFi balances by bank.
Constructor Details
#initialize(client:) ⇒ IntrafiBalances
Returns a new instance of IntrafiBalances.
6 7 8 |
# File 'lib/increase/resources/intrafi_balances.rb', line 6 def initialize(client:) @client = client end |
Instance Method Details
#retrieve(account_id, opts = {}) ⇒ Increase::Models::IntrafiBalance
Get IntraFi balances by bank
16 17 18 19 20 21 22 |
# File 'lib/increase/resources/intrafi_balances.rb', line 16 def retrieve(account_id, opts = {}) req = {} req[:method] = :get req[:path] = "/intrafi_balances/#{account_id}" req[:model] = Increase::Models::IntrafiBalance @client.request(req, opts) end |