Sha256: 8e09b3da9b0101a0d4cb6f591f4d133fcd8088509a560c89aaa6b2d0fb5e61dd
Contents?: true
Size: 386 Bytes
Versions: 9
Compression:
Stored size: 386 Bytes
Contents
module Enlight module Responses class SearchCourses < 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::Course.new(v))} else @results = nil end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems