tourets 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,6 +8,7 @@ module TouRETS
8
8
  # Default it to return all of the photos.
9
9
  def find(sysid, opts={})
10
10
  limit = opts[:id] || "*"
11
+ resource = opts[:resource] || :Property
11
12
  [].tap do |photos|
12
13
  TouRETS.current_connection.get_object(:resource => opts[:resource], :type => :Photo, :location => false, :id => "#{sysid}:#{limit}") do |headers, content|
13
14
  photos << new(headers, content)
@@ -1,6 +1,6 @@
1
1
  module TouRETS
2
2
  module Rails
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
 
5
5
  end
6
6
  end
@@ -103,7 +103,7 @@ module TouRETS
103
103
  :year_round_school => "216", #String
104
104
  :buyer_agentcode => "218", #String
105
105
  :sewer => "219", #String
106
- # #Loft => "231", #Integer
106
+ :loft_number => "231", #Integer
107
107
  :has_spa => "236", #Boolean
108
108
  :living_area_size => "237", #Integer
109
109
  :listing_status => "242", #String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tourets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-17 00:00:00.000000000 Z
13
+ date: 2012-11-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ruby-rets
@@ -117,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  segments:
119
119
  - 0
120
- hash: -615199931025625643
120
+ hash: 2046659078638465462
121
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  none: false
123
123
  requirements:
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  segments:
128
128
  - 0
129
- hash: -615199931025625643
129
+ hash: 2046659078638465462
130
130
  requirements: []
131
131
  rubyforge_project:
132
132
  rubygems_version: 1.8.24