Class: Inthegra::AuthToken
- Defined in:
- lib/inthegra/model/auth_token.rb
Instance Attribute Summary collapse
-
#expires_in ⇒ Time
readonly
Time when the token expire.
-
#token ⇒ String
readonly
The auth token.
Method Summary
Methods inherited from BaseModel
Constructor Details
This class inherits a constructor from Inthegra::BaseModel
Instance Attribute Details
#expires_in ⇒ Time (readonly)
Returns time when the token expire.
8 9 10 |
# File 'lib/inthegra/model/auth_token.rb', line 8 def expires_in @expires_in end |
#token ⇒ String (readonly)
Returns the auth token.
5 6 7 |
# File 'lib/inthegra/model/auth_token.rb', line 5 def token @token end |