Class: IGMarkets::Account::Balance
- Defined in:
- lib/ig_markets/account.rb
Overview
Contains details on the balance of an IGMarkets::Account, used by #balance.
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#available ⇒ Float
The available attribute.
-
#balance ⇒ Float
The balance attribute.
-
#deposit ⇒ Float
The deposit attribute.
-
#profit_loss ⇒ Float
The profit_loss attribute.
Methods inherited from Model
#==, allowed_values, attribute, attribute_type, attribute_value_allowed?, defined_attribute_names, deprecated_attribute, #initialize, #initialize_copy, #inspect, #to_h, valid_attribute?
Constructor Details
This class inherits a constructor from IGMarkets::Model
Instance Method Details
#available ⇒ Float
The available attribute.
6 |
# File 'lib/ig_markets/account.rb', line 6 attribute :available, Float |
#balance ⇒ Float
The balance attribute.
7 |
# File 'lib/ig_markets/account.rb', line 7 attribute :balance, Float |
#deposit ⇒ Float
The deposit attribute.
8 |
# File 'lib/ig_markets/account.rb', line 8 attribute :deposit, Float |
#profit_loss ⇒ Float
The profit_loss attribute.
9 |
# File 'lib/ig_markets/account.rb', line 9 attribute :profit_loss, Float |