Class: Dnsimple::Struct::OauthToken
- Defined in:
- lib/dnsimple/struct/oauth_token.rb
Instance Attribute Summary collapse
-
#access_token ⇒ String
The token you can use to authenticate.
-
#account_id ⇒ Integer
The account ID in DNSimple this token belongs to.
-
#scope ⇒ String
The token scope (not used for now).
-
#token_type ⇒ String
The token type.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#access_token ⇒ String
Returns The token you can use to authenticate.
8 9 10 |
# File 'lib/dnsimple/struct/oauth_token.rb', line 8 def access_token @access_token end |
#account_id ⇒ Integer
Returns The account ID in DNSimple this token belongs to.
17 18 19 |
# File 'lib/dnsimple/struct/oauth_token.rb', line 17 def account_id @account_id end |
#scope ⇒ String
Returns The token scope (not used for now).
14 15 16 |
# File 'lib/dnsimple/struct/oauth_token.rb', line 14 def scope @scope end |
#token_type ⇒ String
Returns The token type.
11 12 13 |
# File 'lib/dnsimple/struct/oauth_token.rb', line 11 def token_type @token_type end |