Class: Ledger::Sdk::Models::Account::Instance
- Inherits:
-
Base::Instance
- Object
- Base::Instance
- Ledger::Sdk::Models::Account::Instance
- Defined in:
- lib/ledger/sdk/models/account.rb
Overview
Represents an individual account instance.
Has an association to Position allowing navigation to the positions attached to this account.
Instance Method Summary collapse
-
#balances(name) ⇒ Balance
Access the balances of this account for a given balance name.
-
#positions(associated_id = nil) ⇒ Position, Position::Instance
Access the positions associated with this account.
Methods inherited from Base::Instance
association, #data, #initialize
Constructor Details
This class inherits a constructor from Ledger::Sdk::Models::Base::Instance
Instance Method Details
#balances(name) ⇒ Balance
Access the balances of this account for a given balance name.
#positions(associated_id = nil) ⇒ Position, Position::Instance
Access the positions associated with this account.