Class: NoPassword::Verification
- Defined in:
- app/models/nopassword/verification.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#data ⇒ Object
Returns the value of attribute data.
-
#salt ⇒ Object
Returns the value of attribute salt.
Instance Method Summary collapse
Methods inherited from Model
Constructor Details
This class inherits a constructor from NoPassword::Model
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
16 17 18 |
# File 'app/models/nopassword/verification.rb', line 16 def code @code end |
#data ⇒ Object
Returns the value of attribute data.
22 23 24 |
# File 'app/models/nopassword/verification.rb', line 22 def data @data end |
#salt ⇒ Object
Returns the value of attribute salt.
13 14 15 |
# File 'app/models/nopassword/verification.rb', line 13 def salt @salt end |
Instance Method Details
#has_incorrect_code? ⇒ Boolean
28 29 30 |
# File 'app/models/nopassword/verification.rb', line 28 def has_incorrect_code? not has_authentic_code? end |