ticketevolution-ruby 0.6.6 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.minimum.versions.gemfile +1 -1
- data/README.markdown +2 -2
- data/Rakefile +2 -3
- data/lib/docs/objects.markdown +1 -1
- data/lib/faraday/response/verbose_logger.rb +34 -0
- data/lib/ticket_evolution/core/connection.rb +21 -23
- data/lib/ticket_evolution/core/endpoint/request_handler.rb +19 -9
- data/lib/ticket_evolution/core/model.rb +6 -4
- data/lib/ticket_evolution/modules/update.rb +18 -5
- data/lib/ticket_evolution/version.rb +1 -1
- data/lib/ticket_evolution.rb +3 -1
- data/spec/fixtures/fake.rb +1 -1
- data/spec/fixtures/net/core/connection.yml +43 -4
- data/spec/fixtures/net/endpoints/accounts.yml +44 -0
- data/spec/fixtures/net/endpoints/brokerages.yml +44 -0
- data/spec/fixtures/net/endpoints/clients/create.yml +287 -0
- data/spec/fixtures/net/endpoints/clients/update_fail.yml +958 -0
- data/spec/fixtures/net/endpoints/clients/update_success.yml +820 -0
- data/spec/fixtures/net/endpoints/clients.yml +585 -158
- data/spec/fixtures/net/endpoints/search.yml +49 -0
- data/spec/lib/ticket_evolution/accounts_spec.rb +1 -1
- data/spec/lib/ticket_evolution/client_spec.rb +37 -1
- data/spec/lib/ticket_evolution/clients_spec.rb +2 -2
- data/spec/lib/ticket_evolution/core/connection_spec.rb +23 -15
- data/spec/lib/ticket_evolution/search_spec.rb +1 -10
- data/spec/shared_examples/endpoints/class.rb +19 -26
- data/spec/shared_examples/endpoints/update.rb +51 -12
- data/spec/support/connection.rb +2 -0
- data/ticketevolution-ruby.gemspec +2 -2
- metadata +36 -26
@@ -1,162 +1,4 @@
|
|
1
1
|
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients
|
6
|
-
body: ! '{"clients":[{"name":""}]}'
|
7
|
-
headers:
|
8
|
-
accept:
|
9
|
-
- application/vnd.ticketevolution.api+json; version=8
|
10
|
-
x-signature:
|
11
|
-
- p98E1mu3XCyp//XqsxaKakNHKnSqeWI0crCOVP6bPSM=
|
12
|
-
x-token:
|
13
|
-
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
14
|
-
response: !ruby/struct:VCR::Response
|
15
|
-
status: !ruby/struct:VCR::ResponseStatus
|
16
|
-
code: 400
|
17
|
-
message: Bad Request
|
18
|
-
headers:
|
19
|
-
content-type:
|
20
|
-
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
21
|
-
transfer-encoding:
|
22
|
-
- chunked
|
23
|
-
connection:
|
24
|
-
- keep-alive
|
25
|
-
status:
|
26
|
-
- '400'
|
27
|
-
x-powered-by:
|
28
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
29
|
-
x-ua-compatible:
|
30
|
-
- IE=Edge,chrome=1
|
31
|
-
x-runtime:
|
32
|
-
- '0.030679'
|
33
|
-
cache-control:
|
34
|
-
- no-cache
|
35
|
-
strict-transport-security:
|
36
|
-
- max-age=31536000
|
37
|
-
server:
|
38
|
-
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
39
|
-
body: ! '{"clients":[{"errors":{"name":["can''t be blank"]},"addresses":[],"phone_numbers":[],"email_addresses":[],"name":null,"id":null,"updated_at":null}]}'
|
40
|
-
http_version: '1.1'
|
41
|
-
- !ruby/struct:VCR::HTTPInteraction
|
42
|
-
request: !ruby/struct:VCR::Request
|
43
|
-
method: :post
|
44
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients
|
45
|
-
body: ! '{"clients":[{"name":""}]}'
|
46
|
-
headers:
|
47
|
-
accept:
|
48
|
-
- application/vnd.ticketevolution.api+json; version=8
|
49
|
-
x-signature:
|
50
|
-
- p98E1mu3XCyp//XqsxaKakNHKnSqeWI0crCOVP6bPSM=
|
51
|
-
x-token:
|
52
|
-
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
53
|
-
response: !ruby/struct:VCR::Response
|
54
|
-
status: !ruby/struct:VCR::ResponseStatus
|
55
|
-
code: 400
|
56
|
-
message: Bad Request
|
57
|
-
headers:
|
58
|
-
content-type:
|
59
|
-
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
60
|
-
transfer-encoding:
|
61
|
-
- chunked
|
62
|
-
connection:
|
63
|
-
- keep-alive
|
64
|
-
status:
|
65
|
-
- '400'
|
66
|
-
x-powered-by:
|
67
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
68
|
-
x-ua-compatible:
|
69
|
-
- IE=Edge,chrome=1
|
70
|
-
x-runtime:
|
71
|
-
- '0.030679'
|
72
|
-
cache-control:
|
73
|
-
- no-cache
|
74
|
-
strict-transport-security:
|
75
|
-
- max-age=31536000
|
76
|
-
server:
|
77
|
-
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
78
|
-
body: ! '{"clients":[{"errors":{"name":["can''t be blank"]},"addresses":[],"phone_numbers":[],"email_addresses":[],"name":null,"id":null,"updated_at":null}]}'
|
79
|
-
http_version: '1.1'
|
80
|
-
- !ruby/struct:VCR::HTTPInteraction
|
81
|
-
request: !ruby/struct:VCR::Request
|
82
|
-
method: :post
|
83
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients
|
84
|
-
body: ! '{"clients":[{"name":"Comish Gordon"}]}'
|
85
|
-
headers:
|
86
|
-
accept:
|
87
|
-
- application/vnd.ticketevolution.api+json; version=8
|
88
|
-
x-signature:
|
89
|
-
- eUQH8qJ9MDhnENYM83QehsKb5k7P/mxuThcPHVCA8lU=
|
90
|
-
x-token:
|
91
|
-
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
92
|
-
response: !ruby/struct:VCR::Response
|
93
|
-
status: !ruby/struct:VCR::ResponseStatus
|
94
|
-
code: 201
|
95
|
-
message: Created
|
96
|
-
headers:
|
97
|
-
content-type:
|
98
|
-
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
99
|
-
transfer-encoding:
|
100
|
-
- chunked
|
101
|
-
connection:
|
102
|
-
- keep-alive
|
103
|
-
status:
|
104
|
-
- '201'
|
105
|
-
x-powered-by:
|
106
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
107
|
-
x-ua-compatible:
|
108
|
-
- IE=Edge,chrome=1
|
109
|
-
x-runtime:
|
110
|
-
- '0.072890'
|
111
|
-
cache-control:
|
112
|
-
- no-cache
|
113
|
-
strict-transport-security:
|
114
|
-
- max-age=31536000
|
115
|
-
server:
|
116
|
-
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
117
|
-
body: ! '{"clients":[{"addresses":[],"phone_numbers":[],"email_addresses":[],"name":"Comish
|
118
|
-
Gordon","url":"/clients/2275","id":"2275","updated_at":"2012-01-24T22:49:11Z"}]}'
|
119
|
-
http_version: '1.1'
|
120
|
-
- !ruby/struct:VCR::HTTPInteraction
|
121
|
-
request: !ruby/struct:VCR::Request
|
122
|
-
method: :post
|
123
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients
|
124
|
-
body: ! '{"clients":[{"name":"Comish Gordon"}]}'
|
125
|
-
headers:
|
126
|
-
accept:
|
127
|
-
- application/vnd.ticketevolution.api+json; version=8
|
128
|
-
x-signature:
|
129
|
-
- eUQH8qJ9MDhnENYM83QehsKb5k7P/mxuThcPHVCA8lU=
|
130
|
-
x-token:
|
131
|
-
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
132
|
-
response: !ruby/struct:VCR::Response
|
133
|
-
status: !ruby/struct:VCR::ResponseStatus
|
134
|
-
code: 201
|
135
|
-
message: Created
|
136
|
-
headers:
|
137
|
-
content-type:
|
138
|
-
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
139
|
-
transfer-encoding:
|
140
|
-
- chunked
|
141
|
-
connection:
|
142
|
-
- keep-alive
|
143
|
-
status:
|
144
|
-
- '201'
|
145
|
-
x-powered-by:
|
146
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
147
|
-
x-ua-compatible:
|
148
|
-
- IE=Edge,chrome=1
|
149
|
-
x-runtime:
|
150
|
-
- '0.072890'
|
151
|
-
cache-control:
|
152
|
-
- no-cache
|
153
|
-
strict-transport-security:
|
154
|
-
- max-age=31536000
|
155
|
-
server:
|
156
|
-
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
157
|
-
body: ! '{"clients":[{"addresses":[],"phone_numbers":[],"email_addresses":[],"name":"Comish
|
158
|
-
Gordon","url":"/clients/2275","id":"2275","updated_at":"2012-01-24T22:49:11Z"}]}'
|
159
|
-
http_version: '1.1'
|
160
2
|
- !ruby/struct:VCR::HTTPInteraction
|
161
3
|
request: !ruby/struct:VCR::Request
|
162
4
|
method: :get
|
@@ -487,3 +329,588 @@
|
|
487
329
|
body: ! '{"addresses":[{"latitude":null,"postal_code":"58008-0000","label":"Billy","longitude":null,"country_code":"US","url":"/clients/2359/addresses/48597","updated_at":"2012-02-10T06:25:53Z","name":"Billy","locality":"Springfield","extended_address":null,"id":"48597","region":"MG","street_address":"555
|
488
330
|
Evergreen Terrace"}],"current_page":1,"per_page":100,"total_entries":1}'
|
489
331
|
http_version: '1.1'
|
332
|
+
- !ruby/struct:VCR::HTTPInteraction
|
333
|
+
request: !ruby/struct:VCR::Request
|
334
|
+
method: :get
|
335
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients
|
336
|
+
body: !!null
|
337
|
+
headers:
|
338
|
+
x-signature:
|
339
|
+
- oHMe9KFgCudRW9XqDC2pfrbw4KkBje3M2DftUa8xbGQ=
|
340
|
+
x-token:
|
341
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
342
|
+
accept:
|
343
|
+
- application/vnd.ticketevolution.api+json; version=8
|
344
|
+
accept-encoding:
|
345
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
346
|
+
response: !ruby/struct:VCR::Response
|
347
|
+
status: !ruby/struct:VCR::ResponseStatus
|
348
|
+
code: 200
|
349
|
+
message: OK
|
350
|
+
headers:
|
351
|
+
content-type:
|
352
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
353
|
+
transfer-encoding:
|
354
|
+
- chunked
|
355
|
+
connection:
|
356
|
+
- keep-alive
|
357
|
+
status:
|
358
|
+
- '200'
|
359
|
+
x-powered-by:
|
360
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
361
|
+
etag:
|
362
|
+
- ! '"7cc3b565186bf4f43ecb2b35cf66f795"'
|
363
|
+
x-ua-compatible:
|
364
|
+
- IE=Edge,chrome=1
|
365
|
+
x-runtime:
|
366
|
+
- '0.347997'
|
367
|
+
cache-control:
|
368
|
+
- max-age=0, private, must-revalidate
|
369
|
+
strict-transport-security:
|
370
|
+
- max-age=31536000
|
371
|
+
server:
|
372
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
373
|
+
body: ! '{"total_entries":27,"current_page":1,"clients":[{"email_addresses":[{"label":null,"address":"tyrique@brown.info"}],"addresses":[{"region":"MN","street_address":"035
|
374
|
+
McCullough Manor","postal_code":"68577","latitude":null,"name":null,"country_code":"AI","locality":"West
|
375
|
+
Lambertfort","extended_address":null,"longitude":null}],"office":{"url":"/offices/6","brokerage":{"url":"/brokerages/61","name":"Ticket
|
376
|
+
Evolution","abbreviation":"Ticket Evolution","id":"61"},"name":"Main Office","id":"6"},"phone_numbers":[{"extension":"999","label":null,"country_code":null,"number":"(301)555-1234"}],"url":"/clients/3","updated_at":"2011-08-11T03:12:43Z","name":"Main
|
377
|
+
Office","id":"3"},{"email_addresses":[],"addresses":[{"region":"MG","street_address":"125
|
378
|
+
Street","postal_code":"58008-6072","latitude":null,"name":null,"country_code":"US","locality":"Springfield","extended_address":null,"longitude":null},{"region":null,"street_address":null,"postal_code":null,"latitude":null,"name":null,"country_code":null,"locality":null,"extended_address":null,"longitude":null}],"office":{"url":"/offices/1116","brokerage":{"url":"/brokerages/630","name":"SeatGeek","abbreviation":"Tevo","id":"630"},"name":"Main
|
379
|
+
Office","id":"1116"},"phone_numbers":[],"url":"/clients/1535","updated_at":"2011-08-29T17:08:43Z","name":"Main
|
380
|
+
Office","id":"1535"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2022","updated_at":"2011-12-21T19:26:18Z","name":"Will
|
381
|
+
Smith","id":"2022"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2094","updated_at":"2011-12-30T21:18:39Z","name":"Ms
|
382
|
+
Rogers","id":"2094"},{"email_addresses":[{"label":"work","address":"moe.szyslak@moestavern.com"},{"label":"home","address":"moeissexxxy69@compuserve.com"}],"addresses":[{"region":"MG","street_address":"555
|
383
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":null,"country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"phone_numbers":[{"extension":null,"label":"work
|
384
|
+
fax","country_code":null,"number":"243-6698"},{"extension":null,"label":"work","country_code":null,"number":"243-6697"}],"url":"/clients/2098","updated_at":"2012-01-06T04:30:46Z","name":"Morris
|
385
|
+
“Moe” Szyslak","id":"2098"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2271","updated_at":"2012-01-24T20:27:04Z","name":"Brad
|
386
|
+
Tatum","id":"2271"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2273","updated_at":"2012-01-24T22:23:43Z","name":"jimmy
|
387
|
+
buffet","id":"2273"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2274","updated_at":"2012-01-24T22:30:24Z","name":"Comish
|
388
|
+
Gordon","id":"2274"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2275","updated_at":"2012-01-24T22:49:11Z","name":"Comish
|
389
|
+
Gordon","id":"2275"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2302","updated_at":"2012-01-27T10:16:50Z","name":"John
|
390
|
+
Raj","id":"2302"},{"email_addresses":[{"label":"john","address":"john@riverstonetech.com"},{"label":"john","address":"john@riverstonetech.com"},{"label":"john","address":"john@riverstonetech.com"},{"label":"john","address":"john@riverstonetech.com"},{"label":"john","address":"john@riverstonetech.com"},{"label":"[EMAILLABEL]","address":"[EMAILADDRESS]"}],"addresses":[],"phone_numbers":[{"extension":null,"label":"Office","country_code":null,"number":"877-326-7785"},{"extension":null,"label":"Office","country_code":null,"number":"877-326-7785"}],"url":"/clients/2303","updated_at":"2012-01-27T10:45:12Z","name":"John
|
391
|
+
Raj","id":"2303"},{"email_addresses":[{"label":"Billy","address":"billy@riverstonetech.com"}],"addresses":[{"region":"MG","street_address":"555
|
392
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":null,"country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"phone_numbers":[{"extension":null,"label":"Billy","country_code":null,"number":"877-326-7785"}],"url":"/clients/2307","updated_at":"2012-01-28T06:32:37Z","name":"john","id":"2307"},{"email_addresses":[{"label":"Billy","address":"billy@riverstonetech.com"}],"addresses":[{"region":"MG","street_address":"555
|
393
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":null,"country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"office":{"url":"/offices/2","brokerage":{"url":"/brokerages/86","name":"Circle
|
394
|
+
City Tickets","abbreviation":"Circle City","id":"86"},"name":"Downtown Office","id":"2"},"phone_numbers":[{"extension":null,"label":"Billy","country_code":null,"number":"877-326-7785"}],"url":"/clients/2308","updated_at":"2012-01-28T06:44:34Z","name":"Billy","id":"2308"},{"email_addresses":[{"label":"John","address":"john@riverstonetech.com"},{"label":"Billy","address":"billy@riverstonetech.com"}],"addresses":[{"region":"MG","street_address":"555
|
395
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":null,"country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"office":{"url":"/offices/970","brokerage":{"url":"/brokerages/434","name":"Hello
|
396
|
+
Tickets","abbreviation":"Hello","id":"434"},"name":"Main Office","id":"970"},"phone_numbers":[{"extension":null,"label":"Billy","country_code":null,"number":"877-326-7785"}],"url":"/clients/2310","updated_at":"2012-01-28T07:24:57Z","name":"Billy","id":"2310"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2323","updated_at":"2012-01-31T05:11:02Z","name":"JohnRaj","id":"2323"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2324","updated_at":"2012-01-31T05:38:18Z","name":"JohnRaj","id":"2324"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2325","updated_at":"2012-01-31T05:42:28Z","name":"David","id":"2325"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2326","updated_at":"2012-01-31T05:47:02Z","name":"David
|
397
|
+
Billy","id":"2326"},{"email_addresses":[],"addresses":[],"phone_numbers":[],"url":"/clients/2327","updated_at":"2012-01-31T06:01:19Z","name":"David
|
398
|
+
Billy","id":"2327"},{"email_addresses":[{"label":"John","address":"john@riverstonetech.com"}],"addresses":[{"region":"MG","street_address":"555
|
399
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":null,"country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"phone_numbers":[{"extension":null,"label":"John","country_code":null,"number":"333-444-4444"}],"url":"/clients/2328","updated_at":"2012-01-31T06:06:34Z","name":"David
|
400
|
+
Billy","id":"2328"},{"email_addresses":[{"label":"John","address":"john@riverstonetech.com"}],"addresses":[{"region":"MG","street_address":"555
|
401
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":null,"country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"phone_numbers":[{"extension":null,"label":"John","country_code":null,"number":"333-444-4444"}],"url":"/clients/2329","updated_at":"2012-01-31T07:31:32Z","name":"JohnRaj","id":"2329"},{"email_addresses":[{"label":"Welkins","address":"Welkins@riverstonetech.com"}],"addresses":[{"region":"MG","street_address":"555
|
402
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":null,"country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"phone_numbers":[{"extension":null,"label":"Welkins","country_code":null,"number":"333-444-4444"}],"url":"/clients/2330","updated_at":"2012-01-31T07:38:31Z","name":"Welkins","id":"2330"},{"email_addresses":[{"label":"John","address":"john@riverstonetech.com"}],"addresses":[{"region":"MG","street_address":"555
|
403
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":null,"country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"office":{"url":"/offices/1594","brokerage":{"url":"/brokerages/1609","name":"Ticket
|
404
|
+
Logic Pty Ltd","abbreviation":"Ticket Logic","id":"1609"},"name":"Ticket Logic","id":"1594"},"phone_numbers":[{"extension":null,"label":"John","country_code":null,"number":"333-444-4444"}],"url":"/clients/2332","updated_at":"2012-01-31T08:03:15Z","name":"JohnRaj","id":"2332"},{"email_addresses":[{"label":"Welkins","address":"Welkins@riverstonetech.com"}],"addresses":[{"region":"MG","street_address":"555
|
405
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":null,"country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"office":{"url":"/offices/1593","brokerage":{"url":"/brokerages/1608","name":"Dare
|
406
|
+
Ticket","abbreviation":"Dare Ticket","id":"1608"},"name":"Main Office","id":"1593"},"phone_numbers":[{"extension":null,"label":"Welkins","country_code":null,"number":"333-444-4444"}],"url":"/clients/2333","updated_at":"2012-01-31T08:08:57Z","name":"Welkins","id":"2333"},{"email_addresses":[{"label":"Billy","address":"billy@riverstonetech.com"}],"addresses":[{"region":"MG","street_address":"555
|
407
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":"Billy","country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"phone_numbers":[{"extension":null,"label":"Billy","country_code":null,"number":"877-326-7785"}],"url":"/clients/2355","updated_at":"2012-02-08T05:13:58Z","name":"Billy","id":"2355"},{"email_addresses":[{"label":"Billy","address":"billy@riverstonetech.com"}],"addresses":[{"region":"MG","street_address":"555
|
408
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":"Billy","country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"phone_numbers":[{"extension":null,"label":"Billy","country_code":null,"number":"877-326-7785"}],"url":"/clients/2356","updated_at":"2012-02-08T05:30:28Z","name":"Billy","id":"2356"},{"email_addresses":[{"label":"Billy","address":"billy@riverstonetech.com"}],"addresses":[{"region":"MG","street_address":"555
|
409
|
+
Evergreen Terrace","postal_code":"58008-0000","latitude":null,"name":"Billy","country_code":"US","locality":"Springfield","extended_address":null,"longitude":null}],"office":{"url":"/offices/1583","brokerage":{"url":"/brokerages/1600","name":"Fanprice,
|
410
|
+
Inc.","abbreviation":"Fanprice","id":"1600"},"name":"Main Office","id":"1583"},"phone_numbers":[{"extension":null,"label":"Billy","country_code":null,"number":"877-326-7785"}],"url":"/clients/2359","updated_at":"2012-02-10T06:02:34Z","name":"Billy","id":"2359"}],"per_page":100}'
|
411
|
+
http_version: '1.1'
|
412
|
+
- !ruby/struct:VCR::HTTPInteraction
|
413
|
+
request: !ruby/struct:VCR::Request
|
414
|
+
method: :get
|
415
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2359/addresses
|
416
|
+
body: !!null
|
417
|
+
headers:
|
418
|
+
x-signature:
|
419
|
+
- fiDv7wgSxdmv2nG4hjzRD6V8Ti+7J8P8aijHlZk3ldE=
|
420
|
+
x-token:
|
421
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
422
|
+
accept:
|
423
|
+
- application/vnd.ticketevolution.api+json; version=8
|
424
|
+
accept-encoding:
|
425
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
426
|
+
response: !ruby/struct:VCR::Response
|
427
|
+
status: !ruby/struct:VCR::ResponseStatus
|
428
|
+
code: 200
|
429
|
+
message: OK
|
430
|
+
headers:
|
431
|
+
content-type:
|
432
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
433
|
+
transfer-encoding:
|
434
|
+
- chunked
|
435
|
+
connection:
|
436
|
+
- keep-alive
|
437
|
+
status:
|
438
|
+
- '200'
|
439
|
+
x-powered-by:
|
440
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
441
|
+
etag:
|
442
|
+
- ! '"6755f734cec02f9901dd6711e67f8fc4"'
|
443
|
+
x-ua-compatible:
|
444
|
+
- IE=Edge,chrome=1
|
445
|
+
x-runtime:
|
446
|
+
- '0.053843'
|
447
|
+
cache-control:
|
448
|
+
- max-age=0, private, must-revalidate
|
449
|
+
strict-transport-security:
|
450
|
+
- max-age=31536000
|
451
|
+
server:
|
452
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
453
|
+
body: ! '{"total_entries":1,"addresses":[{"region":"MG","label":"Billy","street_address":"555
|
454
|
+
Evergreen Terrace","postal_code":"58008-0000","url":"/clients/2359/addresses/48597","latitude":null,"updated_at":"2012-02-10T06:25:53Z","name":"Billy","country_code":"US","id":"48597","locality":"Springfield","extended_address":null,"longitude":null}],"current_page":1,"per_page":100}'
|
455
|
+
http_version: '1.1'
|
456
|
+
- !ruby/struct:VCR::HTTPInteraction
|
457
|
+
request: !ruby/struct:VCR::Request
|
458
|
+
method: :post
|
459
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients
|
460
|
+
body: !!null
|
461
|
+
headers:
|
462
|
+
x-signature:
|
463
|
+
- eUQH8qJ9MDhnENYM83QehsKb5k7P/mxuThcPHVCA8lU=
|
464
|
+
x-token:
|
465
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
466
|
+
accept:
|
467
|
+
- application/vnd.ticketevolution.api+json; version=8
|
468
|
+
content-length:
|
469
|
+
- '0'
|
470
|
+
response: !ruby/struct:VCR::Response
|
471
|
+
status: !ruby/struct:VCR::ResponseStatus
|
472
|
+
code: 401
|
473
|
+
message: Unauthorized
|
474
|
+
headers:
|
475
|
+
content-type:
|
476
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
477
|
+
transfer-encoding:
|
478
|
+
- chunked
|
479
|
+
connection:
|
480
|
+
- keep-alive
|
481
|
+
status:
|
482
|
+
- '401'
|
483
|
+
x-powered-by:
|
484
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
485
|
+
x-ua-compatible:
|
486
|
+
- IE=Edge,chrome=1
|
487
|
+
x-runtime:
|
488
|
+
- '0.310506'
|
489
|
+
cache-control:
|
490
|
+
- no-cache
|
491
|
+
strict-transport-security:
|
492
|
+
- max-age=31536000
|
493
|
+
server:
|
494
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
495
|
+
body: ! '{"error":"Your signature is incorrect. Please ensure you are generating
|
496
|
+
it correctly"}'
|
497
|
+
http_version: '1.1'
|
498
|
+
- !ruby/struct:VCR::HTTPInteraction
|
499
|
+
request: !ruby/struct:VCR::Request
|
500
|
+
method: :post
|
501
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients?bob=test
|
502
|
+
body: !!null
|
503
|
+
headers:
|
504
|
+
x-signature:
|
505
|
+
- eUQH8qJ9MDhnENYM83QehsKb5k7P/mxuThcPHVCA8lU=
|
506
|
+
x-token:
|
507
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
508
|
+
accept:
|
509
|
+
- application/vnd.ticketevolution.api+json; version=8
|
510
|
+
content-length:
|
511
|
+
- '0'
|
512
|
+
response: !ruby/struct:VCR::Response
|
513
|
+
status: !ruby/struct:VCR::ResponseStatus
|
514
|
+
code: 401
|
515
|
+
message: Unauthorized
|
516
|
+
headers:
|
517
|
+
content-type:
|
518
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
519
|
+
transfer-encoding:
|
520
|
+
- chunked
|
521
|
+
connection:
|
522
|
+
- keep-alive
|
523
|
+
status:
|
524
|
+
- '401'
|
525
|
+
x-powered-by:
|
526
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
527
|
+
x-ua-compatible:
|
528
|
+
- IE=Edge,chrome=1
|
529
|
+
x-runtime:
|
530
|
+
- '0.340612'
|
531
|
+
cache-control:
|
532
|
+
- no-cache
|
533
|
+
strict-transport-security:
|
534
|
+
- max-age=31536000
|
535
|
+
server:
|
536
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
537
|
+
body: ! '{"error":"Your signature is incorrect. Please ensure you are generating
|
538
|
+
it correctly"}'
|
539
|
+
http_version: '1.1'
|
540
|
+
- !ruby/struct:VCR::HTTPInteraction
|
541
|
+
request: !ruby/struct:VCR::Request
|
542
|
+
method: :post
|
543
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients?clients=%7B:name=%3E%22Comish%20Gordon%22%7D
|
544
|
+
body: !!null
|
545
|
+
headers:
|
546
|
+
x-signature:
|
547
|
+
- eUQH8qJ9MDhnENYM83QehsKb5k7P/mxuThcPHVCA8lU=
|
548
|
+
x-token:
|
549
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
550
|
+
accept:
|
551
|
+
- application/vnd.ticketevolution.api+json; version=8
|
552
|
+
content-length:
|
553
|
+
- '0'
|
554
|
+
response: !ruby/struct:VCR::Response
|
555
|
+
status: !ruby/struct:VCR::ResponseStatus
|
556
|
+
code: 401
|
557
|
+
message: Unauthorized
|
558
|
+
headers:
|
559
|
+
content-type:
|
560
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
561
|
+
transfer-encoding:
|
562
|
+
- chunked
|
563
|
+
connection:
|
564
|
+
- keep-alive
|
565
|
+
status:
|
566
|
+
- '401'
|
567
|
+
x-powered-by:
|
568
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
569
|
+
x-ua-compatible:
|
570
|
+
- IE=Edge,chrome=1
|
571
|
+
x-runtime:
|
572
|
+
- '0.288885'
|
573
|
+
cache-control:
|
574
|
+
- no-cache
|
575
|
+
strict-transport-security:
|
576
|
+
- max-age=31536000
|
577
|
+
server:
|
578
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
579
|
+
body: ! '{"error":"Your signature is incorrect. Please ensure you are generating
|
580
|
+
it correctly"}'
|
581
|
+
http_version: '1.1'
|
582
|
+
- !ruby/struct:VCR::HTTPInteraction
|
583
|
+
request: !ruby/struct:VCR::Request
|
584
|
+
method: :get
|
585
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2362
|
586
|
+
body: !!null
|
587
|
+
headers:
|
588
|
+
x-signature:
|
589
|
+
- IcPb3O++m8bXQuke6A28Rn8L0mrcnubHIIfIlIPLud4=
|
590
|
+
x-token:
|
591
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
592
|
+
accept:
|
593
|
+
- application/vnd.ticketevolution.api+json; version=8
|
594
|
+
accept-encoding:
|
595
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
596
|
+
response: !ruby/struct:VCR::Response
|
597
|
+
status: !ruby/struct:VCR::ResponseStatus
|
598
|
+
code: 200
|
599
|
+
message: OK
|
600
|
+
headers:
|
601
|
+
content-type:
|
602
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
603
|
+
transfer-encoding:
|
604
|
+
- chunked
|
605
|
+
connection:
|
606
|
+
- keep-alive
|
607
|
+
status:
|
608
|
+
- '200'
|
609
|
+
x-powered-by:
|
610
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
611
|
+
etag:
|
612
|
+
- ! '"bef4da6303e8673e0d1a75c8b893a101"'
|
613
|
+
x-ua-compatible:
|
614
|
+
- IE=Edge,chrome=1
|
615
|
+
x-runtime:
|
616
|
+
- '0.060492'
|
617
|
+
cache-control:
|
618
|
+
- max-age=0, private, must-revalidate
|
619
|
+
strict-transport-security:
|
620
|
+
- max-age=31536000
|
621
|
+
server:
|
622
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
623
|
+
body: ! '{"updated_at":"2012-02-21T22:33:37Z","email_addresses":[],"addresses":[],"phone_numbers":[],"name":"Comish
|
624
|
+
Gordon","url":"/clients/2362","id":"2362"}'
|
625
|
+
http_version: '1.1'
|
626
|
+
- !ruby/struct:VCR::HTTPInteraction
|
627
|
+
request: !ruby/struct:VCR::Request
|
628
|
+
method: :get
|
629
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2363
|
630
|
+
body: !!null
|
631
|
+
headers:
|
632
|
+
x-signature:
|
633
|
+
- alm767YtRvhQe/FdZWptV4VKBDZwTAmB2GD+x/yKKb8=
|
634
|
+
x-token:
|
635
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
636
|
+
accept:
|
637
|
+
- application/vnd.ticketevolution.api+json; version=8
|
638
|
+
accept-encoding:
|
639
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
640
|
+
response: !ruby/struct:VCR::Response
|
641
|
+
status: !ruby/struct:VCR::ResponseStatus
|
642
|
+
code: 200
|
643
|
+
message: OK
|
644
|
+
headers:
|
645
|
+
content-type:
|
646
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
647
|
+
transfer-encoding:
|
648
|
+
- chunked
|
649
|
+
connection:
|
650
|
+
- keep-alive
|
651
|
+
status:
|
652
|
+
- '200'
|
653
|
+
x-powered-by:
|
654
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
655
|
+
etag:
|
656
|
+
- ! '"51515e638ef69eb9fc7a9883bd494d20"'
|
657
|
+
x-ua-compatible:
|
658
|
+
- IE=Edge,chrome=1
|
659
|
+
x-runtime:
|
660
|
+
- '0.059034'
|
661
|
+
cache-control:
|
662
|
+
- max-age=0, private, must-revalidate
|
663
|
+
strict-transport-security:
|
664
|
+
- max-age=31536000
|
665
|
+
server:
|
666
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
667
|
+
body: ! '{"updated_at":"2012-02-21T22:37:58Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"Comish
|
668
|
+
Gordon","url":"/clients/2363","id":"2363"}'
|
669
|
+
http_version: '1.1'
|
670
|
+
- !ruby/struct:VCR::HTTPInteraction
|
671
|
+
request: !ruby/struct:VCR::Request
|
672
|
+
method: :post
|
673
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients
|
674
|
+
body: ! '{"clients":[{"name":"James Gordon"}]}'
|
675
|
+
headers:
|
676
|
+
x-signature:
|
677
|
+
- /KNEbnM20jikzDftKQi+TCtKoZHvyuQZQOG3GIcsHbc=
|
678
|
+
x-token:
|
679
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
680
|
+
accept:
|
681
|
+
- application/vnd.ticketevolution.api+json; version=8
|
682
|
+
response: !ruby/struct:VCR::Response
|
683
|
+
status: !ruby/struct:VCR::ResponseStatus
|
684
|
+
code: 500
|
685
|
+
message: Internal Server Error
|
686
|
+
headers:
|
687
|
+
content-type:
|
688
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
689
|
+
transfer-encoding:
|
690
|
+
- chunked
|
691
|
+
connection:
|
692
|
+
- keep-alive
|
693
|
+
status:
|
694
|
+
- '500'
|
695
|
+
x-powered-by:
|
696
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
697
|
+
x-ua-compatible:
|
698
|
+
- IE=Edge,chrome=1
|
699
|
+
x-runtime:
|
700
|
+
- '0.303332'
|
701
|
+
cache-control:
|
702
|
+
- no-cache
|
703
|
+
strict-transport-security:
|
704
|
+
- max-age=31536000
|
705
|
+
server:
|
706
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
707
|
+
body: ! '{"error":"Error"}'
|
708
|
+
http_version: '1.1'
|
709
|
+
- !ruby/struct:VCR::HTTPInteraction
|
710
|
+
request: !ruby/struct:VCR::Request
|
711
|
+
method: :post
|
712
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients
|
713
|
+
body: ! '{"clients":[{"name":""}]}'
|
714
|
+
headers:
|
715
|
+
x-signature:
|
716
|
+
- p98E1mu3XCyp//XqsxaKakNHKnSqeWI0crCOVP6bPSM=
|
717
|
+
x-token:
|
718
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
719
|
+
accept:
|
720
|
+
- application/vnd.ticketevolution.api+json; version=8
|
721
|
+
response: !ruby/struct:VCR::Response
|
722
|
+
status: !ruby/struct:VCR::ResponseStatus
|
723
|
+
code: 422
|
724
|
+
message: Unprocessable Entity
|
725
|
+
headers:
|
726
|
+
content-type:
|
727
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
728
|
+
transfer-encoding:
|
729
|
+
- chunked
|
730
|
+
connection:
|
731
|
+
- keep-alive
|
732
|
+
status:
|
733
|
+
- '422'
|
734
|
+
x-powered-by:
|
735
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
736
|
+
x-ua-compatible:
|
737
|
+
- IE=Edge,chrome=1
|
738
|
+
x-runtime:
|
739
|
+
- '0.052186'
|
740
|
+
cache-control:
|
741
|
+
- no-cache
|
742
|
+
strict-transport-security:
|
743
|
+
- max-age=31536000
|
744
|
+
server:
|
745
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
746
|
+
body: ! '{"clients":[{"updated_at":null,"errors":{"name":["can''t be blank"]},"addresses":[],"email_addresses":[],"phone_numbers":[],"name":null,"id":null}]}'
|
747
|
+
http_version: '1.1'
|
748
|
+
- !ruby/struct:VCR::HTTPInteraction
|
749
|
+
request: !ruby/struct:VCR::Request
|
750
|
+
method: :post
|
751
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients
|
752
|
+
body: ! '{"clients":[{"name":"Comish Gordon"}]}'
|
753
|
+
headers:
|
754
|
+
x-signature:
|
755
|
+
- eUQH8qJ9MDhnENYM83QehsKb5k7P/mxuThcPHVCA8lU=
|
756
|
+
x-token:
|
757
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
758
|
+
accept:
|
759
|
+
- application/vnd.ticketevolution.api+json; version=8
|
760
|
+
response: !ruby/struct:VCR::Response
|
761
|
+
status: !ruby/struct:VCR::ResponseStatus
|
762
|
+
code: 201
|
763
|
+
message: Created
|
764
|
+
headers:
|
765
|
+
content-type:
|
766
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
767
|
+
transfer-encoding:
|
768
|
+
- chunked
|
769
|
+
connection:
|
770
|
+
- keep-alive
|
771
|
+
status:
|
772
|
+
- '201'
|
773
|
+
x-powered-by:
|
774
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
775
|
+
x-ua-compatible:
|
776
|
+
- IE=Edge,chrome=1
|
777
|
+
x-runtime:
|
778
|
+
- '0.205866'
|
779
|
+
cache-control:
|
780
|
+
- no-cache
|
781
|
+
strict-transport-security:
|
782
|
+
- max-age=31536000
|
783
|
+
server:
|
784
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
785
|
+
body: ! '{"clients":[{"updated_at":"2012-02-22T14:54:47Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"Comish
|
786
|
+
Gordon","url":"/clients/2364","id":"2364"}]}'
|
787
|
+
http_version: '1.1'
|
788
|
+
- !ruby/struct:VCR::HTTPInteraction
|
789
|
+
request: !ruby/struct:VCR::Request
|
790
|
+
method: :get
|
791
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2364
|
792
|
+
body: !!null
|
793
|
+
headers:
|
794
|
+
x-signature:
|
795
|
+
- t0+U9cUeLOHMTheTZKfJeTt+hPfv4HQ173TN/rZ7Cqg=
|
796
|
+
x-token:
|
797
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
798
|
+
accept:
|
799
|
+
- application/vnd.ticketevolution.api+json; version=8
|
800
|
+
accept-encoding:
|
801
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
802
|
+
response: !ruby/struct:VCR::Response
|
803
|
+
status: !ruby/struct:VCR::ResponseStatus
|
804
|
+
code: 200
|
805
|
+
message: OK
|
806
|
+
headers:
|
807
|
+
content-type:
|
808
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
809
|
+
transfer-encoding:
|
810
|
+
- chunked
|
811
|
+
connection:
|
812
|
+
- keep-alive
|
813
|
+
status:
|
814
|
+
- '200'
|
815
|
+
x-powered-by:
|
816
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
817
|
+
etag:
|
818
|
+
- ! '"ff630d667483b5b9fdab6f616915fcaa"'
|
819
|
+
x-ua-compatible:
|
820
|
+
- IE=Edge,chrome=1
|
821
|
+
x-runtime:
|
822
|
+
- '0.033686'
|
823
|
+
cache-control:
|
824
|
+
- max-age=0, private, must-revalidate
|
825
|
+
strict-transport-security:
|
826
|
+
- max-age=31536000
|
827
|
+
server:
|
828
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
829
|
+
body: ! '{"updated_at":"2012-02-22T14:54:47Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"Comish
|
830
|
+
Gordon","url":"/clients/2364","id":"2364"}'
|
831
|
+
http_version: '1.1'
|
832
|
+
- !ruby/struct:VCR::HTTPInteraction
|
833
|
+
request: !ruby/struct:VCR::Request
|
834
|
+
method: :get
|
835
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/3/addresses
|
836
|
+
body: !!null
|
837
|
+
headers:
|
838
|
+
x-signature:
|
839
|
+
- APq/BBoPcfvNrgaOfRhClqcnCWJEXZ89M3a2mKSl3cA=
|
840
|
+
x-token:
|
841
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
842
|
+
accept:
|
843
|
+
- application/vnd.ticketevolution.api+json; version=8
|
844
|
+
accept-encoding:
|
845
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
846
|
+
response: !ruby/struct:VCR::Response
|
847
|
+
status: !ruby/struct:VCR::ResponseStatus
|
848
|
+
code: 200
|
849
|
+
message: OK
|
850
|
+
headers:
|
851
|
+
content-type:
|
852
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
853
|
+
transfer-encoding:
|
854
|
+
- chunked
|
855
|
+
connection:
|
856
|
+
- keep-alive
|
857
|
+
status:
|
858
|
+
- '200'
|
859
|
+
x-powered-by:
|
860
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
861
|
+
etag:
|
862
|
+
- ! '"5c4ea522651f1e83780e56a66ca3bc39"'
|
863
|
+
x-ua-compatible:
|
864
|
+
- IE=Edge,chrome=1
|
865
|
+
x-runtime:
|
866
|
+
- '0.057687'
|
867
|
+
cache-control:
|
868
|
+
- max-age=0, private, must-revalidate
|
869
|
+
strict-transport-security:
|
870
|
+
- max-age=31536000
|
871
|
+
server:
|
872
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
873
|
+
body: ! '{"current_page":1,"addresses":[{"updated_at":"2012-01-04T18:55:29Z","latitude":null,"street_address":"035
|
874
|
+
McCullough Manor","locality":"West Lambertfort","extended_address":null,"longitude":null,"country_code":"AI","region":"MN","label":null,"postal_code":"68577","name":null,"url":"/clients/3/addresses/46685","id":"46685"}],"per_page":100,"total_entries":1}'
|
875
|
+
http_version: '1.1'
|
876
|
+
- !ruby/struct:VCR::HTTPInteraction
|
877
|
+
request: !ruby/struct:VCR::Request
|
878
|
+
method: :get
|
879
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/addresses
|
880
|
+
body: !!null
|
881
|
+
headers:
|
882
|
+
x-signature:
|
883
|
+
- LqXlCG7JDLxST4u8SXpVMVftmxL0LJSsXIBoJO76yNQ=
|
884
|
+
x-token:
|
885
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
886
|
+
accept:
|
887
|
+
- application/vnd.ticketevolution.api+json; version=8
|
888
|
+
accept-encoding:
|
889
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
890
|
+
response: !ruby/struct:VCR::Response
|
891
|
+
status: !ruby/struct:VCR::ResponseStatus
|
892
|
+
code: 404
|
893
|
+
message: Not Found
|
894
|
+
headers:
|
895
|
+
content-type:
|
896
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
897
|
+
transfer-encoding:
|
898
|
+
- chunked
|
899
|
+
connection:
|
900
|
+
- keep-alive
|
901
|
+
status:
|
902
|
+
- '404'
|
903
|
+
x-powered-by:
|
904
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
905
|
+
x-ua-compatible:
|
906
|
+
- IE=Edge,chrome=1
|
907
|
+
x-runtime:
|
908
|
+
- '3.312279'
|
909
|
+
cache-control:
|
910
|
+
- no-cache
|
911
|
+
strict-transport-security:
|
912
|
+
- max-age=31536000
|
913
|
+
server:
|
914
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
915
|
+
body: ! '{"error":"Not Found","message":"Couldn''t find Client with ID=addresses"}'
|
916
|
+
http_version: '1.1'
|