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.
7 8 9 |
# File 'lib/dnsimple/struct/oauth_token.rb', line 7 def access_token @access_token end |
#account_id ⇒ Integer
Returns The account ID in DNSimple this token belongs to.
16 17 18 |
# File 'lib/dnsimple/struct/oauth_token.rb', line 16 def account_id @account_id end |
#scope ⇒ String
Returns The token scope (not used for now).
13 14 15 |
# File 'lib/dnsimple/struct/oauth_token.rb', line 13 def scope @scope end |
#token_type ⇒ String
Returns The token type.
10 11 12 |
# File 'lib/dnsimple/struct/oauth_token.rb', line 10 def token_type @token_type end |