Class: IGMarkets::DealConfirmation::AffectedDeal
- Defined in:
- lib/ig_markets/deal_confirmation.rb
Overview
Contains details on a specific deal that was affected by a dealing event. Returned by #affected_deals.
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#deal_id ⇒ Object
The deal_id attribute.
-
#status ⇒ Symbol
The status 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
#deal_id ⇒ Object
The deal_id attribute.
6 |
# File 'lib/ig_markets/deal_confirmation.rb', line 6 attribute :deal_id |
#status ⇒ Symbol
The status attribute.
7 |
# File 'lib/ig_markets/deal_confirmation.rb', line 7 attribute :status, Symbol, allowed_values: %i[amended deleted fully_closed opened partially_closed] |