Sha256: 1be47489a24af79caa3a7fefaf4982755d450450b0278ca2d92eedee9db8f46c

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

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

    # Optional attributes
    # @see Clever::CleverObject.optional_attributes
    # @api private
    # @return [Array]
    def optional_attributes
      [:email, :teacher_number, :title]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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