Sha256: 195e62f656a00fd43db6d4264108094c7a5bf7c6ca791ddc60fd2b772048ae71

Contents?: true

Size: 604 Bytes

Versions: 3

Compression:

Stored size: 604 Bytes

Contents

# IMPORTANT !!!! DON'T use  code from this file , this is done so that manually testing the gem would be easier.
# Manual tests are done with command: ruby spec/manual_tests/test_notification.rb , which should send a notification to Asana
# about an error occuring , if the system has configured properly the ASANA_API_KEY and ASANA_WORKSPACE_ID environment variables

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.2.0 spec/manual_tests/subscribers/base.rb
asana_exception_notifier-2.1.0 spec/manual_tests/subscribers/base.rb
asana_exception_notifier-2.0.2 spec/manual_tests/subscribers/base.rb