Sha256: f2cb99ef9e9d40c9d8973f222faa73341d23a92bf69a6d027e2b79e98b34a13b

Contents?: true

Size: 322 Bytes

Versions: 4

Compression:

Stored size: 322 Bytes

Contents

module Clever
  # Section resource
  class Section < APIResource
    include Clever::APIOperations::List
    @linked_resources = [:teachers, :students, :schools, :districts, :events]

    def optional_attributes
      [:teacher, :course_name, :course_description, :course_number, :period, :grade, :term]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
clever-ruby-0.6.0 lib/clever-ruby/section.rb
clever-ruby-0.5.0 lib/clever-ruby/section.rb
clever-ruby-0.4.1 lib/clever-ruby/section.rb
clever-ruby-0.4.0 lib/clever-ruby/section.rb