Module: AnedotWebhooks
- Defined in:
- lib/anedot_webhooks.rb,
lib/anedot_webhooks/event.rb,
lib/anedot_webhooks/engine.rb,
lib/anedot_webhooks/version.rb,
lib/anedot_webhooks/webhook_job.rb,
lib/anedot_webhooks/configuration.rb,
app/controllers/anedot_webhooks/webhooks_controller.rb,
app/controllers/anedot_webhooks/application_controller.rb
Defined Under Namespace
Classes: ApplicationController, Configuration, Engine, Event, WebhookJob, WebhooksController
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
15
16
17
|
# File 'lib/anedot_webhooks.rb', line 15
def configuration
@configuration ||= Configuration.new
end
|
11
12
13
|
# File 'lib/anedot_webhooks.rb', line 11
def configure
yield configuration
end
|
.reset_configuration! ⇒ Object
19
20
21
|
# File 'lib/anedot_webhooks.rb', line 19
def reset_configuration!
@configuration = nil
end
|