lib/clever-ruby/school.rb in clever-ruby-0.6.0 vs lib/clever-ruby/school.rb in clever-ruby-0.6.1
- old
+ new
@@ -2,9 +2,13 @@
# 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