Sha256: 32cd390212f6d9ebf790970cc4ab6ae657c9a3bfd86f59875910524828c91e4d

Contents?: true

Size: 523 Bytes

Versions: 1

Compression:

Stored size: 523 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
  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

1 entries across 1 versions & 1 rubygems

Version Path
webhook_system-1.0.0 lib/webhook_system.rb