Module: Clearance
- Defined in:
- lib/clearance/user.rb,
lib/clearance/routes.rb,
lib/clearance/configuration.rb,
lib/clearance/authentication.rb
Defined Under Namespace
Modules: Authentication, User Classes: Configuration, ConfirmationsController, FacebookController, PasswordsController, Routes, SessionsController, UsersController
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
-
.configure {|configuration| ... } ⇒ Object
Configure Clearance someplace sensible, like config/initializers/clearance.rb.
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
11 12 13 |
# File 'lib/clearance/configuration.rb', line 11 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
Configure Clearance someplace sensible, like config/initializers/clearance.rb
21 22 23 24 |
# File 'lib/clearance/configuration.rb', line 21 def self.configure self.configuration ||= Configuration.new yield(configuration) end |