Sha256: 79d431bfc6849eb81eaebf740872f04414e8ae59ff6538450a0f7f3db4d7079b

Contents?: true

Size: 696 Bytes

Versions: 1

Compression:

Stored size: 696 Bytes

Contents

require "jflow/version"
require "jflow/activity.rb"
require "jflow/activity_mixin.rb"
require "jflow/activity_worker.rb"
require "jflow/configuration.rb"
require "yaml"
require "json"
require "hash_validator"
require 'aws-sdk'

module JFlow
  class << self
    attr_writer :configuration
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.reset
    @configuration = Configuration.new
  end

  def self.configure
    yield(configuration)
  end

  def self.load_activities
    configuration.load_paths.each do |path|
      Dir["#{path}/*.rb"].each do |file|
        configuration.logger.debug "found #{file}"
        require file
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jflow-0.1.0 lib/jflow.rb