Module: OmniEvent

Defined in:
lib/omni_event.rb,
lib/omni_event/engine.rb,
lib/omni_event/version.rb,
app/models/omni_event/log.rb,
lib/omni_event/configuration.rb,
lib/omni_event/base_processor.rb,
app/models/omni_event/notifier.rb,
app/jobs/omni_event/new_relic_job.rb,
lib/omni_event/process_dispatcher.rb,
lib/omni_event/signature_verifier.rb,
app/models/omni_event/webhook_event.rb,
app/jobs/omni_event/process_webhook_job.rb,
app/models/omni_event/application_record.rb,
lib/generators/omni_event/install_generator.rb,
app/controllers/omni_event/receiver_controller.rb

Defined Under Namespace

Modules: Generators Classes: ApplicationRecord, BaseProcessor, Configuration, Engine, Log, NewRelicJob, Notifier, ProcessDispatcher, ProcessWebhookJob, ReceiverController, SignatureVerifier, WebhookEvent

Constant Summary collapse

VERSION =
"0.1.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



10
11
12
# File 'lib/omni_event.rb', line 10

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



13
14
15
16
# File 'lib/omni_event.rb', line 13

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end