Sha256: 0cbae0b637b6c7b6010394547025fdc243f8feeef1f1a0a9e27ff750535d3557

Contents?: true

Size: 485 Bytes

Versions: 4

Compression:

Stored size: 485 Bytes

Contents

module Clever
  # Section resource
  class Section < APIResource
    include Clever::APIOperations::List
    @uri = 'sections'
    @plural = 'sections'
    @linked_resources = [:school, :district, :students, :teacher, :events]

    # Optional attributes
    # @see Clever::CleverObject.optional_attributes
    # @api private
    # @return [Array]
    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.14.0 lib/clever-ruby/section.rb
clever-ruby-0.13.2 lib/clever-ruby/section.rb
clever-ruby-0.13.1 lib/clever-ruby/section.rb
clever-ruby-0.13.0 lib/clever-ruby/section.rb