Module: ActionRecipient
- Defined in:
- lib/action_recipient.rb,
lib/action_recipient/version.rb,
lib/action_recipient/rewriter.rb,
lib/action_recipient/interceptor.rb,
lib/action_recipient/configuration.rb
Defined Under Namespace
Modules: Interceptor, Rewriter
Classes: Configuration
Constant Summary
collapse
- VERSION =
"0.3.0"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
7
8
9
|
# File 'lib/action_recipient/configuration.rb', line 7
def config
@config ||= Configuration.new
end
|
3
4
5
|
# File 'lib/action_recipient/configuration.rb', line 3
def configure &block
block.call config
end
|
.reset_config! ⇒ Object
11
12
13
|
# File 'lib/action_recipient/configuration.rb', line 11
def reset_config!
@config = nil
end
|