Sha256: 23eced12609cb4f0851c193a91ca94a1f8517189578a988d87be4e0b4c917304

Contents?: true

Size: 485 Bytes

Versions: 4

Compression:

Stored size: 485 Bytes

Contents

module Clever
  # School resource
  class School < APIResource
    include Clever::APIOperations::List
    @uri = 'schools'
    @plural = 'schools'
    @linked_resources = [:students, :district, :sections, :teachers, :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

4 entries across 4 versions & 1 rubygems

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