Class: Inthegra::AuthToken

Inherits:
BaseModel show all
Defined in:
lib/inthegra/model/auth_token.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#initialize

Constructor Details

This class inherits a constructor from Inthegra::BaseModel

Instance Attribute Details

#expires_inTime (readonly)

Returns time when the token expire.

Returns:

  • (Time)

    time when the token expire



8
9
10
# File 'lib/inthegra/model/auth_token.rb', line 8

def expires_in
  @expires_in
end

#tokenString (readonly)

Returns the auth token.

Returns:

  • (String)

    the auth token



5
6
7
# File 'lib/inthegra/model/auth_token.rb', line 5

def token
  @token
end