ticketevolution-ruby 0.7.3 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. data/README.markdown +8 -1
  2. data/lib/ticket_evolution.rb +8 -4
  3. data/lib/ticket_evolution/account.rb +1 -0
  4. data/lib/ticket_evolution/client.rb +1 -0
  5. data/lib/ticket_evolution/companies.rb +9 -0
  6. data/lib/ticket_evolution/company.rb +5 -0
  7. data/lib/ticket_evolution/core/endpoint/request_handler.rb +1 -1
  8. data/lib/ticket_evolution/core/model.rb +0 -25
  9. data/lib/ticket_evolution/core/model/parental_behavior.rb +25 -0
  10. data/lib/ticket_evolution/modules/create.rb +12 -5
  11. data/lib/ticket_evolution/modules/destroy.rb +31 -0
  12. data/lib/ticket_evolution/modules/show.rb +2 -2
  13. data/lib/ticket_evolution/rate_option.rb +5 -0
  14. data/lib/ticket_evolution/rate_options.rb +6 -0
  15. data/lib/ticket_evolution/track_detail.rb +5 -0
  16. data/lib/ticket_evolution/track_details.rb +6 -0
  17. data/lib/ticket_evolution/version.rb +1 -1
  18. data/spec/fixtures/fake.rb +3 -3
  19. data/spec/fixtures/net/core/connection.yml +124 -116
  20. data/spec/fixtures/net/endpoints/clients/create.yml +222 -178
  21. data/spec/fixtures/net/endpoints/clients/update_fail.yml +684 -605
  22. data/spec/fixtures/net/endpoints/clients/update_success.yml +604 -537
  23. data/spec/fixtures/net/endpoints/company/destroy_error.yml +120 -0
  24. data/spec/fixtures/net/endpoints/company/destroy_success.yml +284 -0
  25. data/spec/fixtures/net/endpoints/track_details/show.yml +58 -0
  26. data/spec/lib/ticket_evolution/account_spec.rb +1 -0
  27. data/spec/lib/ticket_evolution/client_spec.rb +1 -1
  28. data/spec/lib/ticket_evolution/companies_spec.rb +15 -0
  29. data/spec/lib/ticket_evolution/company_spec.rb +39 -0
  30. data/spec/lib/ticket_evolution/core/model_spec.rb +0 -18
  31. data/spec/lib/ticket_evolution/rate_option_spec.rb +8 -0
  32. data/spec/lib/ticket_evolution/rate_options_spec.rb +7 -0
  33. data/spec/lib/ticket_evolution/track_detail_spec.rb +8 -0
  34. data/spec/lib/ticket_evolution/track_details_spec.rb +32 -0
  35. data/spec/shared_examples/endpoints/create.rb +28 -8
  36. data/spec/shared_examples/endpoints/destroy.rb +67 -0
  37. data/spec/shared_examples/endpoints/show.rb +1 -1
  38. data/spec/shared_examples/models.rb +38 -0
  39. data/spec/spec_helper.rb +1 -0
  40. data/spec/support/stub_models.rb +20 -0
  41. data/ticketevolution-ruby.gemspec +1 -1
  42. metadata +55 -27
  43. data/lib/ticket_evolution/core/models/samples.rb +0 -11
  44. data/lib/ticket_evolution/core/samples.rb +0 -6
@@ -1,287 +1,331 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
4
  method: :post
5
5
  uri: https://api.sandbox.ticketevolution.com:443/clients
6
- body: ! '{"clients":[{"name":""}]}'
7
- headers:
8
- accept:
6
+ body: "{\"clients\":[{\"name\":\"\"}]}"
7
+ headers:
8
+ accept:
9
9
  - application/vnd.ticketevolution.api+json; version=8
10
- x-signature:
10
+ x-signature:
11
11
  - p98E1mu3XCyp//XqsxaKakNHKnSqeWI0crCOVP6bPSM=
12
- x-token:
12
+ x-token:
13
13
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
14
- response: !ruby/struct:VCR::Response
15
- status: !ruby/struct:VCR::ResponseStatus
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
16
  code: 422
17
17
  message: Unprocessable Entity
18
- headers:
19
- content-type:
18
+ headers:
19
+ content-type:
20
20
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
21
- transfer-encoding:
21
+ transfer-encoding:
22
22
  - chunked
23
- connection:
23
+ connection:
24
24
  - keep-alive
25
- status:
26
- - '422'
27
- x-powered-by:
25
+ status:
26
+ - "422"
27
+ x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
- x-ua-compatible:
29
+ x-ua-compatible:
30
30
  - IE=Edge,chrome=1
