Skip to content
Browse files

Removing the MLS::Listing::calculate function.

  • Loading branch information...
1 parent 4d6094b commit b50d83c82a8dc9470ded2002d2372cac9bb0dd07 @waratuman waratuman committed Oct 23, 2013
Showing with 1 addition and 6 deletions.
  1. +0 −5 lib/mls/models/listing.rb
  2. +1 −1 mls.gemspec
View
5 lib/mls/models/listing.rb
@@ -343,11 +343,6 @@ def import(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
View
2 mls.gemspec
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
Gem::Specification.new do |s|
s.name = "mls"
- s.version = '0.10.1'
+ s.version = '0.10.2'
s.authors = ["James R. Bracy", "Jon Bracy"]
s.email = ["james@42floors.com"]
s.homepage = "http://mls.42floors.com"

0 comments on commit b50d83c

Please sign in to comment.
Something went wrong with that request. Please try again.