Class: AWS::Flow::EventsIterator

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (EventsIterator) initialize(decision_tasks)

Returns a new instance of EventsIterator



49
50
51
52
53
54
55
# File 'aws-flow-ruby/aws-flow/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

- (Object) decision_task

Returns the value of attribute decision_task



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

def decision_task
  @decision_task
end

- (Object) decision_tasks

Returns the value of attribute decision_tasks



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

def decision_tasks
  @decision_tasks
end

- (Object) events

Returns the value of attribute events



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

def events
  @events
end