mls 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mls/models/tour.rb +4 -2
  3. data/mls.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0259bdcabcd9435ebe44c1003bfc636500429d9
4
- data.tar.gz: 7b100fc2e8b099f2dc104435874d7c223a152050
3
+ metadata.gz: 73e34e22af2b020d24f956face96877cac426814
4
+ data.tar.gz: 6a2c9ed4eaf88226c90fea0c5953bd59135c36fc
5
5
  SHA512:
6
- metadata.gz: 012dbb4b8421a324a42452356dd1f16017235f0b2aeb2e81f1856a2b95e8b96c2e46b8b5be7792ce8b83acf7f363ca01d3d03c93f0012764833ac80d85bf3aad
7
- data.tar.gz: 485cc3ccc57724a2000c041dd4b026bc6ef6d5b8f567e80340b02189e53d9670b87d58b045b71f4a13d614c0f0b13c16e6f780af483c42b80884e928faaf0880
6
+ metadata.gz: 6fe9b9b23cd9ca53379a20a57e1776c7158599e62781a123ce2d03cc100a196fe8d0ff4730f95db5bae5e6ec79e6d431920e069d19a1b4580d5b91334f4e5e68
7
+ data.tar.gz: 1e04f8028fae488bbaa7778e0127100986f120b41a9d57986ebc0b5d790111954ba68ea84cfcf8acba95410e31f91ad780fe9feb31d71eeb745d2403a9945873
@@ -13,11 +13,13 @@ class MLS::Tour < MLS::Resource
13
13
  attr_accessor :client, :listing
14
14
 
15
15
  def claim(agent)
16
+ self.agent_id = agent.id
16
17
  MLS.post("/tours/#{token}/claim", {:agent_id => agent.id})
17
18
  end
18
19
 
19
- def decline(comments=nil)
20
- MLS.post("/tours/#{token}/decline", {:agent_comments => reasons})
20
+ def decline(notes=nil)
21
+ self.agent_comments = notes
22
+ MLS.post("/tours/#{token}/decline", {:agent_comments => notes})
21
23
  end
22
24
 
23
25
  def view
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mls"
6
- s.version = '0.5.1'
6
+ s.version = '0.5.2'
7
7
  s.authors = ["James R. Bracy", "Jon Bracy"]
8
8
  s.email = ["james@42floors.com"]
9
9
  s.homepage = "http://mls.42floors.com"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James R. Bracy