31
- x-runtime:
32
- - '0.037097'
33
- cache-control:
31
+ x-runtime:
32
+ - "0.037097"
33
+ cache-control:
34
34
  - no-cache
35
- strict-transport-security:
35
+ strict-transport-security:
36
36
  - max-age=31536000
37
- server:
37
+ server:
38
38
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
39
- body: ! '{"clients":[{"updated_at":null,"errors":{"name":["can''t be blank"]},"addresses":[],"email_addresses":[],"phone_numbers":[],"name":null,"id":null}]}'
40
- http_version: '1.1'
41
- - !ruby/struct:VCR::HTTPInteraction
42
- request: !ruby/struct:VCR::Request
39
+ body: "{\"clients\":[{\"updated_at\":null,\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"id\":null}]}"
40
+ http_version: "1.1"
41
+ - !ruby/struct:VCR::HTTPInteraction
42
+ request: !ruby/struct:VCR::Request
43
43
  method: :post
44
44
  uri: https://api.sandbox.ticketevolution.com:443/clients
45
- body: ! '{"clients":[{"name":""}]}'
46
- headers:
47
- accept:
45
+ body: "{\"clients\":[{\"name\":\"\"}]}"
46
+ headers:
47
+ accept:
48
48
  - application/vnd.ticketevolution.api+json; version=8
49
- x-signature:
49
+ x-signature:
50
50
  - p98E1mu3XCyp//XqsxaKakNHKnSqeWI0crCOVP6bPSM=
51
- x-token:
51
+ x-token:
52
52
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
53
- response: !ruby/struct:VCR::Response
54
- status: !ruby/struct:VCR::ResponseStatus
53
+ response: !ruby/struct:VCR::Response
54
+ status: !ruby/struct:VCR::ResponseStatus
55
55
  code: 422
56
56
  message: Unprocessable Entity
57
- headers:
58
- content-type:
57
+ headers:
58
+ content-type:
59
59
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
60
- transfer-encoding:
60
+ transfer-encoding:
61
61
  - chunked
62
- connection:
62
+ connection:
63
63
  - keep-alive
64
- status:
65
- - '422'
66
- x-powered-by:
64
+ status:
65
+ - "422"
66
+ x-powered-by:
67
67
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
68
- x-ua-compatible:
68
+ x-ua-compatible:
69
69
  - IE=Edge,chrome=1
70
- x-runtime:
71
- - '0.037097'
72
- cache-control:
70
+ x-runtime:
71
+ - "0.037097"
72
+ cache-control:
73
73
  - no-cache
74
- strict-transport-security:
74
+ strict-transport-security:
75
75
  - max-age=31536000
76
- server:
76
+ server:
77
77
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
78
- body: ! '{"clients":[{"updated_at":null,"errors":{"name":["can''t be blank"]},"addresses":[],"email_addresses":[],"phone_numbers":[],"name":null,"id":null}]}'
79
- http_version: '1.1'
80
- - !ruby/struct:VCR::HTTPInteraction
81
- request: !ruby/struct:VCR::Request
78
+ body: "{\"clients\":[{\"updated_at\":null,\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"id\":null}]}"
79
+ http_version: "1.1"
80
+ - !ruby/struct:VCR::HTTPInteraction
81
+ request: !ruby/struct:VCR::Request
82
82
  method: :post
83
83
  uri: https://api.sandbox.ticketevolution.com:443/clients
84
- body: ! '{"clients":[{"name":"Comish Gordon"}]}'
85
- headers:
86
- accept:
84
+ body: "{\"clients\":[{\"name\":\"Comish Gordon\"}]}"
85
+ headers:
86
+ accept:
87
87
  - application/vnd.ticketevolution.api+json; version=8
88
- x-signature:
88
+ x-signature:
89
89
  - eUQH8qJ9MDhnENYM83QehsKb5k7P/mxuThcPHVCA8lU=
90
- x-token:
90
+ x-token:
91
91
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
92
- response: !ruby/struct:VCR::Response
93
- status: !ruby/struct:VCR::ResponseStatus
92
+ response: !ruby/struct:VCR::Response
93
+ status: !ruby/struct:VCR::ResponseStatus
94
94
  code: 201
95
95
  message: Created
96
- headers:
97
- content-type:
96
+ headers:
97
+ content-type:
98
98
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
99
- transfer-encoding:
99
+ transfer-encoding:
100
100
  - chunked
101
- connection:
101
+ connection:
102
102
  - keep-alive
