Sha256: c9e3e2927f93c04ee7477690de3caf5777cbe92ec128668efb7890eda2c49a65

Contents?: true

Size: 279 Bytes

Versions: 10

Compression:

Stored size: 279 Bytes

Contents

require 'aws/simple_workflow/decision_task'

module AWS
  class SimpleWorkflow
    module DecisionTaskAdditions
      def scheduled_event(event)
        workflow_execution.events.reverse_order.find { |e| e.id == event.attributes.scheduled_event_id }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
simpler_workflow-0.3.3 lib/aws/simple_workflow/decision_task_additions.rb
simpler_workflow-0.3.2 lib/aws/simple_workflow/decision_task_additions.rb
simpler_workflow-0.3.1 lib/aws/simple_workflow/decision_task_additions.rb
simpler_workflow-0.3.0 lib/aws/simple_workflow/decision_task_additions.rb
simpler_workflow-0.3.0.beta2 lib/aws/simple_workflow/decision_task_additions.rb
simpler_workflow-0.3.0.beta lib/aws/simple_workflow/decision_task_additions.rb
simpler_workflow-0.2.7 lib/aws/simple_workflow/decision_task_additions.rb
simpler_workflow-0.2.6 lib/aws/simple_workflow/decision_task_additions.rb
simpler_workflow-0.2.5 lib/aws/simple_workflow/decision_task_additions.rb
simpler_workflow-0.1.12 lib/aws/simple_workflow/decision_task_additions.rb