Sha256: ab0b0c3edede983c7d53c707043c514992db15a80b27474d69e6dc12d2d79fd9
Contents?: true
Size: 382 Bytes
Versions: 9
Compression:
Stored size: 382 Bytes
Contents
module Enlight module Responses class SearchClubs < Enlight::Responses::Response include Enlight::Responses::Pageable def results=(value) if value.instance_of?(Array) && value.any? @results = [] value.each {|v| @results.append(Enlight::Models::Club.new(v))} else @results = nil end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems