Module: Delayed::Plugins::Raven
- Defined in:
- lib/delayed-plugins-raven/version.rb,
lib/delayed-plugins-raven/configuration.rb,
lib/delayed-plugins-raven.rb
Defined Under Namespace
Classes: Configuration, Plugin
Constant Summary collapse
- VERSION =
'1.0.5'
Class Attribute Summary collapse
-
.plugin_configuration ⇒ Object
Returns the value of attribute plugin_configuration.
-
.raven_configuration ⇒ Object
Returns the value of attribute raven_configuration.
Class Method Summary collapse
-
.configure(&block) ⇒ Object
Note: Deprecated; Use Delayed::Plugins::Raven.configure_raven instead.
- .configure_plugin(&block) ⇒ Object
- .configure_raven(&block) ⇒ Object
Class Attribute Details
.plugin_configuration ⇒ Object
Returns the value of attribute plugin_configuration.
63 64 65 |
# File 'lib/delayed-plugins-raven.rb', line 63 def plugin_configuration @plugin_configuration end |
.raven_configuration ⇒ Object
Returns the value of attribute raven_configuration.
62 63 64 |
# File 'lib/delayed-plugins-raven.rb', line 62 def raven_configuration @raven_configuration end |
Class Method Details
.configure(&block) ⇒ Object
Note: Deprecated; Use Delayed::Plugins::Raven.configure_raven instead.
66 67 68 |
# File 'lib/delayed-plugins-raven.rb', line 66 def configure(&block) configure_raven(&block) end |
.configure_plugin(&block) ⇒ Object
76 77 78 79 80 |
# File 'lib/delayed-plugins-raven.rb', line 76 def configure_plugin(&block) @plugin_configuration = Delayed::Plugins::Raven::Configuration.new block.call(@plugin_configuration) if block self end |
.configure_raven(&block) ⇒ Object
70 71 72 73 74 |
# File 'lib/delayed-plugins-raven.rb', line 70 def configure_raven(&block) @raven_configuration = ::Raven::Configuration.new block.call(@raven_configuration) if block self end |