Sha256: c277037ce7bc934583cb8c7609cc9a1b8f48c19ea3429d8e8b629cf168333873

Contents?: true

Size: 524 Bytes

Versions: 4

Compression:

Stored size: 524 Bytes

Contents

require 'aws-sdk'

module SimplerWorkflow
  def SimplerWorkflow.domain(domain_name)
    @domains ||= {}
    @domains[domain_name.to_sym] ||= Domain.new(domain_name)
  end

  def SimplerWorkflow.swf
    @swf ||= ::AWS::SimpleWorkflow.new
  end

  autoload :Version,  'simpler_workflow/version'
  autoload :Domain,   'simpler_workflow/domain'
  autoload :Workflow, 'simpler_workflow/workflow'
  autoload :Activity, 'simpler_workflow/activity'
end

class Map
  def Map.from_json(json)
    from_hash(JSON.parse(json))
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simpler_workflow-0.1.3 lib/simpler_workflow.rb
simpler_workflow-0.1.2 lib/simpler_workflow.rb
simpler_workflow-0.1.1 lib/simpler_workflow.rb
simpler_workflow-0.1.0 lib/simpler_workflow.rb