Sha256: d41a458b90f200f9835124f4c2011e92788d4e4b54f0af14a7d307731b13c0c1

Contents?: true

Size: 568 Bytes

Versions: 3

Compression:

Stored size: 568 Bytes

Contents

require 'active_support/all'
require 'active_record'
require 'active_job'
require 'ph_model'
require 'validate_url'
require 'faraday'
require 'faraday-encoding'

module WebhookSystem
  extend ActiveSupport::Autoload

  autoload :Subscription
  autoload :Dispatcher
  autoload :SubscriptionTopic
  autoload :Job
  autoload :Encoder
  autoload :BaseEvent
  autoload :EventLog

  # Error raised when there is an issue with decoding the payload
  class DecodingError < RuntimeError
  end

  class << self
    delegate :dispatch, to: :'WebhookSystem::Dispatcher'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
webhook_system-2.0.0 lib/webhook_system.rb
webhook_system-1.0.4 lib/webhook_system.rb
webhook_system-1.0.3 lib/webhook_system.rb