Sha256: 824945f58166e1aaa9eb2779050777edcc993f0473e437da5bed63ae6335ada0

Contents?: true

Size: 488 Bytes

Versions: 5

Compression:

Stored size: 488 Bytes

Contents

require "wat_catcher/version"

require 'wat_catcher/backgrounder'
require "wat_catcher/middleware"

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

5 entries across 5 versions & 1 rubygems

Version Path
wat_catcher-0.0.7 lib/wat_catcher.rb
wat_catcher-0.0.6 lib/wat_catcher.rb
wat_catcher-0.0.5 lib/wat_catcher.rb
wat_catcher-0.0.4 lib/wat_catcher.rb
wat_catcher-0.0.3 lib/wat_catcher.rb