103
- status:
104
- - '201'
105
- x-powered-by:
103
+ status:
104
+ - "201"
105
+ x-powered-by:
106
106
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
107
- x-ua-compatible:
107
+ x-ua-compatible:
108
108
  - IE=Edge,chrome=1
109
- x-runtime:
110
- - '0.089761'
111
- cache-control:
109
+ x-runtime:
110
+ - "0.089761"
111
+ cache-control:
112
112
  - no-cache
113
- strict-transport-security:
113
+ strict-transport-security:
114
114
  - max-age=31536000
115
- server:
115
+ server:
116
116
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
117
- body: ! '{"clients":[{"updated_at":"2012-02-22T16:05:23Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"Comish
118
- Gordon","url":"/clients/2366","id":"2366"}]}'
119
- http_version: '1.1'
120
- - !ruby/struct:VCR::HTTPInteraction
121
- request: !ruby/struct:VCR::Request
117
+ body: "{\"clients\":[{\"updated_at\":\"2012-02-22T16:05:23Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"Comish Gordon\",\"url\":\"/clients/2366\",\"id\":\"2366\"}]}"
118
+ http_version: "1.1"
119
+ - !ruby/struct:VCR::HTTPInteraction
120
+ request: !ruby/struct:VCR::Request
122
121
  method: :post
123
122
  uri: https://api.sandbox.ticketevolution.com:443/clients
124
- body: ! '{"clients":[{"name":"Comish Gordon"}]}'
125
- headers:
126
- accept:
123
+ body: "{\"clients\":[{\"name\":\"Comish Gordon\"}]}"
124
+ headers:
125
+ accept:
127
126
  - application/vnd.ticketevolution.api+json; version=8
128
- x-signature:
127
+ x-signature:
129
128
  - eUQH8qJ9MDhnENYM83QehsKb5k7P/mxuThcPHVCA8lU=
130
- x-token:
129
+ x-token:
131
130
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
132
- response: !ruby/struct:VCR::Response
133
- status: !ruby/struct:VCR::ResponseStatus
131
+ response: !ruby/struct:VCR::Response
132
+ status: !ruby/struct:VCR::ResponseStatus
134
133
  code: 201
135
134
  message: Created
136
- headers:
137
- content-type:
135
+ headers:
136
+ content-type:
138
137
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
139
- transfer-encoding:
138
+ transfer-encoding:
140
139
  - chunked
141
- connection:
140
+ connection:
142
141
  - keep-alive
143
- status:
144
- - '201'
145
- x-powered-by:
142
+ status:
143
+ - "201"
144
+ x-powered-by:
146
145
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
147
- x-ua-compatible:
146
+ x-ua-compatible:
148
147
  - IE=Edge,chrome=1
149
- x-runtime:
150
- - '0.089761'
151
- cache-control:
148
+ x-runtime:
149
+ - "0.089761"
150
+ cache-control:
152
151
  - no-cache
153
- strict-transport-security:
152
+ strict-transport-security:
154
153
  - max-age=31536000
155
- server:
154
+ server:
156
155
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
157
- body: ! '{"clients":[{"updated_at":"2012-02-22T16:05:23Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"Comish
158
- Gordon","url":"/clients/2366","id":"2366"}]}'
159
- http_version: '1.1'
160
- - !ruby/struct:VCR::HTTPInteraction
161
- request: !ruby/struct:VCR::Request
156
+ body: "{\"clients\":[{\"updated_at\":\"2012-02-22T16:05:23Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"Comish Gordon\",\"url\":\"/clients/2366\",\"id\":\"2366\"}]}"
157
+ http_version: "1.1"
158
+ - !ruby/struct:VCR::HTTPInteraction
159
+ request: !ruby/struct:VCR::Request
162
160
  method: :get
163
161
  uri: https://api.sandbox.ticketevolution.com:443/clients/2366?
164
162
  body: !!null
165
- headers:
166
- accept:
163
+ str: ""
164
+ :@taguri: x-private:null
165
+ headers:
166
+ accept:
167
167
  - application/vnd.ticketevolution.api+json; version=8
168
- x-signature:
168
+ x-signature:
169
169
  - 9aSfCdreydgsQBoYtqNVugZjX5EsyVTvixq1KLByxAE=
170
- x-token:
170
+ x-token:
171
171
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
172
- response: !ruby/struct:VCR::Response
173
- status: !ruby/struct:VCR::ResponseStatus
172
+ response: !ruby/struct:VCR::Response
173
+ status: !ruby/struct:VCR::ResponseStatus
174
174
  code: 200
175
175
  message: OK
