Sha256: 09a76ad0aaa50088473757a7153e4e23968cee3756efabbc095faa54ee89f863

Contents?: true

Size: 235 Bytes

Versions: 3

Compression:

Stored size: 235 Bytes

Contents

module Subscribers
  class Base

    attr_reader :event

    def initialize(*args)
      @event = ActiveSupport::Notifications::Event.new(*args)
      process
    end

    def process
      raise NotImplementedError
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
asana_exception_notifier-2.0.1 spec/subscribers/base.rb
asana_exception_notifier-2.0.0 spec/subscribers/base.rb
asana_exception_notifier-1.1.0 spec/subscribers/base.rb