class Authlete::Model::Response::GrantedScopesGetResponse
Attributes
Private Instance Methods
Source
# File lib/authlete/model/response/granted-scopes-get-response.rb, line 47 def defaults super.merge( serviceApiKey: nil, clientId: 0, subject: nil, latestGrantedScopes: nil, mergedGrantedScopes: nil, modifiedAt: 0 ) end
Calls superclass method
Authlete::Model::Result#defaults
Source
# File lib/authlete/model/response/granted-scopes-get-response.rb, line 58 def set_params(hash) super(hash) @serviceApiKey = hash[:serviceApiKey] @clientId = hash[:clientId] @subject = hash[:subject] @latestGrantedScopes = hash[:latestGrantedScopes] @mergedGrantedScopes = hash[:mergedGrantedScopes] @modifiedAt = hash[:modifiedAt] end
Calls superclass method
Authlete::Model::Result#set_params