lib/mls/models/listing.rb in mls-0.9.9 vs lib/mls/models/listing.rb in mls-0.11.0

- old
+ new

@@ -341,14 +341,9 @@ def import(attrs) model = self.new(attrs) {:status => model.import, :model => model} end - def calculate(filters = {}, operation = nil, column = nil, group = nil) - response = MLS.get("/listings/calculate", :filters => filters, :operation => operation, :column => column, :group => group) - MLS::Parser.extract_attributes(response.body)[:listings] - end - def amenities @amenities ||= Yajl::Parser.new.parse(MLS.get('/listings/amenities').body).map(&:to_sym) end end