Sha256: c3c09cd7abc08236ce96a5a3c3f5a8c1243db42c623f66e2fd1a0e5c0ed7bf39

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 Bytes

Contents

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

    # Optional attributes
    # @see Clever::CleverObject.optional_attributes
    # @api private
    # @return [Array]
    def optional_attributes
      [:state_id, :sis_id, :nces_id, :low_grade, :high_grade, :principal, :location, :phone]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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