Class: AuthLh::LoginAttempt
- Inherits:
-
Object
- Object
- AuthLh::LoginAttempt
- Defined in:
- lib/auth_lh/login_attempt.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ LoginAttempt
constructor
A new instance of LoginAttempt.
Constructor Details
#initialize(attributes = {}) ⇒ LoginAttempt
Returns a new instance of LoginAttempt.
5 6 7 8 9 |
# File 'lib/auth_lh/login_attempt.rb', line 5 def initialize(attributes={}) attributes.each do |k,v| self.send("#{k}=", v) end end |
Instance Attribute Details
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/auth_lh/login_attempt.rb', line 3 def token @token end |