Class: Auth::Lh::LoginAttempt
- Inherits:
-
Object
- Object
- Auth::Lh::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.
6 7 8 9 10 |
# File 'lib/auth/lh/login_attempt.rb', line 6 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.
4 5 6 |
# File 'lib/auth/lh/login_attempt.rb', line 4 def token @token end |