Module: AARRR
- Defined in:
- lib/aarrr.rb,
lib/aarrr/config.rb,
lib/aarrr/session.rb,
lib/aarrr/middleware.rb
Defined Under Namespace
Modules: Config Classes: Middleware, Session
Class Method Summary collapse
-
.configure ⇒ Config
(also: config)
Sets the Mongoid configuration options.
Class Method Details
.configure ⇒ Config Also known as: config
Sets the Mongoid configuration options. Best used by passing a block.
43 44 45 46 |
# File 'lib/aarrr.rb', line 43 def configure config = AARRR::Config block_given? ? yield(config) : config end |