Sha256: ae843f41ff0b82c5285e8d9dcb387a3f5f45abed99ac69df1d9438d2f3a6a129

Contents?: true

Size: 502 Bytes

Versions: 2

Compression:

Stored size: 502 Bytes

Contents

require 'active_support/all'
require 'active_record'
require 'active_job'
require 'ph_model'
require 'validate_url'

module WebhookSystem
  extend ActiveSupport::Autoload

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

  # 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

2 entries across 2 versions & 1 rubygems

Version Path
webhook_system-0.1.1 lib/webhook_system.rb
webhook_system-0.1.0 lib/webhook_system.rb