spark_api 1.3.6 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/spark_api/models/idx_link.rb +5 -0
- data/lib/spark_api/request.rb +1 -2
- data/spec/fixtures/idx_links/get.json +16 -0
- data/spec/fixtures/no_results.json +6 -0
- data/spec/unit/spark_api/models/idx_link_spec.rb +28 -0
- metadata +335 -329
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.9
|
@@ -27,6 +27,11 @@ module SparkApi
|
|
27
27
|
find(:last, *arguments)
|
28
28
|
end
|
29
29
|
|
30
|
+
def self.default(options = {})
|
31
|
+
response = connection.get("/#{self.element_name}/default", options).first
|
32
|
+
response.nil? ? nil : new(response)
|
33
|
+
end
|
34
|
+
|
30
35
|
private
|
31
36
|
|
32
37
|
def self.find_every(options)
|
data/lib/spark_api/request.rb
CHANGED
@@ -66,7 +66,6 @@ module SparkApi
|
|
66
66
|
request_opts.merge!(options)
|
67
67
|
request_path = "/#{version}#{path}"
|
68
68
|
start_time = Time.now
|
69
|
-
SparkApi.logger.debug("#{method.to_s.upcase} Request: #{request_path}")
|
70
69
|
if [:get, :delete, :head].include?(method.to_sym)
|
71
70
|
response = authenticator.request(method, request_path, nil, request_opts)
|
72
71
|
else
|
@@ -75,7 +74,7 @@ module SparkApi
|
|
75
74
|
response = authenticator.request(method, request_path, post_data, request_opts)
|
76
75
|
end
|
77
76
|
request_time = Time.now - start_time
|
78
|
-
SparkApi.logger.
|
77
|
+
SparkApi.logger.debug("[#{(request_time * 1000).to_i}ms] Api: #{method.to_s.upcase} #{request_path}")
|
79
78
|
rescue PermissionDenied => e
|
80
79
|
if(ResponseCodes::SESSION_TOKEN_EXPIRED == e.code)
|
81
80
|
unless (attempts +=1) > 1
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{
|
2
|
+
"D": {
|
3
|
+
"Success": true,
|
4
|
+
"Results": [
|
5
|
+
{
|
6
|
+
"ResourceUri": "/v1/idxlinks/20130610145525941067000000",
|
7
|
+
"LinkType":"QuickSearch",
|
8
|
+
"LinkId":"zq1fkiw4d3f",
|
9
|
+
"Uri":"http://link.dev.fbsdata.com/zq1fkiw4d3f,1",
|
10
|
+
"ResourceUri":"/v1/idxlinks/20130610145525941067000000",
|
11
|
+
"Name":"1 - Residential",
|
12
|
+
"Id":"20130610145525941067000000"
|
13
|
+
}
|
14
|
+
]
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe IdxLink do
|
4
|
+
|
5
|
+
before :each do
|
6
|
+
stub_auth_request
|
7
|
+
end
|
8
|
+
|
9
|
+
describe "/idxlinks/default" do
|
10
|
+
|
11
|
+
on_get_it "returns an agent's default idx link" do
|
12
|
+
s = stub_api_get("/idxlinks/default", "idx_links/get.json")
|
13
|
+
@idx_link = subject.class.default
|
14
|
+
@idx_link.should be_an(IdxLink)
|
15
|
+
@idx_link.Uri.should eq("http://link.dev.fbsdata.com/zq1fkiw4d3f,1")
|
16
|
+
s.should have_been_requested
|
17
|
+
end
|
18
|
+
|
19
|
+
on_get_it "returns nil if the user doesn't have one" do
|
20
|
+
s = stub_api_get("/idxlinks/default", "no_results.json")
|
21
|
+
@idx_link = subject.class.default
|
22
|
+
@idx_link.should be_nil
|
23
|
+
s.should have_been_requested
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spark_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 1.3.
|
9
|
+
- 9
|
10
|
+
version: 1.3.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brandon Hornseth
|
@@ -16,10 +16,9 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2013-
|
19
|
+
date: 2013-07-22 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
prerelease: false
|
23
22
|
type: :runtime
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
@@ -32,10 +31,10 @@ dependencies:
|
|
32
31
|
- 8
|
33
32
|
- 1
|
34
33
|
version: 0.8.1
|
35
|
-
name: faraday
|
36
34
|
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
35
|
prerelease: false
|
36
|
+
name: faraday
|
37
|
+
- !ruby/object:Gem::Dependency
|
39
38
|
type: :runtime
|
40
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
40
|
none: false
|
@@ -47,10 +46,10 @@ dependencies:
|
|
47
46
|
- 1
|
48
47
|
- 0
|
49
48
|
version: "1.0"
|
50
|
-
name: multi_json
|
51
49
|
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
50
|
prerelease: false
|
51
|
+
name: multi_json
|
52
|
+
- !ruby/object:Gem::Dependency
|
54
53
|
type: :runtime
|
55
54
|
requirement: &id003 !ruby/object:Gem::Requirement
|
56
55
|
none: false
|
@@ -62,10 +61,10 @@ dependencies:
|
|
62
61
|
- 1
|
63
62
|
- 7
|
64
63
|
version: "1.7"
|
65
|
-
name: json
|
66
64
|
version_requirements: *id003
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
65
|
prerelease: false
|
66
|
+
name: json
|
67
|
+
- !ruby/object:Gem::Dependency
|
69
68
|
type: :runtime
|
70
69
|
requirement: &id004 !ruby/object:Gem::Requirement
|
71
70
|
none: false
|
@@ -86,10 +85,10 @@ dependencies:
|
|
86
85
|
- 0
|
87
86
|
- 0
|
88
87
|
version: 4.0.0
|
89
|
-
name: builder
|
90
88
|
version_requirements: *id004
|
91
|
-
- !ruby/object:Gem::Dependency
|
92
89
|
prerelease: false
|
90
|
+
name: builder
|
91
|
+
- !ruby/object:Gem::Dependency
|
93
92
|
type: :runtime
|
94
93
|
requirement: &id005 !ruby/object:Gem::Requirement
|
95
94
|
none: false
|
@@ -111,10 +110,10 @@ dependencies:
|
|
111
110
|
- 0
|
112
111
|
- 0
|
113
112
|
version: 4.0.0
|
114
|
-
name: will_paginate
|
115
113
|
version_requirements: *id005
|
116
|
-
- !ruby/object:Gem::Dependency
|
117
114
|
prerelease: false
|
115
|
+
name: will_paginate
|
116
|
+
- !ruby/object:Gem::Dependency
|
118
117
|
type: :runtime
|
119
118
|
requirement: &id006 !ruby/object:Gem::Requirement
|
120
119
|
none: false
|
@@ -126,10 +125,10 @@ dependencies:
|
|
126
125
|
- 1
|
127
126
|
- 0
|
128
127
|
version: "1.0"
|
129
|
-
name: highline
|
130
128
|
version_requirements: *id006
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
129
|
prerelease: false
|
130
|
+
name: highline
|
131
|
+
- !ruby/object:Gem::Dependency
|
133
132
|
type: :development
|
134
133
|
requirement: &id007 !ruby/object:Gem::Requirement
|
135
134
|
none: false
|
@@ -142,10 +141,10 @@ dependencies:
|
|
142
141
|
- 9
|
143
142
|
- 2
|
144
143
|
version: 0.9.2
|
145
|
-
name: rake
|
146
144
|
version_requirements: *id007
|
147
|
-
- !ruby/object:Gem::Dependency
|
148
145
|
prerelease: false
|
146
|
+
name: rake
|
147
|
+
- !ruby/object:Gem::Dependency
|
149
148
|
type: :development
|
150
149
|
requirement: &id008 !ruby/object:Gem::Requirement
|
151
150
|
none: false
|
@@ -158,10 +157,10 @@ dependencies:
|
|
158
157
|
- 12
|
159
158
|
- 0
|
160
159
|
version: 2.12.0
|
161
|
-
name: rspec
|
162
160
|
version_requirements: *id008
|
163
|
-
- !ruby/object:Gem::Dependency
|
164
161
|
prerelease: false
|
162
|
+
name: rspec
|
163
|
+
- !ruby/object:Gem::Dependency
|
165
164
|
type: :development
|
166
165
|
requirement: &id009 !ruby/object:Gem::Requirement
|
167
166
|
none: false
|
@@ -173,10 +172,10 @@ dependencies:
|
|
173
172
|
- 1
|
174
173
|
- 9
|
175
174
|
version: "1.9"
|
176
|
-
name: webmock
|
177
175
|
version_requirements: *id009
|
178
|
-
- !ruby/object:Gem::Dependency
|
179
176
|
prerelease: false
|
177
|
+
name: webmock
|
178
|
+
- !ruby/object:Gem::Dependency
|
180
179
|
type: :development
|
181
180
|
requirement: &id010 !ruby/object:Gem::Requirement
|
182
181
|
none: false
|
@@ -188,10 +187,10 @@ dependencies:
|
|
188
187
|
- 0
|
189
188
|
- 3
|
190
189
|
version: "0.3"
|
191
|
-
name: typhoeus
|
192
190
|
version_requirements: *id010
|
193
|
-
- !ruby/object:Gem::Dependency
|
194
191
|
prerelease: false
|
192
|
+
name: typhoeus
|
193
|
+
- !ruby/object:Gem::Dependency
|
195
194
|
type: :development
|
196
195
|
requirement: &id011 !ruby/object:Gem::Requirement
|
197
196
|
none: false
|
@@ -204,10 +203,10 @@ dependencies:
|
|
204
203
|
- 7
|
205
204
|
- 0
|
206
205
|
version: 1.7.0
|
207
|
-
name: ci_reporter
|
208
206
|
version_requirements: *id011
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
207
|
prerelease: false
|
208
|
+
name: ci_reporter
|
209
|
+
- !ruby/object:Gem::Dependency
|
211
210
|
type: :development
|
212
211
|
requirement: &id012 !ruby/object:Gem::Requirement
|
213
212
|
none: false
|
@@ -220,10 +219,10 @@ dependencies:
|
|
220
219
|
- 9
|
221
220
|
- 9
|
222
221
|
version: 0.9.9
|
223
|
-
name: rcov
|
224
222
|
version_requirements: *id012
|
225
|
-
- !ruby/object:Gem::Dependency
|
226
223
|
prerelease: false
|
224
|
+
name: rcov
|
225
|
+
- !ruby/object:Gem::Dependency
|
227
226
|
type: :development
|
228
227
|
requirement: &id013 !ruby/object:Gem::Requirement
|
229
228
|
none: false
|
@@ -236,10 +235,10 @@ dependencies:
|
|
236
235
|
- 2
|
237
236
|
- 5
|
238
237
|
version: 0.2.5
|
239
|
-
name: flexmls_gems
|
240
238
|
version_requirements: *id013
|
241
|
-
- !ruby/object:Gem::Dependency
|
242
239
|
prerelease: false
|
240
|
+
name: flexmls_gems
|
241
|
+
- !ruby/object:Gem::Dependency
|
243
242
|
type: :development
|
244
243
|
requirement: &id014 !ruby/object:Gem::Requirement
|
245
244
|
none: false
|
@@ -250,10 +249,10 @@ dependencies:
|
|
250
249
|
segments:
|
251
250
|
- 0
|
252
251
|
version: "0"
|
253
|
-
name: guard-rspec
|
254
252
|
version_requirements: *id014
|
255
|
-
- !ruby/object:Gem::Dependency
|
256
253
|
prerelease: false
|
254
|
+
name: guard-rspec
|
255
|
+
- !ruby/object:Gem::Dependency
|
257
256
|
type: :development
|
258
257
|
requirement: &id015 !ruby/object:Gem::Requirement
|
259
258
|
none: false
|
@@ -264,10 +263,10 @@ dependencies:
|
|
264
263
|
segments:
|
265
264
|
- 0
|
266
265
|
version: "0"
|
267
|
-
name: rb-readline
|
268
266
|
version_requirements: *id015
|
269
|
-
- !ruby/object:Gem::Dependency
|
270
267
|
prerelease: false
|
268
|
+
name: rb-readline
|
269
|
+
- !ruby/object:Gem::Dependency
|
271
270
|
type: :development
|
272
271
|
requirement: &id016 !ruby/object:Gem::Requirement
|
273
272
|
none: false
|
@@ -278,8 +277,9 @@ dependencies:
|
|
278
277
|
segments:
|
279
278
|
- 0
|
280
279
|
version: "0"
|
281
|
-
name: rb-fsevent
|
282
280
|
version_requirements: *id016
|
281
|
+
prerelease: false
|
282
|
+
name: rb-fsevent
|
283
283
|
description: The spark_api gem handles most of the boilerplate for communicating with the Spark API rest services, including authentication and request parsing.
|
284
284
|
email: api-support@sparkapi.com
|
285
285
|
executables:
|
@@ -296,233 +296,236 @@ files:
|
|
296
296
|
- README.md
|
297
297
|
- VERSION
|
298
298
|
- bin/spark_api
|
299
|
-
- lib/spark_api/
|
299
|
+
- lib/spark_api/authentication/api_auth.rb
|
300
|
+
- lib/spark_api/authentication/oauth2_impl/faraday_middleware.rb
|
301
|
+
- lib/spark_api/authentication/oauth2_impl/single_session_provider.rb
|
302
|
+
- lib/spark_api/authentication/oauth2_impl/grant_type_base.rb
|
303
|
+
- lib/spark_api/authentication/oauth2_impl/grant_type_code.rb
|
304
|
+
- lib/spark_api/authentication/oauth2_impl/grant_type_refresh.rb
|
305
|
+
- lib/spark_api/authentication/oauth2_impl/cli_provider.rb
|
306
|
+
- lib/spark_api/authentication/oauth2_impl/simple_provider.rb
|
307
|
+
- lib/spark_api/authentication/oauth2_impl/grant_type_password.rb
|
308
|
+
- lib/spark_api/authentication/oauth2.rb
|
309
|
+
- lib/spark_api/authentication/base_auth.rb
|
310
|
+
- lib/spark_api/faraday_middleware.rb
|
311
|
+
- lib/spark_api/errors.rb
|
312
|
+
- lib/spark_api/client.rb
|
313
|
+
- lib/spark_api/primary_array.rb
|
314
|
+
- lib/spark_api/version.rb
|
315
|
+
- lib/spark_api/response.rb
|
316
|
+
- lib/spark_api/models.rb
|
300
317
|
- lib/spark_api/connection.rb
|
301
|
-
- lib/spark_api/request.rb
|
302
318
|
- lib/spark_api/multi_client.rb
|
303
|
-
- lib/spark_api/models/
|
304
|
-
- lib/spark_api/models/
|
305
|
-
- lib/spark_api/models/
|
306
|
-
- lib/spark_api/models/connect_prefs.rb
|
307
|
-
- lib/spark_api/models/portal.rb
|
319
|
+
- lib/spark_api/models/document.rb
|
320
|
+
- lib/spark_api/models/rental_calendar.rb
|
321
|
+
- lib/spark_api/models/finders.rb
|
308
322
|
- lib/spark_api/models/subresource.rb
|
309
|
-
- lib/spark_api/models/
|
323
|
+
- lib/spark_api/models/fields.rb
|
324
|
+
- lib/spark_api/models/photo.rb
|
325
|
+
- lib/spark_api/models/contact.rb
|
326
|
+
- lib/spark_api/models/video.rb
|
327
|
+
- lib/spark_api/models/idx_link.rb
|
328
|
+
- lib/spark_api/models/message.rb
|
329
|
+
- lib/spark_api/models/concerns.rb
|
310
330
|
- lib/spark_api/models/system_info.rb
|
331
|
+
- lib/spark_api/models/vow_account.rb
|
311
332
|
- lib/spark_api/models/listing.rb
|
312
|
-
- lib/spark_api/models/
|
333
|
+
- lib/spark_api/models/constraint.rb
|
334
|
+
- lib/spark_api/models/base.rb
|
313
335
|
- lib/spark_api/models/listing_cart.rb
|
314
|
-
- lib/spark_api/models/
|
315
|
-
- lib/spark_api/models/
|
316
|
-
- lib/spark_api/models/
|
336
|
+
- lib/spark_api/models/saved_search.rb
|
337
|
+
- lib/spark_api/models/open_house.rb
|
338
|
+
- lib/spark_api/models/activity.rb
|
317
339
|
- lib/spark_api/models/dirty.rb
|
318
|
-
- lib/spark_api/models/
|
340
|
+
- lib/spark_api/models/connect_prefs.rb
|
319
341
|
- lib/spark_api/models/shared_listing.rb
|
320
|
-
- lib/spark_api/models/
|
321
|
-
- lib/spark_api/models/
|
322
|
-
- lib/spark_api/models/saved_search.rb
|
342
|
+
- lib/spark_api/models/concerns/destroyable.rb
|
343
|
+
- lib/spark_api/models/concerns/savable.rb
|
323
344
|
- lib/spark_api/models/standard_fields.rb
|
324
|
-
- lib/spark_api/models/
|
325
|
-
- lib/spark_api/models/
|
326
|
-
- lib/spark_api/models/vow_account.rb
|
327
|
-
- lib/spark_api/models/finders.rb
|
328
|
-
- lib/spark_api/models/fields.rb
|
329
|
-
- lib/spark_api/models/base.rb
|
330
|
-
- lib/spark_api/models/tour_of_home.rb
|
331
|
-
- lib/spark_api/models/property_types.rb
|
332
|
-
- lib/spark_api/models/idx_link.rb
|
333
|
-
- lib/spark_api/models/notification.rb
|
334
|
-
- lib/spark_api/models/message.rb
|
345
|
+
- lib/spark_api/models/market_statistics.rb
|
346
|
+
- lib/spark_api/models/portal.rb
|
335
347
|
- lib/spark_api/models/note.rb
|
336
|
-
- lib/spark_api/models/
|
337
|
-
- lib/spark_api/models/
|
338
|
-
- lib/spark_api/models/
|
339
|
-
- lib/spark_api/models.rb
|
340
|
-
- lib/spark_api/
|
348
|
+
- lib/spark_api/models/comment.rb
|
349
|
+
- lib/spark_api/models/custom_fields.rb
|
350
|
+
- lib/spark_api/models/account.rb
|
351
|
+
- lib/spark_api/models/notification.rb
|
352
|
+
- lib/spark_api/models/property_types.rb
|
353
|
+
- lib/spark_api/models/virtual_tour.rb
|
354
|
+
- lib/spark_api/models/tour_of_home.rb
|
341
355
|
- lib/spark_api/paginate.rb
|
356
|
+
- lib/spark_api/cli/api_auth.rb
|
357
|
+
- lib/spark_api/cli/setup.rb
|
358
|
+
- lib/spark_api/cli/oauth2.rb
|
359
|
+
- lib/spark_api/request.rb
|
360
|
+
- lib/spark_api/options_hash.rb
|
342
361
|
- lib/spark_api/cli.rb
|
343
|
-
- lib/spark_api/
|
362
|
+
- lib/spark_api/authentication.rb
|
344
363
|
- lib/spark_api/configuration.rb
|
345
364
|
- lib/spark_api/configuration/oauth2_configurable.rb
|
346
365
|
- lib/spark_api/configuration/yaml.rb
|
347
|
-
- lib/spark_api/cli/setup.rb
|
348
|
-
- lib/spark_api/cli/api_auth.rb
|
349
|
-
- lib/spark_api/cli/oauth2.rb
|
350
|
-
- lib/spark_api/client.rb
|
351
|
-
- lib/spark_api/version.rb
|
352
|
-
- lib/spark_api/errors.rb
|
353
|
-
- lib/spark_api/authentication/base_auth.rb
|
354
|
-
- lib/spark_api/authentication/oauth2_impl/grant_type_base.rb
|
355
|
-
- lib/spark_api/authentication/oauth2_impl/grant_type_code.rb
|
356
|
-
- lib/spark_api/authentication/oauth2_impl/single_session_provider.rb
|
357
|
-
- lib/spark_api/authentication/oauth2_impl/simple_provider.rb
|
358
|
-
- lib/spark_api/authentication/oauth2_impl/grant_type_password.rb
|
359
|
-
- lib/spark_api/authentication/oauth2_impl/cli_provider.rb
|
360
|
-
- lib/spark_api/authentication/oauth2_impl/faraday_middleware.rb
|
361
|
-
- lib/spark_api/authentication/oauth2_impl/grant_type_refresh.rb
|
362
|
-
- lib/spark_api/authentication/api_auth.rb
|
363
|
-
- lib/spark_api/authentication/oauth2.rb
|
364
|
-
- lib/spark_api/faraday_middleware.rb
|
365
|
-
- lib/spark_api/authentication.rb
|
366
366
|
- lib/spark_api.rb
|
367
|
-
- script/oauth2_example.rb
|
368
367
|
- script/console
|
369
|
-
- script/combined_flow_example.rb
|
370
368
|
- script/example.rb
|
371
|
-
-
|
372
|
-
-
|
373
|
-
- spec/fixtures/session.json
|
369
|
+
- script/oauth2_example.rb
|
370
|
+
- script/combined_flow_example.rb
|
374
371
|
- spec/fixtures/portal/my_non_existant.json
|
375
|
-
- spec/fixtures/portal/disable.json
|
376
372
|
- spec/fixtures/portal/my.json
|
377
373
|
- spec/fixtures/portal/enable.json
|
378
|
-
- spec/fixtures/portal/post.json
|
379
374
|
- spec/fixtures/portal/new.json
|
375
|
+
- spec/fixtures/portal/disable.json
|
376
|
+
- spec/fixtures/portal/post.json
|
377
|
+
- spec/fixtures/no_results.json
|
378
|
+
- spec/fixtures/oauth2_error.json
|
379
|
+
- spec/fixtures/errors/failure_with_constraint.json
|
380
|
+
- spec/fixtures/errors/expired.json
|
381
|
+
- spec/fixtures/errors/failure_with_msg.json
|
382
|
+
- spec/fixtures/errors/failure.json
|
383
|
+
- spec/fixtures/count.json
|
384
|
+
- spec/fixtures/notes/new.json
|
385
|
+
- spec/fixtures/notes/agent_shared.json
|
386
|
+
- spec/fixtures/notes/add.json
|
387
|
+
- spec/fixtures/notes/agent_shared_empty.json
|
388
|
+
- spec/fixtures/base.json
|
380
389
|
- spec/fixtures/generic_failure.json
|
381
|
-
- spec/fixtures/
|
390
|
+
- spec/fixtures/session.json
|
391
|
+
- spec/fixtures/generic_delete.json
|
392
|
+
- spec/fixtures/oauth2/refresh_body.json
|
393
|
+
- spec/fixtures/oauth2/access_with_refresh.json
|
394
|
+
- spec/fixtures/oauth2/password_body.json
|
395
|
+
- spec/fixtures/oauth2/authorization_code_body.json
|
396
|
+
- spec/fixtures/oauth2/error.json
|
397
|
+
- spec/fixtures/oauth2/access.json
|
398
|
+
- spec/fixtures/oauth2/access_with_old_refresh.json
|
399
|
+
- spec/fixtures/saved_searches/update.json
|
400
|
+
- spec/fixtures/saved_searches/new.json
|
401
|
+
- spec/fixtures/saved_searches/get.json
|
402
|
+
- spec/fixtures/saved_searches/post.json
|
403
|
+
- spec/fixtures/standardfields/nearby.json
|
404
|
+
- spec/fixtures/standardfields/city.json
|
405
|
+
- spec/fixtures/standardfields/stateorprovince.json
|
406
|
+
- spec/fixtures/standardfields/standardfields.json
|
407
|
+
- spec/fixtures/fields/order.json
|
408
|
+
- spec/fixtures/fields/order_a.json
|
382
409
|
- spec/fixtures/property_types/property_types.json
|
383
|
-
- spec/fixtures/
|
384
|
-
- spec/fixtures/activities/get.json
|
410
|
+
- spec/fixtures/accounts/all.json
|
385
411
|
- spec/fixtures/accounts/password_save.json
|
386
412
|
- spec/fixtures/accounts/office.json
|
387
|
-
- spec/fixtures/accounts/my_put.json
|
388
413
|
- spec/fixtures/accounts/my.json
|
389
|
-
- spec/fixtures/accounts/
|
414
|
+
- spec/fixtures/accounts/my_put.json
|
390
415
|
- spec/fixtures/accounts/my_save.json
|
391
|
-
- spec/fixtures/accounts/
|
392
|
-
- spec/fixtures/
|
393
|
-
- spec/fixtures/
|
394
|
-
- spec/fixtures/
|
395
|
-
- spec/fixtures/
|
396
|
-
- spec/fixtures/
|
397
|
-
- spec/fixtures/
|
398
|
-
- spec/fixtures/
|
399
|
-
- spec/fixtures/
|
400
|
-
- spec/fixtures/
|
401
|
-
- spec/fixtures/
|
402
|
-
- spec/fixtures/
|
403
|
-
- spec/fixtures/listings/open_houses.json
|
404
|
-
- spec/fixtures/listings/constraints.json
|
405
|
-
- spec/fixtures/listings/with_documents.json
|
406
|
-
- spec/fixtures/listings/shared_listing_post.json
|
407
|
-
- spec/fixtures/listings/rental_calendar.json
|
408
|
-
- spec/fixtures/listings/no_subresources.json
|
409
|
-
- spec/fixtures/listings/with_photos.json
|
416
|
+
- spec/fixtures/accounts/my_portal.json
|
417
|
+
- spec/fixtures/success.json
|
418
|
+
- spec/fixtures/empty.json
|
419
|
+
- spec/fixtures/activities/get.json
|
420
|
+
- spec/fixtures/listing_carts/remove_listing.json
|
421
|
+
- spec/fixtures/listing_carts/add_listing_post.json
|
422
|
+
- spec/fixtures/listing_carts/listing_cart.json
|
423
|
+
- spec/fixtures/listing_carts/empty.json
|
424
|
+
- spec/fixtures/listing_carts/new.json
|
425
|
+
- spec/fixtures/listing_carts/post.json
|
426
|
+
- spec/fixtures/listing_carts/add_listing.json
|
427
|
+
- spec/fixtures/authentication_failure.json
|
410
428
|
- spec/fixtures/listings/put_expiration_date.json
|
411
|
-
- spec/fixtures/listings/
|
412
|
-
- spec/fixtures/listings/
|
413
|
-
- spec/fixtures/listings/photos/new.json
|
414
|
-
- spec/fixtures/listings/multiple.json
|
415
|
-
- spec/fixtures/listings/with_videos.json
|
416
|
-
- spec/fixtures/listings/tour_of_homes.json
|
429
|
+
- spec/fixtures/listings/no_subresources.json
|
430
|
+
- spec/fixtures/listings/rental_calendar.json
|
417
431
|
- spec/fixtures/listings/shared_listing_get.json
|
418
|
-
- spec/fixtures/listings/shared_listing_new.json
|
419
|
-
- spec/fixtures/listings/with_supplement.json
|
420
|
-
- spec/fixtures/listings/with_rental_calendar.json
|
421
432
|
- spec/fixtures/listings/constraints_with_pagination.json
|
422
|
-
- spec/fixtures/listings/
|
423
|
-
- spec/fixtures/listings/
|
433
|
+
- spec/fixtures/listings/with_rental_calendar.json
|
434
|
+
- spec/fixtures/listings/multiple.json
|
435
|
+
- spec/fixtures/listings/open_houses.json
|
436
|
+
- spec/fixtures/listings/photos/new.json
|
437
|
+
- spec/fixtures/listings/photos/post.json
|
438
|
+
- spec/fixtures/listings/photos/index.json
|
439
|
+
- spec/fixtures/listings/with_videos.json
|
440
|
+
- spec/fixtures/listings/with_documents.json
|
441
|
+
- spec/fixtures/listings/put.json
|
442
|
+
- spec/fixtures/listings/with_permissions.json
|
424
443
|
- spec/fixtures/listings/with_vtour.json
|
425
444
|
- spec/fixtures/listings/tour_of_homes_search.json
|
445
|
+
- spec/fixtures/listings/with_photos.json
|
446
|
+
- spec/fixtures/listings/shared_listing_new.json
|
426
447
|
- spec/fixtures/listings/videos_index.json
|
427
|
-
- spec/fixtures/listings/
|
428
|
-
- spec/fixtures/listings/
|
429
|
-
- spec/fixtures/
|
430
|
-
- spec/fixtures/
|
431
|
-
- spec/fixtures/
|
432
|
-
- spec/fixtures/
|
433
|
-
- spec/fixtures/
|
434
|
-
- spec/fixtures/notes/agent_shared_empty.json
|
435
|
-
- spec/fixtures/notes/agent_shared.json
|
436
|
-
- spec/fixtures/notes/add.json
|
437
|
-
- spec/fixtures/notes/new.json
|
438
|
-
- spec/fixtures/generic_delete.json
|
439
|
-
- spec/fixtures/oauth2/access_with_refresh.json
|
440
|
-
- spec/fixtures/oauth2/password_body.json
|
441
|
-
- spec/fixtures/oauth2/refresh_body.json
|
442
|
-
- spec/fixtures/oauth2/error.json
|
443
|
-
- spec/fixtures/oauth2/access_with_old_refresh.json
|
444
|
-
- spec/fixtures/oauth2/authorization_code_body.json
|
445
|
-
- spec/fixtures/oauth2/access.json
|
446
|
-
- spec/fixtures/oauth2_error.json
|
447
|
-
- spec/fixtures/errors/failure_with_msg.json
|
448
|
-
- spec/fixtures/errors/failure.json
|
449
|
-
- spec/fixtures/errors/expired.json
|
450
|
-
- spec/fixtures/errors/failure_with_constraint.json
|
448
|
+
- spec/fixtures/listings/with_supplement.json
|
449
|
+
- spec/fixtures/listings/tour_of_homes.json
|
450
|
+
- spec/fixtures/listings/shared_listing_post.json
|
451
|
+
- spec/fixtures/listings/virtual_tours_index.json
|
452
|
+
- spec/fixtures/listings/document_index.json
|
453
|
+
- spec/fixtures/listings/constraints.json
|
454
|
+
- spec/fixtures/comments/new.json
|
451
455
|
- spec/fixtures/comments/get.json
|
452
456
|
- spec/fixtures/comments/post.json
|
453
|
-
- spec/fixtures/
|
454
|
-
- spec/fixtures/
|
455
|
-
- spec/fixtures/saved_searches/update.json
|
456
|
-
- spec/fixtures/saved_searches/get.json
|
457
|
-
- spec/fixtures/saved_searches/post.json
|
458
|
-
- spec/fixtures/saved_searches/new.json
|
459
|
-
- spec/fixtures/logo_fbs.png
|
460
|
-
- spec/fixtures/listing_carts/listing_cart.json
|
461
|
-
- spec/fixtures/listing_carts/add_listing.json
|
462
|
-
- spec/fixtures/listing_carts/add_listing_post.json
|
463
|
-
- spec/fixtures/listing_carts/remove_listing.json
|
464
|
-
- spec/fixtures/listing_carts/empty.json
|
465
|
-
- spec/fixtures/listing_carts/post.json
|
466
|
-
- spec/fixtures/listing_carts/new.json
|
467
|
-
- spec/fixtures/empty.json
|
468
|
-
- spec/fixtures/messages/new_with_recipients.json
|
469
|
-
- spec/fixtures/messages/post.json
|
470
|
-
- spec/fixtures/messages/new.json
|
471
|
-
- spec/fixtures/messages/new_empty.json
|
472
|
-
- spec/fixtures/base.json
|
457
|
+
- spec/fixtures/finders.json
|
458
|
+
- spec/fixtures/idx_links/get.json
|
473
459
|
- spec/fixtures/notifications/notifications.json
|
460
|
+
- spec/fixtures/notifications/new_empty.json
|
474
461
|
- spec/fixtures/notifications/unread.json
|
475
462
|
- spec/fixtures/notifications/mark_read.json
|
476
|
-
- spec/fixtures/notifications/post.json
|
477
463
|
- spec/fixtures/notifications/new.json
|
478
|
-
- spec/fixtures/notifications/
|
464
|
+
- spec/fixtures/notifications/post.json
|
465
|
+
- spec/fixtures/contacts/tags.json
|
466
|
+
- spec/fixtures/contacts/my.json
|
467
|
+
- spec/fixtures/contacts/new_empty.json
|
468
|
+
- spec/fixtures/contacts/contacts.json
|
469
|
+
- spec/fixtures/contacts/new_notify.json
|
470
|
+
- spec/fixtures/contacts/new.json
|
471
|
+
- spec/fixtures/contacts/post.json
|
472
|
+
- spec/fixtures/contacts/vow_accounts/edit.json
|
473
|
+
- spec/fixtures/contacts/vow_accounts/new.json
|
474
|
+
- spec/fixtures/contacts/vow_accounts/get.json
|
475
|
+
- spec/fixtures/contacts/vow_accounts/post.json
|
476
|
+
- spec/fixtures/messages/new_with_recipients.json
|
477
|
+
- spec/fixtures/messages/new_empty.json
|
478
|
+
- spec/fixtures/messages/new.json
|
479
|
+
- spec/fixtures/messages/post.json
|
480
|
+
- spec/fixtures/logo_fbs.png
|
479
481
|
- spec/unit/spark_api_spec.rb
|
480
|
-
- spec/unit/spark_api/
|
481
|
-
- spec/unit/spark_api/
|
482
|
-
- spec/unit/spark_api/
|
482
|
+
- spec/unit/spark_api/authentication/base_auth_spec.rb
|
483
|
+
- spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb
|
484
|
+
- spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb
|
485
|
+
- spec/unit/spark_api/authentication/oauth2_impl/grant_type_base_spec.rb
|
486
|
+
- spec/unit/spark_api/authentication/oauth2_spec.rb
|
487
|
+
- spec/unit/spark_api/authentication/api_auth_spec.rb
|
488
|
+
- spec/unit/spark_api/authentication_spec.rb
|
489
|
+
- spec/unit/spark_api/models/open_house_spec.rb
|
490
|
+
- spec/unit/spark_api/models/account_spec.rb
|
491
|
+
- spec/unit/spark_api/models/virtual_tour_spec.rb
|
492
|
+
- spec/unit/spark_api/models/constraint_spec.rb
|
493
|
+
- spec/unit/spark_api/models/notification_spec.rb
|
483
494
|
- spec/unit/spark_api/models/saved_search_spec.rb
|
484
|
-
- spec/unit/spark_api/models/
|
495
|
+
- spec/unit/spark_api/models/contact_spec.rb
|
496
|
+
- spec/unit/spark_api/models/idx_link_spec.rb
|
485
497
|
- spec/unit/spark_api/models/listing_cart_spec.rb
|
486
|
-
- spec/unit/spark_api/models/
|
487
|
-
- spec/unit/spark_api/models/vow_account_spec.rb
|
488
|
-
- spec/unit/spark_api/models/message_spec.rb
|
489
|
-
- spec/unit/spark_api/models/shared_listing_spec.rb
|
490
|
-
- spec/unit/spark_api/models/dirty_spec.rb
|
491
|
-
- spec/unit/spark_api/models/listing_spec.rb
|
492
|
-
- spec/unit/spark_api/models/base_spec.rb
|
493
|
-
- spec/unit/spark_api/models/note_spec.rb
|
494
|
-
- spec/unit/spark_api/models/portal_spec.rb
|
495
|
-
- spec/unit/spark_api/models/system_info_spec.rb
|
496
|
-
- spec/unit/spark_api/models/account_spec.rb
|
498
|
+
- spec/unit/spark_api/models/video_spec.rb
|
497
499
|
- spec/unit/spark_api/models/rental_calendar_spec.rb
|
498
500
|
- spec/unit/spark_api/models/document_spec.rb
|
499
|
-
- spec/unit/spark_api/models/contact_spec.rb
|
500
|
-
- spec/unit/spark_api/models/property_types_spec.rb
|
501
|
-
- spec/unit/spark_api/models/concerns/savable_spec.rb
|
502
|
-
- spec/unit/spark_api/models/concerns/destroyable_spec.rb
|
503
501
|
- spec/unit/spark_api/models/activity_spec.rb
|
504
|
-
- spec/unit/spark_api/models/
|
502
|
+
- spec/unit/spark_api/models/property_types_spec.rb
|
503
|
+
- spec/unit/spark_api/models/dirty_spec.rb
|
504
|
+
- spec/unit/spark_api/models/message_spec.rb
|
505
|
+
- spec/unit/spark_api/models/listing_spec.rb
|
505
506
|
- spec/unit/spark_api/models/fields_spec.rb
|
506
|
-
- spec/unit/spark_api/models/
|
507
|
-
- spec/unit/spark_api/models/
|
507
|
+
- spec/unit/spark_api/models/shared_listing_spec.rb
|
508
|
+
- spec/unit/spark_api/models/note_spec.rb
|
508
509
|
- spec/unit/spark_api/models/connect_prefs_spec.rb
|
509
|
-
- spec/unit/spark_api/models/
|
510
|
+
- spec/unit/spark_api/models/concerns/destroyable_spec.rb
|
511
|
+
- spec/unit/spark_api/models/concerns/savable_spec.rb
|
512
|
+
- spec/unit/spark_api/models/vow_account_spec.rb
|
513
|
+
- spec/unit/spark_api/models/subresource_spec.rb
|
510
514
|
- spec/unit/spark_api/models/photo_spec.rb
|
515
|
+
- spec/unit/spark_api/models/base_spec.rb
|
516
|
+
- spec/unit/spark_api/models/portal_spec.rb
|
517
|
+
- spec/unit/spark_api/models/tour_of_home_spec.rb
|
518
|
+
- spec/unit/spark_api/models/finders_spec.rb
|
519
|
+
- spec/unit/spark_api/models/system_info_spec.rb
|
511
520
|
- spec/unit/spark_api/models/standard_fields_spec.rb
|
512
|
-
- spec/unit/spark_api/models/open_house_spec.rb
|
513
|
-
- spec/unit/spark_api/authentication_spec.rb
|
514
521
|
- spec/unit/spark_api/faraday_middleware_spec.rb
|
522
|
+
- spec/unit/spark_api/options_hash_spec.rb
|
523
|
+
- spec/unit/spark_api/paginate_spec.rb
|
524
|
+
- spec/unit/spark_api/primary_array_spec.rb
|
515
525
|
- spec/unit/spark_api/configuration_spec.rb
|
526
|
+
- spec/unit/spark_api/request_spec.rb
|
516
527
|
- spec/unit/spark_api/configuration/yaml_spec.rb
|
517
528
|
- spec/unit/spark_api/multi_client_spec.rb
|
518
|
-
- spec/unit/spark_api/authentication/base_auth_spec.rb
|
519
|
-
- spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb
|
520
|
-
- spec/unit/spark_api/authentication/oauth2_impl/grant_type_base_spec.rb
|
521
|
-
- spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb
|
522
|
-
- spec/unit/spark_api/authentication/api_auth_spec.rb
|
523
|
-
- spec/unit/spark_api/authentication/oauth2_spec.rb
|
524
|
-
- spec/unit/spark_api/request_spec.rb
|
525
|
-
- spec/unit/spark_api/paginate_spec.rb
|
526
529
|
- spec/spec_helper.rb
|
527
530
|
homepage: https://github.com/sparkapi/spark_api
|
528
531
|
licenses: []
|
@@ -554,164 +557,167 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
554
557
|
requirements: []
|
555
558
|
|
556
559
|
rubyforge_project: spark_api
|
557
|
-
rubygems_version: 1.8.
|
560
|
+
rubygems_version: 1.8.24
|
558
561
|
signing_key:
|
559
562
|
specification_version: 3
|
560
563
|
summary: A library for interacting with the Spark web services.
|
561
564
|
test_files:
|
562
|
-
- spec/fixtures/fields/order.json
|
563
|
-
- spec/fixtures/fields/order_a.json
|
564
|
-
- spec/fixtures/session.json
|
565
565
|
- spec/fixtures/portal/my_non_existant.json
|
566
|
-
- spec/fixtures/portal/disable.json
|
567
566
|
- spec/fixtures/portal/my.json
|
568
567
|
- spec/fixtures/portal/enable.json
|
569
|
-
- spec/fixtures/portal/post.json
|
570
568
|
- spec/fixtures/portal/new.json
|
569
|
+
- spec/fixtures/portal/disable.json
|
570
|
+
- spec/fixtures/portal/post.json
|
571
|
+
- spec/fixtures/no_results.json
|
572
|
+
- spec/fixtures/oauth2_error.json
|
573
|
+
- spec/fixtures/errors/failure_with_constraint.json
|
574
|
+
- spec/fixtures/errors/expired.json
|
575
|
+
- spec/fixtures/errors/failure_with_msg.json
|
576
|
+
- spec/fixtures/errors/failure.json
|
577
|
+
- spec/fixtures/count.json
|
578
|
+
- spec/fixtures/notes/new.json
|
579
|
+
- spec/fixtures/notes/agent_shared.json
|
580
|
+
- spec/fixtures/notes/add.json
|
581
|
+
- spec/fixtures/notes/agent_shared_empty.json
|
582
|
+
- spec/fixtures/base.json
|
571
583
|
- spec/fixtures/generic_failure.json
|
572
|
-
- spec/fixtures/
|
584
|
+
- spec/fixtures/session.json
|
585
|
+
- spec/fixtures/generic_delete.json
|
586
|
+
- spec/fixtures/oauth2/refresh_body.json
|
587
|
+
- spec/fixtures/oauth2/access_with_refresh.json
|
588
|
+
- spec/fixtures/oauth2/password_body.json
|
589
|
+
- spec/fixtures/oauth2/authorization_code_body.json
|
590
|
+
- spec/fixtures/oauth2/error.json
|
591
|
+
- spec/fixtures/oauth2/access.json
|
592
|
+
- spec/fixtures/oauth2/access_with_old_refresh.json
|
593
|
+
- spec/fixtures/saved_searches/update.json
|
594
|
+
- spec/fixtures/saved_searches/new.json
|
595
|
+
- spec/fixtures/saved_searches/get.json
|
596
|
+
- spec/fixtures/saved_searches/post.json
|
597
|
+
- spec/fixtures/standardfields/nearby.json
|
598
|
+
- spec/fixtures/standardfields/city.json
|
599
|
+
- spec/fixtures/standardfields/stateorprovince.json
|
600
|
+
- spec/fixtures/standardfields/standardfields.json
|
601
|
+
- spec/fixtures/fields/order.json
|
602
|
+
- spec/fixtures/fields/order_a.json
|
573
603
|
- spec/fixtures/property_types/property_types.json
|
574
|
-
- spec/fixtures/
|
575
|
-
- spec/fixtures/activities/get.json
|
604
|
+
- spec/fixtures/accounts/all.json
|
576
605
|
- spec/fixtures/accounts/password_save.json
|
577
606
|
- spec/fixtures/accounts/office.json
|
578
|
-
- spec/fixtures/accounts/my_put.json
|
579
607
|
- spec/fixtures/accounts/my.json
|
580
|
-
- spec/fixtures/accounts/
|
608
|
+
- spec/fixtures/accounts/my_put.json
|
581
609
|
- spec/fixtures/accounts/my_save.json
|
582
|
-
- spec/fixtures/accounts/
|
583
|
-
- spec/fixtures/
|
584
|
-
- spec/fixtures/
|
585
|
-
- spec/fixtures/
|
586
|
-
- spec/fixtures/
|
587
|
-
- spec/fixtures/
|
588
|
-
- spec/fixtures/
|
589
|
-
- spec/fixtures/
|
590
|
-
- spec/fixtures/
|
591
|
-
- spec/fixtures/
|
592
|
-
- spec/fixtures/
|
593
|
-
- spec/fixtures/
|
594
|
-
- spec/fixtures/listings/open_houses.json
|
595
|
-
- spec/fixtures/listings/constraints.json
|
596
|
-
- spec/fixtures/listings/with_documents.json
|
597
|
-
- spec/fixtures/listings/shared_listing_post.json
|
598
|
-
- spec/fixtures/listings/rental_calendar.json
|
599
|
-
- spec/fixtures/listings/no_subresources.json
|
600
|
-
- spec/fixtures/listings/with_photos.json
|
610
|
+
- spec/fixtures/accounts/my_portal.json
|
611
|
+
- spec/fixtures/success.json
|
612
|
+
- spec/fixtures/empty.json
|
613
|
+
- spec/fixtures/activities/get.json
|
614
|
+
- spec/fixtures/listing_carts/remove_listing.json
|
615
|
+
- spec/fixtures/listing_carts/add_listing_post.json
|
616
|
+
- spec/fixtures/listing_carts/listing_cart.json
|
617
|
+
- spec/fixtures/listing_carts/empty.json
|
618
|
+
- spec/fixtures/listing_carts/new.json
|
619
|
+
- spec/fixtures/listing_carts/post.json
|
620
|
+
- spec/fixtures/listing_carts/add_listing.json
|
621
|
+
- spec/fixtures/authentication_failure.json
|
601
622
|
- spec/fixtures/listings/put_expiration_date.json
|
602
|
-
- spec/fixtures/listings/
|
603
|
-
- spec/fixtures/listings/
|
604
|
-
- spec/fixtures/listings/photos/new.json
|
605
|
-
- spec/fixtures/listings/multiple.json
|
606
|
-
- spec/fixtures/listings/with_videos.json
|
607
|
-
- spec/fixtures/listings/tour_of_homes.json
|
623
|
+
- spec/fixtures/listings/no_subresources.json
|
624
|
+
- spec/fixtures/listings/rental_calendar.json
|
608
625
|
- spec/fixtures/listings/shared_listing_get.json
|
609
|
-
- spec/fixtures/listings/shared_listing_new.json
|
610
|
-
- spec/fixtures/listings/with_supplement.json
|
611
|
-
- spec/fixtures/listings/with_rental_calendar.json
|
612
626
|
- spec/fixtures/listings/constraints_with_pagination.json
|
613
|
-
- spec/fixtures/listings/
|
614
|
-
- spec/fixtures/listings/
|
627
|
+
- spec/fixtures/listings/with_rental_calendar.json
|
628
|
+
- spec/fixtures/listings/multiple.json
|
629
|
+
- spec/fixtures/listings/open_houses.json
|
630
|
+
- spec/fixtures/listings/photos/new.json
|
631
|
+
- spec/fixtures/listings/photos/post.json
|
632
|
+
- spec/fixtures/listings/photos/index.json
|
633
|
+
- spec/fixtures/listings/with_videos.json
|
634
|
+
- spec/fixtures/listings/with_documents.json
|
635
|
+
- spec/fixtures/listings/put.json
|
636
|
+
- spec/fixtures/listings/with_permissions.json
|
615
637
|
- spec/fixtures/listings/with_vtour.json
|
616
638
|
- spec/fixtures/listings/tour_of_homes_search.json
|
639
|
+
- spec/fixtures/listings/with_photos.json
|
640
|
+
- spec/fixtures/listings/shared_listing_new.json
|
617
641
|
- spec/fixtures/listings/videos_index.json
|
618
|
-
- spec/fixtures/listings/
|
619
|
-
- spec/fixtures/listings/
|
620
|
-
- spec/fixtures/
|
621
|
-
- spec/fixtures/
|
622
|
-
- spec/fixtures/
|
623
|
-
- spec/fixtures/
|
624
|
-
- spec/fixtures/
|
625
|
-
- spec/fixtures/notes/agent_shared_empty.json
|
626
|
-
- spec/fixtures/notes/agent_shared.json
|
627
|
-
- spec/fixtures/notes/add.json
|
628
|
-
- spec/fixtures/notes/new.json
|
629
|
-
- spec/fixtures/generic_delete.json
|
630
|
-
- spec/fixtures/oauth2/access_with_refresh.json
|
631
|
-
- spec/fixtures/oauth2/password_body.json
|
632
|
-
- spec/fixtures/oauth2/refresh_body.json
|
633
|
-
- spec/fixtures/oauth2/error.json
|
634
|
-
- spec/fixtures/oauth2/access_with_old_refresh.json
|
635
|
-
- spec/fixtures/oauth2/authorization_code_body.json
|
636
|
-
- spec/fixtures/oauth2/access.json
|
637
|
-
- spec/fixtures/oauth2_error.json
|
638
|
-
- spec/fixtures/errors/failure_with_msg.json
|
639
|
-
- spec/fixtures/errors/failure.json
|
640
|
-
- spec/fixtures/errors/expired.json
|
641
|
-
- spec/fixtures/errors/failure_with_constraint.json
|
642
|
+
- spec/fixtures/listings/with_supplement.json
|
643
|
+
- spec/fixtures/listings/tour_of_homes.json
|
644
|
+
- spec/fixtures/listings/shared_listing_post.json
|
645
|
+
- spec/fixtures/listings/virtual_tours_index.json
|
646
|
+
- spec/fixtures/listings/document_index.json
|
647
|
+
- spec/fixtures/listings/constraints.json
|
648
|
+
- spec/fixtures/comments/new.json
|
642
649
|
- spec/fixtures/comments/get.json
|
643
650
|
- spec/fixtures/comments/post.json
|
644
|
-
- spec/fixtures/
|
645
|
-
- spec/fixtures/
|
646
|
-
- spec/fixtures/saved_searches/update.json
|
647
|
-
- spec/fixtures/saved_searches/get.json
|
648
|
-
- spec/fixtures/saved_searches/post.json
|
649
|
-
- spec/fixtures/saved_searches/new.json
|
650
|
-
- spec/fixtures/logo_fbs.png
|
651
|
-
- spec/fixtures/listing_carts/listing_cart.json
|
652
|
-
- spec/fixtures/listing_carts/add_listing.json
|
653
|
-
- spec/fixtures/listing_carts/add_listing_post.json
|
654
|
-
- spec/fixtures/listing_carts/remove_listing.json
|
655
|
-
- spec/fixtures/listing_carts/empty.json
|
656
|
-
- spec/fixtures/listing_carts/post.json
|
657
|
-
- spec/fixtures/listing_carts/new.json
|
658
|
-
- spec/fixtures/empty.json
|
659
|
-
- spec/fixtures/messages/new_with_recipients.json
|
660
|
-
- spec/fixtures/messages/post.json
|
661
|
-
- spec/fixtures/messages/new.json
|
662
|
-
- spec/fixtures/messages/new_empty.json
|
663
|
-
- spec/fixtures/base.json
|
651
|
+
- spec/fixtures/finders.json
|
652
|
+
- spec/fixtures/idx_links/get.json
|
664
653
|
- spec/fixtures/notifications/notifications.json
|
654
|
+
- spec/fixtures/notifications/new_empty.json
|
665
655
|
- spec/fixtures/notifications/unread.json
|
666
656
|
- spec/fixtures/notifications/mark_read.json
|
667
|
-
- spec/fixtures/notifications/post.json
|
668
657
|
- spec/fixtures/notifications/new.json
|
669
|
-
- spec/fixtures/notifications/
|
658
|
+
- spec/fixtures/notifications/post.json
|
659
|
+
- spec/fixtures/contacts/tags.json
|
660
|
+
- spec/fixtures/contacts/my.json
|
661
|
+
- spec/fixtures/contacts/new_empty.json
|
662
|
+
- spec/fixtures/contacts/contacts.json
|
663
|
+
- spec/fixtures/contacts/new_notify.json
|
664
|
+
- spec/fixtures/contacts/new.json
|
665
|
+
- spec/fixtures/contacts/post.json
|
666
|
+
- spec/fixtures/contacts/vow_accounts/edit.json
|
667
|
+
- spec/fixtures/contacts/vow_accounts/new.json
|
668
|
+
- spec/fixtures/contacts/vow_accounts/get.json
|
669
|
+
- spec/fixtures/contacts/vow_accounts/post.json
|
670
|
+
- spec/fixtures/messages/new_with_recipients.json
|
671
|
+
- spec/fixtures/messages/new_empty.json
|
672
|
+
- spec/fixtures/messages/new.json
|
673
|
+
- spec/fixtures/messages/post.json
|
674
|
+
- spec/fixtures/logo_fbs.png
|
670
675
|
- spec/unit/spark_api_spec.rb
|
671
|
-
- spec/unit/spark_api/
|
672
|
-
- spec/unit/spark_api/
|
673
|
-
- spec/unit/spark_api/
|
676
|
+
- spec/unit/spark_api/authentication/base_auth_spec.rb
|
677
|
+
- spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb
|
678
|
+
- spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb
|
679
|
+
- spec/unit/spark_api/authentication/oauth2_impl/grant_type_base_spec.rb
|
680
|
+
- spec/unit/spark_api/authentication/oauth2_spec.rb
|
681
|
+
- spec/unit/spark_api/authentication/api_auth_spec.rb
|
682
|
+
- spec/unit/spark_api/authentication_spec.rb
|
683
|
+
- spec/unit/spark_api/models/open_house_spec.rb
|
684
|
+
- spec/unit/spark_api/models/account_spec.rb
|
685
|
+
- spec/unit/spark_api/models/virtual_tour_spec.rb
|
686
|
+
- spec/unit/spark_api/models/constraint_spec.rb
|
687
|
+
- spec/unit/spark_api/models/notification_spec.rb
|
674
688
|
- spec/unit/spark_api/models/saved_search_spec.rb
|
675
|
-
- spec/unit/spark_api/models/
|
689
|
+
- spec/unit/spark_api/models/contact_spec.rb
|
690
|
+
- spec/unit/spark_api/models/idx_link_spec.rb
|
676
691
|
- spec/unit/spark_api/models/listing_cart_spec.rb
|
677
|
-
- spec/unit/spark_api/models/
|
678
|
-
- spec/unit/spark_api/models/vow_account_spec.rb
|
679
|
-
- spec/unit/spark_api/models/message_spec.rb
|
680
|
-
- spec/unit/spark_api/models/shared_listing_spec.rb
|
681
|
-
- spec/unit/spark_api/models/dirty_spec.rb
|
682
|
-
- spec/unit/spark_api/models/listing_spec.rb
|
683
|
-
- spec/unit/spark_api/models/base_spec.rb
|
684
|
-
- spec/unit/spark_api/models/note_spec.rb
|
685
|
-
- spec/unit/spark_api/models/portal_spec.rb
|
686
|
-
- spec/unit/spark_api/models/system_info_spec.rb
|
687
|
-
- spec/unit/spark_api/models/account_spec.rb
|
692
|
+
- spec/unit/spark_api/models/video_spec.rb
|
688
693
|
- spec/unit/spark_api/models/rental_calendar_spec.rb
|
689
694
|
- spec/unit/spark_api/models/document_spec.rb
|
690
|
-
- spec/unit/spark_api/models/contact_spec.rb
|
691
|
-
- spec/unit/spark_api/models/property_types_spec.rb
|
692
|
-
- spec/unit/spark_api/models/concerns/savable_spec.rb
|
693
|
-
- spec/unit/spark_api/models/concerns/destroyable_spec.rb
|
694
695
|
- spec/unit/spark_api/models/activity_spec.rb
|
695
|
-
- spec/unit/spark_api/models/
|
696
|
+
- spec/unit/spark_api/models/property_types_spec.rb
|
697
|
+
- spec/unit/spark_api/models/dirty_spec.rb
|
698
|
+
- spec/unit/spark_api/models/message_spec.rb
|
699
|
+
- spec/unit/spark_api/models/listing_spec.rb
|
696
700
|
- spec/unit/spark_api/models/fields_spec.rb
|
697
|
-
- spec/unit/spark_api/models/
|
698
|
-
- spec/unit/spark_api/models/
|
701
|
+
- spec/unit/spark_api/models/shared_listing_spec.rb
|
702
|
+
- spec/unit/spark_api/models/note_spec.rb
|
699
703
|
- spec/unit/spark_api/models/connect_prefs_spec.rb
|
700
|
-
- spec/unit/spark_api/models/
|
704
|
+
- spec/unit/spark_api/models/concerns/destroyable_spec.rb
|
705
|
+
- spec/unit/spark_api/models/concerns/savable_spec.rb
|
706
|
+
- spec/unit/spark_api/models/vow_account_spec.rb
|
707
|
+
- spec/unit/spark_api/models/subresource_spec.rb
|
701
708
|
- spec/unit/spark_api/models/photo_spec.rb
|
709
|
+
- spec/unit/spark_api/models/base_spec.rb
|
710
|
+
- spec/unit/spark_api/models/portal_spec.rb
|
711
|
+
- spec/unit/spark_api/models/tour_of_home_spec.rb
|
712
|
+
- spec/unit/spark_api/models/finders_spec.rb
|
713
|
+
- spec/unit/spark_api/models/system_info_spec.rb
|
702
714
|
- spec/unit/spark_api/models/standard_fields_spec.rb
|
703
|
-
- spec/unit/spark_api/models/open_house_spec.rb
|
704
|
-
- spec/unit/spark_api/authentication_spec.rb
|
705
715
|
- spec/unit/spark_api/faraday_middleware_spec.rb
|
716
|
+
- spec/unit/spark_api/options_hash_spec.rb
|
717
|
+
- spec/unit/spark_api/paginate_spec.rb
|
718
|
+
- spec/unit/spark_api/primary_array_spec.rb
|
706
719
|
- spec/unit/spark_api/configuration_spec.rb
|
720
|
+
- spec/unit/spark_api/request_spec.rb
|
707
721
|
- spec/unit/spark_api/configuration/yaml_spec.rb
|
708
722
|
- spec/unit/spark_api/multi_client_spec.rb
|
709
|
-
- spec/unit/spark_api/authentication/base_auth_spec.rb
|
710
|
-
- spec/unit/spark_api/authentication/oauth2_impl/faraday_middleware_spec.rb
|
711
|
-
- spec/unit/spark_api/authentication/oauth2_impl/grant_type_base_spec.rb
|
712
|
-
- spec/unit/spark_api/authentication/oauth2_impl/single_session_provider_spec.rb
|
713
|
-
- spec/unit/spark_api/authentication/api_auth_spec.rb
|
714
|
-
- spec/unit/spark_api/authentication/oauth2_spec.rb
|
715
|
-
- spec/unit/spark_api/request_spec.rb
|
716
|
-
- spec/unit/spark_api/paginate_spec.rb
|
717
723
|
- spec/spec_helper.rb
|