Skip to content

Commit

Permalink
Removing / deprecating functions that should never be used.
Browse files Browse the repository at this point in the history
  • Loading branch information
waratuman committed May 23, 2013
1 parent 6c137bf commit 3257300
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions lib/mls/models/listing.rb
Expand Up @@ -205,18 +205,19 @@ def import #TODO test me
result result
end end


def url # TODO: Remove
"#{address.url}/#{id}"
end

def all_photos def all_photos
warn "Listing#all_photos is deprecated"
photos + address.photos photos + address.photos
end end


# TODO: Remove
def all_videos def all_videos
warn "Listing#all_videos is deprecated"
videos + address.videos videos + address.videos
end end


# TODO: Remove / What does this function do?
def amenities def amenities
MLS.listing_amenities MLS.listing_amenities
end end
Expand Down
2 changes: 1 addition & 1 deletion mls.gemspec
Expand Up @@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)


Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "mls" s.name = "mls"
s.version = '0.2.53' s.version = '0.2.54'
s.authors = ["James R. Bracy", "Jon Bracy"] s.authors = ["James R. Bracy", "Jon Bracy"]
s.email = ["james@42floors.com"] s.email = ["james@42floors.com"]
s.homepage = "http://mls.42floors.com" s.homepage = "http://mls.42floors.com"
Expand Down

0 comments on commit 3257300

Please sign in to comment.