Permalink
Browse files

Removing / deprecating functions that should never be used.

  • Loading branch information...
1 parent 6c137bf commit 32573003fd7c8f447ad101728f5b5d1e79479c86 @waratuman waratuman committed May 23, 2013
Showing with 6 additions and 5 deletions.
  1. +5 −4 lib/mls/models/listing.rb
  2. +1 −1 mls.gemspec
@@ -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
@@ -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"

0 comments on commit 3257300

Please sign in to comment.