Class: Idnow::Login
- Inherits:
-
Object
- Object
- Idnow::Login
- Defined in:
- lib/idnow/models/login.rb
Instance Attribute Summary collapse
-
#auth_token ⇒ Object
Returns the value of attribute auth_token.
Instance Method Summary collapse
-
#initialize(data) ⇒ Login
constructor
A new instance of Login.
Constructor Details
#initialize(data) ⇒ Login
Returns a new instance of Login.
7 8 9 |
# File 'lib/idnow/models/login.rb', line 7 def initialize(data) @auth_token = data['authToken'] end |
Instance Attribute Details
#auth_token ⇒ Object
Returns the value of attribute auth_token.
5 6 7 |
# File 'lib/idnow/models/login.rb', line 5 def auth_token @auth_token end |