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