Class: Increase::Resources::IntrafiBalances

Inherits:
Object
  • Object
show all
Defined in:
lib/increase/resources/intrafi_balances.rb

Instance Method Summary collapse

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

Parameters:

  • account_id (String)

    The identifier of the Account to get balances for.

  • opts (Hash|RequestOptions) (defaults to: {})

    Options to specify HTTP behaviour for this request.

Returns:



16
17
18
19
20
21
22
# File 'lib/increase/resources/intrafi_balances.rb', line 16

def retrieve(, opts = {})
  req = {}
  req[:method] = :get
  req[:path] = "/intrafi_balances/#{}"
  req[:model] = Increase::Models::IntrafiBalance
  @client.request(req, opts)
end