Sha256: 14df07e7704dcb37d425bddabec8b8c9ea3348238aaa24d30f1e61a68f09f5b8

Contents?: true

Size: 434 Bytes

Versions: 4

Compression:

Stored size: 434 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
clever-ruby-0.14.0 lib/clever-ruby/teacher.rb
clever-ruby-0.13.2 lib/clever-ruby/teacher.rb
clever-ruby-0.13.1 lib/clever-ruby/teacher.rb
clever-ruby-0.13.0 lib/clever-ruby/teacher.rb