Sha256: 8ffc2fe2a9ce8ada2c7814a0b16aaae32609e3c8b8bffeebdf62e26f1c0ea0bc

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

require "securecompare"
require "webhookr/engine"

module Webhookr
  extend ActiveSupport::Autoload

  autoload :InvalidPayloadError
  autoload :AdapterResponse
  autoload :Service
  autoload :VERSION

  class << self
    def adapters
      @adapters ||= HashWithIndifferentAccess.new
    end

    def config
      @config ||= defined?(Rails) ? Rails.application.config.webhookr :
                                    ActiveSupport::OrderedOptions.new
    end
  end
end

require "webhookr/services"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webhookr-0.2.0 lib/webhookr.rb