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, ConfirmationsController, 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.
19 20 21 |
# File 'lib/blue_light_special/configuration.rb', line 19 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
Configure BlueLightSpecial someplace sensible, like config/initializers/blue_light_special.rb
30 31 32 33 |
# File 'lib/blue_light_special/configuration.rb', line 30 def self.configure self.configuration ||= Configuration.new yield(configuration) end |