class Authlete::Model::Response::ClientListResponse
Attributes
Private Instance Methods
Source
# File lib/authlete/model/response/client-list-response.rb, line 38 def defaults { start: 0, end: 0, developer: nil, totalCount: 0, clients: nil } end
Source
# File lib/authlete/model/response/client-list-response.rb, line 48 def set_params(hash) @start = hash[:start] @end = hash[:end] @developer = hash[:developer] @totalCount = hash[:totalCount] @clients = get_parsed_array(hash[:clients]) { |e| Authlete::Model::Client.parse(e) } end