Class: Increase::Models::OAuthToken
- Defined in:
- lib/increase/models/oauth_token.rb
Instance Attribute Summary collapse
-
#access_token ⇒ String
You may use this token in place of an API key to make OAuth requests on a user's behalf.
-
#token_type ⇒ Symbol
The type of OAuth token.
-
#type ⇒ Symbol
A constant representing the object's type.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#access_token ⇒ String
You may use this token in place of an API key to make OAuth requests on a user's behalf.
9 |
# File 'lib/increase/models/oauth_token.rb', line 9 required :access_token, String |
#token_type ⇒ Symbol
The type of OAuth token.
14 |
# File 'lib/increase/models/oauth_token.rb', line 14 required :token_type, Increase::Enum.new(:bearer) |
#type ⇒ Symbol
A constant representing the object's type. For this resource it will always be oauth_token
.
19 |
# File 'lib/increase/models/oauth_token.rb', line 19 required :type, Increase::Enum.new(:oauth_token) |