class Authlete::Model::Response::TokenUpdateResponse
Attributes
accessToken[RW]
accessTokenExpiresAt[RW]
access_token[RW]
access_token=[RW]
access_token_expires_at[RW]
access_token_expires_at=[RW]
action[RW]
properties[RW]
scopes[RW]
tokenType[RW]
token_type[RW]
token_type=[RW]
Private Instance Methods
defaults()
click to toggle source
Calls superclass method
Authlete::Model::Result#defaults
# File lib/authlete/model/response/token-update-response.rb, line 43 def defaults super.merge( action: nil, accessToken: nil, tokenType: nil, accessTokenExpiresAt: 0, scopes: nil, properties: nil ) end
set_params(hash)
click to toggle source
Calls superclass method
Authlete::Model::Result#set_params
# File lib/authlete/model/response/token-update-response.rb, line 54 def set_params(hash) super(hash) @action = hash[:action] @accessToken = hash[:accessToken] @tokenType = hash[:tokenType] @accessTokenExpiresAt = hash[:accessTokenExpiresAt] @scopes = hash[:scopes] @properties = get_parsed_array(hash[:properties]) { |e| Authlete::Model::Property.parse(e) } end