176
- headers:
177
- content-type:
176
+ headers:
177
+ content-type:
178
178
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
179
- transfer-encoding:
179
+ transfer-encoding:
180
180
  - chunked
181
- connection:
181
+ connection:
182
182
  - keep-alive
183
- status:
184
- - '200'
185
- x-powered-by:
183
+ status:
184
+ - "200"
185
+ x-powered-by:
186
186
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
187
- etag:
188
- - ! '"f5602239626c18d911702439807d7ea7"'
189
- x-ua-compatible:
187
+ etag:
188
+ - "\"f5602239626c18d911702439807d7ea7\""
189
+ x-ua-compatible:
190
190
  - IE=Edge,chrome=1
191
- x-runtime:
192
- - '0.035674'
193
- cache-control:
191
+ x-runtime:
192
+ - "0.035674"
193
+ cache-control:
194
194
  - max-age=0, private, must-revalidate
195
- strict-transport-security:
195
+ strict-transport-security:
196
196
  - max-age=31536000
197
- server:
197
+ server:
198
198
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
199
- body: ! '{"updated_at":"2012-02-22T16:05:23Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"Comish
200
- Gordon","url":"/clients/2366","id":"2366"}'
201
- http_version: '1.1'
202
- - !ruby/struct:VCR::HTTPInteraction
203
- request: !ruby/struct:VCR::Request
199
+ body: "{\"updated_at\":\"2012-02-22T16:05:23Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"Comish Gordon\",\"url\":\"/clients/2366\",\"id\":\"2366\"}"
200
+ http_version: "1.1"
201
+ - !ruby/struct:VCR::HTTPInteraction
202
+ request: !ruby/struct:VCR::Request
204
203
  method: :get
205
204
  uri: https://api.sandbox.ticketevolution.com:443/clients/2366?
206
205
  body: !!null
207
- headers:
208
- accept:
206
+ str: ""
207
+ :@taguri: x-private:null
208
+ headers:
209
+ accept:
209
210
  - application/vnd.ticketevolution.api+json; version=8
210
- x-signature:
211
+ x-signature:
211
212
  - 9aSfCdreydgsQBoYtqNVugZjX5EsyVTvixq1KLByxAE=
212
- x-token:
213
+ x-token:
213
214
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
214
- response: !ruby/struct:VCR::Response
215
- status: !ruby/struct:VCR::ResponseStatus
215
+ response: !ruby/struct:VCR::Response
216
+ status: !ruby/struct:VCR::ResponseStatus
216
217
  code: 200
217
218
  message: OK
218
- headers:
219
- content-type:
219
+ headers:
220
+ content-type:
220
221
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
221
- transfer-encoding:
222
+ transfer-encoding:
222
223
  - chunked
223
- connection:
224
+ connection:
224
225
  - keep-alive
225
- status:
226
- - '200'
227
- x-powered-by:
226
+ status:
227
+ - "200"
228
+ x-powered-by:
228
229
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
229
- etag:
230
- - ! '"f5602239626c18d911702439807d7ea7"'
231
- x-ua-compatible:
230
+ etag:
231
+ - "\"f5602239626c18d911702439807d7ea7\""
232
+ x-ua-compatible:
232
233
  - IE=Edge,chrome=1
233
- x-runtime:
234
- - '0.035674'
235
- cache-control:
234
+ x-runtime:
235
+ - "0.035674"
236
+ cache-control:
236
237
  - max-age=0, private, must-revalidate
237
- strict-transport-security:
238
+ strict-transport-security:
238
239
  - max-age=31536000
239
- server:
240
+ server:
240
241
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
241
- body: ! '{"updated_at":"2012-02-22T16:05:23Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"Comish
242
- Gordon","url":"/clients/2366","id":"2366"}'
243
- http_version: '1.1'
244
- - !ruby/struct:VCR::HTTPInteraction
245
- request: !ruby/struct:VCR::Request
242
+ body: "{\"updated_at\":\"2012-02-22T16:05:23Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"Comish Gordon\",\"url\":\"/clients/2366\",\"id\":\"2366\"}"
243
+ http_version: "1.1"
244
+ - !ruby/struct:VCR::HTTPInteraction
245
+ request: !ruby/struct:VCR::Request
246
246
  method: :get
247
247
  uri: https://api.sandbox.ticketevolution.com:443/clients/2366
248
248
  body: !!null
249
- headers:
250
- x-signature:
249
+ str: ""
250
+ :@taguri: x-private:null
251
+ headers:
252
+ x-signature:
251
253
  - 9aSfCdreydgsQBoYtqNVugZjX5EsyVTvixq1KLByxAE=
