lib/great_schools/school.rb in great_schools-0.1.2 vs lib/great_schools/school.rb in great_schools-0.2.0

- old
+ new

@@ -1,12 +1,13 @@ module GreatSchools # :nodoc: # = GreatSchools School class School < Model attr_accessor :id, :name, :type, :grade_range, :enrollment, :district_id, :district, :district_nces_id, :nces_id attr_accessor :city, :state, :address, :phone, :fax, :website, :latitude, :longitude - attr_accessor :overview_link, :ratings_link, :reviews_link, :parent_reviews, :parent_rating + attr_accessor :overview_link, :ratings_link, :reviews_link, :school_stats_link, :parent_reviews, :rating, :parent_rating alias_method :gs_id=, :id= + alias_method :gs_rating=, :rating= alias_method :lat=, :latitude= alias_method :lon=, :longitude= class << self # Class methods # Returns a list of schools in a city.