Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing / deprecating functions that should never be used.

  • Loading branch information...
commit 32573003fd7c8f447ad101728f5b5d1e79479c86 1 parent 6c137bf
@waratuman waratuman authored
Showing with 6 additions and 5 deletions.
  1. +5 −4 lib/mls/models/listing.rb
  2. +1 −1  mls.gemspec
View
9 lib/mls/models/listing.rb
@@ -205,18 +205,19 @@ def import #TODO test me
result
end
- def url
- "#{address.url}/#{id}"
- end
-
+ # TODO: Remove
def all_photos
+ warn "Listing#all_photos is deprecated"
photos + address.photos
end
+ # TODO: Remove
def all_videos
+ warn "Listing#all_videos is deprecated"
videos + address.videos
end
+ # TODO: Remove / What does this function do?
def amenities
MLS.listing_amenities
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.2.53'
+ s.version = '0.2.54'
s.authors = ["James R. Bracy", "Jon Bracy"]
s.email = ["james@42floors.com"]
s.homepage = "http://mls.42floors.com"
Please sign in to comment.
Something went wrong with that request. Please try again.