Class: IGMarkets::ClientAccountSummary::AccountDetails
- Defined in:
- lib/ig_markets/client_account_summary.rb
Overview
Contains details on an account, used by #accounts.
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#account_id ⇒ Object
The account_id attribute.
-
#account_name ⇒ Object
The account_name attribute.
-
#account_type ⇒ Symbol
The account_type attribute.
-
#preferred ⇒ Boolean
The preferred 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
#account_id ⇒ Object
The account_id attribute.
14 |
# File 'lib/ig_markets/client_account_summary.rb', line 14 attribute :account_id |
#account_name ⇒ Object
The account_name attribute.
15 |
# File 'lib/ig_markets/client_account_summary.rb', line 15 attribute :account_name |
#account_type ⇒ Symbol
The account_type attribute.
16 |
# File 'lib/ig_markets/client_account_summary.rb', line 16 attribute :account_type, Symbol, allowed_values: %i[cfd physical spreadbet] |