Sha256: 3bf0eac068b7ec662dee33b6c376cfb2f3f4373666891f4d98dcb5e4f444ff37
Contents?: true
Size: 431 Bytes
Versions: 16
Compression:
Stored size: 431 Bytes
Contents
# frozen_string_literal: true module DocumentExporter module Gdoc class StudentMaterial < Gdoc::Base FOLDER_NAME = 'Student Materials' def export return gdoc_folder unless @options[:excludes].present? scope = @document.student_materials material_ids = scope.where(id: included_materials(context_type: :gdoc)).pluck(:id) gdoc_folder_tmp(material_ids) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems