Sha256: 01797350ab8fc332e36557e91d40e4f965b45c3894295c988e204cac4601f4b2

Contents?: true

Size: 670 Bytes

Versions: 2

Compression:

Stored size: 670 Bytes

Contents

require "forwardable"
require "invokr"
require "observer"
require "securerandom"

module Orchestra
  extend self

  def configure &block
    Configuration.module_eval &block
  end

  def perform operation, inputs = {}
    Conductor.new.perform operation, inputs
  end

  def replay_recording operation, store, input = {}
    store = Util.recursively_symbolize store
    input = input.merge store[:input]
    svc_recordings = store[:service_recordings]
    Recording.replay operation, input, svc_recordings
  end

  load File.expand_path('../orchestra/errors.rb', __FILE__)
end

Dir[File.expand_path '../orchestra/**/*.rb', __FILE__].each do |rb_file|
  load rb_file
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ntl-orchestra-0.9.2 lib/orchestra.rb
ntl-orchestra-0.9.1 lib/orchestra.rb