Sha256: 2fd712ddcabc4438f595320d2a41040e645ff92e717b8abfa0869fc09b565d88

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 Bytes

Contents

module Clever
  # Section resource
  class Section < APIResource
    include Clever::APIOperations::List
    @linked_resources = [:teachers, :students, :schools, :districts, :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

2 entries across 2 versions & 1 rubygems

Version Path
clever-ruby-0.6.2 lib/clever-ruby/section.rb
clever-ruby-0.6.1 lib/clever-ruby/section.rb