Module: Headstart
- Defined in:
- lib/headstart/user.rb,
lib/headstart/routes.rb,
lib/headstart/configuration.rb,
lib/headstart/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 Headstart someplace sensible, like config/initializers/headstart.rb.
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
22 23 24 |
# File 'lib/headstart/configuration.rb', line 22 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
Configure Headstart someplace sensible, like config/initializers/headstart.rb
33 34 35 36 |
# File 'lib/headstart/configuration.rb', line 33 def self.configure self.configuration ||= Configuration.new yield(configuration) end |