Sha256: ecbefd3c8f45eecbc8a693a836711929dba4dfbe3c66d5a577cd3a113186c4ea

Contents?: true

Size: 454 Bytes

Versions: 3

Compression:

Stored size: 454 Bytes

Contents

require 'active_support/core_ext/kernel/singleton_class'

module Webhookr
  class Engine < ::Rails::Engine
    isolate_namespace Webhookr

    # Enable basic auth for all services when config.basic_auth.username
    # and config.basic_auth.password are set.
    self.config.webhookr = ActiveSupport::OrderedOptions.new
    self.config.webhookr.basic_auth = ActiveSupport::OrderedOptions.new

    initializer "webhookr.config" do |app|
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
webhookr-0.2.0 lib/webhookr/engine.rb
webhookr-0.1.0 lib/webhookr/engine.rb
webhookr-0.0.2 lib/webhookr/engine.rb