Class: Croudia::AccessToken
Instance Attribute Summary collapse
-
#access_token ⇒ Object
(also: #token, #to_s)
readonly
Returns the value of attribute access_token.
-
#expires_in ⇒ Object
readonly
Returns the value of attribute expires_in.
-
#refresh_token ⇒ Object
readonly
Returns the value of attribute refresh_token.
-
#token_type ⇒ Object
readonly
Returns the value of attribute token_type.
Method Summary
Methods inherited from Base
#[], attr_object_reader, attr_reader, #attrs, #initialize, #inspect
Constructor Details
This class inherits a constructor from Croudia::Base
Instance Attribute Details
#access_token ⇒ Object (readonly) Also known as: token, to_s
Returns the value of attribute access_token.
5 6 7 |
# File 'lib/croudia/access_token.rb', line 5 def access_token @access_token end |
#expires_in ⇒ Object (readonly)
Returns the value of attribute expires_in.
5 6 7 |
# File 'lib/croudia/access_token.rb', line 5 def expires_in @expires_in end |
#refresh_token ⇒ Object (readonly)
Returns the value of attribute refresh_token.
5 6 7 |
# File 'lib/croudia/access_token.rb', line 5 def refresh_token @refresh_token end |
#token_type ⇒ Object (readonly)
Returns the value of attribute token_type.
5 6 7 |
# File 'lib/croudia/access_token.rb', line 5 def token_type @token_type end |