class Authlete::Model::Response::ClientListResponse

Attributes

clients[RW]
developer[RW]
end[RW]
start[RW]
totalCount[RW]
total_count[RW]
total_count=[RW]

Private Instance Methods

defaults() click to toggle 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
set_params(hash) click to toggle 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