252
- x-token:
254
+ x-token:
253
255
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
254
- accept:
256
+ accept:
255
257
  - application/vnd.ticketevolution.api+json; version=8
256
- accept-encoding:
258
+ accept-encoding:
257
259
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
258
- response: !ruby/struct:VCR::Response
259
- status: !ruby/struct:VCR::ResponseStatus
260
+ response: !ruby/struct:VCR::Response
261
+ status: !ruby/struct:VCR::ResponseStatus
260
262
  code: 200
261
263
  message: OK
262
- headers:
263
- content-type:
264
+ headers:
265
+ content-type:
264
266
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
265
- transfer-encoding:
267
+ transfer-encoding:
266
268
  - chunked
267
- connection:
269
+ connection:
268
270
  - keep-alive
269
- status:
270
- - '200'
271
- x-powered-by:
271
+ status:
272
+ - "200"
273
+ x-powered-by:
272
274
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
273
- etag:
274
- - ! '"f5602239626c18d911702439807d7ea7"'
275
- x-ua-compatible:
275
+ etag:
276
+ - "\"f5602239626c18d911702439807d7ea7\""
277
+ x-ua-compatible:
276
278
  - IE=Edge,chrome=1
277
- x-runtime:
278
- - '0.040616'
279
- cache-control:
279
+ x-runtime:
280
+ - "0.040616"
281
+ cache-control:
280
282
  - max-age=0, private, must-revalidate
281
- strict-transport-security:
283
+ strict-transport-security:
282
284
  - max-age=31536000
283
- server:
285
+ server:
284
286
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
285
- body: ! '{"updated_at":"2012-02-22T16:05:23Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"Comish
286
- Gordon","url":"/clients/2366","id":"2366"}'
287
- http_version: '1.1'
287
+ body: "{\"updated_at\":\"2012-02-22T16:05:23Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"Comish Gordon\",\"url\":\"/clients/2366\",\"id\":\"2366\"}"
288
+ http_version: "1.1"
289
+ - !ruby/struct:VCR::HTTPInteraction
290
+ request: !ruby/struct:VCR::Request
291
+ method: :get
292
+ uri: https://api.sandbox.ticketevolution.com:443/clients/2366
293
+ body:
294
+ headers:
295
+ x-signature:
296
+ - 9aSfCdreydgsQBoYtqNVugZjX5EsyVTvixq1KLByxAE=
297
+ x-token:
298
+ - b2b5a7a33b1a78896ed1b53d81c5c9cc
299
+ accept:
300
+ - application/vnd.ticketevolution.api+json; version=8
301
+ accept-encoding:
302
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
303
+ response: !ruby/struct:VCR::Response
304
+ status: !ruby/struct:VCR::ResponseStatus
305
+ code: 200
306
+ message: OK
307
+ headers:
308
+ content-type:
309
+ - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
310
+ transfer-encoding:
311
+ - chunked
312
+ connection:
313
+ - keep-alive
314
+ status:
315
+ - "200"
316
+ x-powered-by:
317
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.11
318
+ etag:
319
+ - "\"38599f4150dfa02a363d0cf8f82d866c\""
320
+ cache-control:
321
+ - max-age=0, private, must-revalidate
322
+ x-runtime:
323
+ - "0.472610"
324
+ x-ua-compatible:
325
+ - IE=Edge,chrome=1
326
+ strict-transport-security:
327
+ - max-age=31536000
328
+ server:
329
+ - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
330
+ body: "{\"updated_at\":\"2012-02-22T16:05:23Z\",\"phone_numbers\":[],\"email_addresses\":[],\"addresses\":[{\"latitude\":null,\"postal_code\":\"60618\",\"longitude\":null,\"street_address\":\"4119 n shefield\",\"extended_address\":\"apt 342\",\"locality\":\"Chicago\",\"label\":\"shipping\",\"name\":\"John Doe\",\"id\":\"162824\",\"country_code\":\"US\",\"region\":\"IL\"},{\"latitude\":null,\"postal_code\":\"60618\",\"longitude\":null,\"street_address\":\"4119 n shefield\",\"extended_address\":\"apt 342\",\"locality\":\"Chicago\",\"label\":\"billing\",\"name\":\"John Doe\",\"id\":\"162825\",\"country_code\":\"US\",\"region\":\"IL\"}],\"tags\":[],\"company\":null,\"name\":\"Comish Gordon\",\"id\":\"2366\",\"url\":\"/clients/2366\"}"
331
+ http_version: "1.1"