Class: PeopleDoc::Token
- Inherits:
-
Object
- Object
- PeopleDoc::Token
- Defined in:
- lib/people_doc.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#expires_in ⇒ Object
Returns the value of attribute expires_in.
-
#token_type ⇒ Object
Returns the value of attribute token_type.
Instance Method Summary collapse
-
#initialize(access_token, token_type, expires_in) ⇒ Token
constructor
A new instance of Token.
Constructor Details
#initialize(access_token, token_type, expires_in) ⇒ Token
Returns a new instance of Token.
33 34 35 36 37 |
# File 'lib/people_doc.rb', line 33 def initialize(access_token, token_type, expires_in) @access_token = access_token @token_type = token_type @expires_in = expires_in end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
31 32 33 |
# File 'lib/people_doc.rb', line 31 def access_token @access_token end |
#expires_in ⇒ Object
Returns the value of attribute expires_in.
31 32 33 |
# File 'lib/people_doc.rb', line 31 def expires_in @expires_in end |
#token_type ⇒ Object
Returns the value of attribute token_type.
31 32 33 |
# File 'lib/people_doc.rb', line 31 def token_type @token_type end |