Class: Auth::Lh::LoginAttempt

Inherits:
Object
  • Object
show all
Defined in:
lib/auth/lh/login_attempt.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#tokenObject

Returns the value of attribute token.



4
5
6
# File 'lib/auth/lh/login_attempt.rb', line 4

def token
  @token
end