Sha256: 0b255fa3107f6e4447a32687ea2c3a3e4eafe5e9ca15fd3f6ddab1e5c9e405f6
Contents?: true
Size: 599 Bytes
Versions: 9
Compression:
Stored size: 599 Bytes
Contents
module Enlight module Responses class SearchClassEnrollments < Enlight::Responses::Response include Enlight::Responses::Pageable # TODO double check if LOD actually passes this value instead of results.. documentation might be wrong def class_enrollment_search_results=(value) results = value end def results=(value) if value.instance_of?(Array) && value.any? @results = [] value.each {|v| @results.append(Enlight::Models::ClassEnrollment.new(v))} else @results = nil end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems