lib/mls/models/listing.rb in mls-0.2.53 vs lib/mls/models/listing.rb in mls-0.2.54
- old
+ new
@@ -203,21 +203,22 @@
MLS::Listing::Parser.update(self, response.body)
end
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
def similar