Class: Authlete::Model::Response::AuthorizedClientListResponse

Inherits:
ClientListResponse show all
Defined in:
lib/authlete/model/response/authorized-client-list-response.rb

Instance Attribute Summary collapse

Attributes inherited from ClientListResponse

#clients, #developer, #end, #start, #totalCount

Instance Method Summary collapse

Methods included from Utility

#extract_access_token, #get_parsed_array, #to_rack_response_json, #to_rack_response_www_authenticate

Methods inherited from Base

parse

Instance Attribute Details

#subjectObject

Returns the value of attribute subject.



23
24
25
# File 'lib/authlete/model/response/authorized-client-list-response.rb', line 23

def subject
  @subject
end

Instance Method Details

#defaultsObject



25
26
27
# File 'lib/authlete/model/response/authorized-client-list-response.rb', line 25

def defaults
  super.merge(subject: nil)
end

#set_params(hash) ⇒ Object



29
30
31
32
33
# File 'lib/authlete/model/response/authorized-client-list-response.rb', line 29

def set_params(hash)
  super(hash)

  @subject = hash[:subject]
end