Class: Stratagem::Instrumentation::Models::Authentication::Authlogic::Metadata
- Inherits:
-
Object
- Object
- Stratagem::Instrumentation::Models::Authentication::Authlogic::Metadata
- Defined in:
- lib/stratagem/instrumentation/models/authentication/authlogic/metadata.rb
Overview
prefix method names with to avoid collision
Constant Summary collapse
- VIRTUAL_COLUMNS =
[:password, :password_confirmation]
Instance Method Summary collapse
- #attribute_names ⇒ Object
- #attribute_type(name) ⇒ Object
- #authenticates? ⇒ Boolean
-
#initialize(model) ⇒ Metadata
constructor
A new instance of Metadata.
- #internal_attributes ⇒ Object
Constructor Details
#initialize(model) ⇒ Metadata
Returns a new instance of Metadata.
11 12 13 |
# File 'lib/stratagem/instrumentation/models/authentication/authlogic/metadata.rb', line 11 def initialize(model) @model = model end |
Instance Method Details
#attribute_names ⇒ Object
15 16 17 |
# File 'lib/stratagem/instrumentation/models/authentication/authlogic/metadata.rb', line 15 def attribute_names VIRTUAL_COLUMNS end |
#attribute_type(name) ⇒ Object
23 24 25 |
# File 'lib/stratagem/instrumentation/models/authentication/authlogic/metadata.rb', line 23 def attribute_type(name) :string end |
#authenticates? ⇒ Boolean
7 8 9 |
# File 'lib/stratagem/instrumentation/models/authentication/authlogic/metadata.rb', line 7 def authenticates? true end |
#internal_attributes ⇒ Object
19 20 21 |
# File 'lib/stratagem/instrumentation/models/authentication/authlogic/metadata.rb', line 19 def internal_attributes [:crypted_password, :password_salt] end |