module Enlight module Responses class SearchCourseExternalActivityLaunches < 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::CourseExternalActivityLaunch.new(v))} else @results = nil end end end end end