Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating tour request routes.

  • Loading branch information...
commit 087caa5dccbc82be15dfc74fc11f9b7d8dc70d4e 1 parent c11dd7a
@waratuman waratuman authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/mls/models/tour_request.rb
  2. +1 −1  mls.gemspec
View
4 lib/mls/models/tour_request.rb
@@ -32,8 +32,8 @@ def decline(agent, reasons=nil)
end
end
- def mark_viewed(agent)
- MLS.post("/tour_requests/#{token}/mark_viewed", {:agent_id => agent.id}) do |response, code|
+ def view(agent)
+ MLS.post("/tour_requests/#{token}/view", {:agent_id => agent.id}) do |response, code|
return code == 200
end
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.3.6'
+ s.version = '0.3.7'
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.