Class: IGMarkets::Market::DealingRules::RuleDetails
- Inherits:
-
IGMarkets::Model
- Object
- IGMarkets::Model
- IGMarkets::Market::DealingRules::RuleDetails
- Defined in:
- lib/ig_markets/market.rb
Overview
Contains specfics for a single dealing rule.
Instance Attribute Summary
Attributes inherited from IGMarkets::Model
Instance Method Summary collapse
-
#unit ⇒ Symbol
The unit attribute.
-
#value ⇒ Float
The value attribute.
Methods inherited from IGMarkets::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
#unit ⇒ Symbol
The unit attribute.
10 |
# File 'lib/ig_markets/market.rb', line 10 attribute :unit, Symbol, allowed_values: %i[percentage points] |
#value ⇒ Float
The value attribute.
11 |
# File 'lib/ig_markets/market.rb', line 11 attribute :value, Float |