Class: AWS::Flow::EventsIterator

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/decider/history_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_taskObject

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_tasksObject

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

#eventsObject

Returns the value of attribute events.



47
48
49
# File 'lib/aws/decider/history_helper.rb', line 47

def events
  @events
end