Module: SolidusWebhooks
- Defined in:
- lib/solidus_webhooks/engine.rb,
lib/solidus_webhooks/errors.rb,
lib/solidus_webhooks/version.rb,
lib/solidus_webhooks/configuration.rb,
lib/generators/solidus_webhooks/install/install_generator.rb
Defined Under Namespace
Modules: Generators
Classes: Configuration, Engine
Constant Summary
collapse
- WebhookNotFound =
Class.new(StandardError)
- InvalidHandler =
Class.new(StandardError)
- VERSION =
'0.4.2'
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
Also known as:
config
26
27
28
|
# File 'lib/solidus_webhooks/configuration.rb', line 26
def configuration
@configuration ||= Configuration.new
end
|
36
37
38
|
# File 'lib/solidus_webhooks/configuration.rb', line 36
def configure
yield configuration
end
|
.reset_config! ⇒ Object
32
33
34
|
# File 'lib/solidus_webhooks/configuration.rb', line 32
def reset_config!
@configuration = nil
end
|