Sha256: d7c2a4fa1122ede9c0ff1529493276f4c3668f454e79afcd64274f873051ac16

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

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

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

1 entries across 1 versions & 1 rubygems

Version Path
webhook_system-0.0.1 lib/webhook_system.rb