Sha256: 7696c0b42f7ebefd2eb44b49c437502e9873e14a1364c801449c28da606ae851

Contents?: true

Size: 440 Bytes

Versions: 8

Compression:

Stored size: 440 Bytes

Contents

module Clever
  # School resource
  class School < APIResource
    include Clever::APIOperations::List
    @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

8 entries across 8 versions & 1 rubygems

Version Path
clever-ruby-0.11.1 lib/clever-ruby/school.rb
clever-ruby-0.11.0 lib/clever-ruby/school.rb
clever-ruby-0.10.2 lib/clever-ruby/school.rb
clever-ruby-0.10.1 lib/clever-ruby/school.rb
clever-ruby-0.10.0 lib/clever-ruby/school.rb
clever-ruby-0.9.0 lib/clever-ruby/school.rb
clever-ruby-0.8.0 lib/clever-ruby/school.rb
clever-ruby-0.7.0 lib/clever-ruby/school.rb