tourets 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tourets/photo.rb +1 -0
- data/lib/tourets/rails/version.rb +1 -1
- data/lib/tourets/utilities.rb +1 -1
- metadata +4 -4
data/lib/tourets/photo.rb
CHANGED
@@ -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)
|
data/lib/tourets/utilities.rb
CHANGED
@@ -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
|
-
|
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.
|
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-
|
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:
|
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:
|
129
|
+
hash: 2046659078638465462
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project:
|
132
132
|
rubygems_version: 1.8.24
|