Sha256: bfcfa47813edd834154e910a661de305578544d6f680c07b9480ce720ed89edd

Contents?: true

Size: 638 Bytes

Versions: 1

Compression:

Stored size: 638 Bytes

Contents

require "wat_catcher/version"

require "wat_catcher/report"
require 'wat_catcher/sidekiq_poster'
require "wat_catcher/wattle_helper"
require "wat_catcher/sidekiq_middleware"
require "wat_catcher/rack_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

1 entries across 1 versions & 1 rubygems

Version Path
wat_catcher-0.6.0 lib/wat_catcher.rb