class Enlight::Responses::SearchCourseCatalogSearchHistory

Public Instance Methods

results=(value) click to toggle source
# File lib/enlight/responses/search_course_catalog_search_history.rb, line 6
def results=(value)
  if value.instance_of?(Array) && value.any?
    @results = []
    value.each {|v| @results.append(Enlight::Models::CourseCatalogSearchHistory.new(v))}
  else
    @results = nil
  end
end