Class: IGMarkets::ClientAccountSummary::AccountDetails

Inherits:
Model
  • Object
show all
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

#attributes

Instance Method Summary collapse

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_idObject

The account_id attribute.


14
# File 'lib/ig_markets/client_account_summary.rb', line 14

attribute :account_id

#account_nameObject

The account_name attribute.


15
# File 'lib/ig_markets/client_account_summary.rb', line 15

attribute :account_name

#account_typeSymbol

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]

#preferredBoolean

The preferred attribute.


17
# File 'lib/ig_markets/client_account_summary.rb', line 17

attribute :preferred, Boolean