Class: AWS::Flow::EventsIterator
- Inherits:
-
Object
- Object
- AWS::Flow::EventsIterator
- Defined in:
- lib/aws/decider/history_helper.rb
Instance Attribute Summary collapse
-
#decision_task ⇒ Object
Returns the value of attribute decision_task.
-
#decision_tasks ⇒ Object
Returns the value of attribute decision_tasks.
-
#events ⇒ Object
Returns the value of attribute events.
Instance Method Summary collapse
-
#initialize(decision_tasks) ⇒ EventsIterator
constructor
A new instance of EventsIterator.
Constructor Details
#initialize(decision_tasks) ⇒ EventsIterator
Returns a new instance of EventsIterator.
49 50 51 52 53 54 55 |
# File 'lib/aws/decider/history_helper.rb', line 49 def initialize(decision_tasks) @decision_tasks = decision_tasks if ! @decision_tasks.nil? @decision_task = decision_tasks @events = @decision_task.events.to_a end end |
Instance Attribute Details
#decision_task ⇒ Object
Returns the value of attribute decision_task.
47 48 49 |
# File 'lib/aws/decider/history_helper.rb', line 47 def decision_task @decision_task end |
#decision_tasks ⇒ Object
Returns the value of attribute decision_tasks.
47 48 49 |
# File 'lib/aws/decider/history_helper.rb', line 47 def decision_tasks @decision_tasks end |
#events ⇒ Object
Returns the value of attribute events.
47 48 49 |
# File 'lib/aws/decider/history_helper.rb', line 47 def events @events end |