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