Sha256: 41da7bff42161b6f776c9967edd8231f4a3173d695849469cad3fe0a3746cdf4

Contents?: true

Size: 605 Bytes

Versions: 4

Compression:

Stored size: 605 Bytes

Contents

require "wat_catcher/version"

require 'wat_catcher/sidekiq_poster'
require "wat_catcher/middleware"
require "wat_catcher/wattle_helper"
require "wat_catcher/sidekiq_middleware"
require "wat_catcher/sidekiq_poster"


require "wat_catcher/railtie" if defined?(Rails::Railtie)
module WatCatcher
  class << self
    def configure(config_hash=nil)
      config_hash.each do |k, v|
        configuration.send("#{k}=", v)
      end if config_hash

      yield(configuration) if block_given?
    end

    def configuration
      @configuration ||= OpenStruct.new
    end
  end
end

require "wat_catcher/engine"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wat_catcher-0.2.2 lib/wat_catcher.rb
wat_catcher-0.2.1 lib/wat_catcher.rb
wat_catcher-0.2.0 lib/wat_catcher.rb
wat_catcher-0.1.0 lib/wat_catcher.rb