Class: DeviantArt::AuthorizationCode::AccessToken

Inherits:
Base
  • Object
show all
Defined in:
lib/deviantart/authorization_code/access_token.rb

Overview

Access token class for authorization code grant

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#initialize, point_to_class, points_class_mapping, #to_s

Constructor Details

This class inherits a constructor from DeviantArt::Base

Instance Attribute Details

#access_tokenObject

Returns the value of attribute access_token.



7
8
9
# File 'lib/deviantart/authorization_code/access_token.rb', line 7

def access_token
  @access_token
end

#expires_inObject

Returns the value of attribute expires_in.



7
8
9
# File 'lib/deviantart/authorization_code/access_token.rb', line 7

def expires_in
  @expires_in
end

#refresh_tokenObject

Returns the value of attribute refresh_token.



7
8
9
# File 'lib/deviantart/authorization_code/access_token.rb', line 7

def refresh_token
  @refresh_token
end

#scopeObject

Returns the value of attribute scope.



7
8
9
# File 'lib/deviantart/authorization_code/access_token.rb', line 7

def scope
  @scope
end

#statusObject

Returns the value of attribute status.



7
8
9
# File 'lib/deviantart/authorization_code/access_token.rb', line 7

def status
  @status
end

#token_typeObject

Returns the value of attribute token_type.



7
8
9
# File 'lib/deviantart/authorization_code/access_token.rb', line 7

def token_type
  @token_type
end