Module: BlueLightSpecial
- Defined in:
- lib/blue_light_special/user.rb,
lib/blue_light_special/routes.rb,
lib/blue_light_special/configuration.rb,
lib/blue_light_special/authentication.rb
Defined Under Namespace
Modules: Authentication, User Classes: Configuration, ImpersonationsController, PasswordsController, Routes, SessionsController, UsersController
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
-
.configure {|configuration| ... } ⇒ Object
Configure BlueLightSpecial someplace sensible, like config/initializers/blue_light_special.rb.
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
17 18 19 |
# File 'lib/blue_light_special/configuration.rb', line 17 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
Configure BlueLightSpecial someplace sensible, like config/initializers/blue_light_special.rb
28 29 30 31 |
# File 'lib/blue_light_special/configuration.rb', line 28 def self.configure self.configuration ||= Configuration.new yield(configuration) end |