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,870 +1,937 @@
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: :put
5
5
  uri: https://api.sandbox.ticketevolution.com:443/clients/2396
6
6
  body: !!null
7
- headers:
8
- accept:
7
+ str: ""
8
+ :@taguri: x-private:null
9
+ headers:
10
+ accept:
9
11
  - application/vnd.ticketevolution.api+json; version=8
10
- x-signature:
12
+ x-signature:
11
13
  - 7erxJ4+aZE4seVEaOyhPQaooa7uWoS2AwdNeCN8D0qQ=
12
- x-token:
14
+ x-token:
13
15
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
14
- response: !ruby/struct:VCR::Response
15
- status: !ruby/struct:VCR::ResponseStatus
16
+ response: !ruby/struct:VCR::Response
17
+ status: !ruby/struct:VCR::ResponseStatus
16
18
  code: 200
17
19
  message: OK
18
- headers:
19
- content-type:
20
+ headers:
21
+ content-type:
20
22
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
21
- transfer-encoding:
23
+ transfer-encoding:
22
24
  - chunked
23
- connection:
25
+ connection:
24
26
  - keep-alive
25
- status:
26
- - '200'
27
- x-powered-by:
27
+ status:
28
+ - "200"
29
+ x-powered-by:
28
30
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
- etag:
30
- - ! '"b8c467818fffa0a8808b91b86f694905"'
31
- x-ua-compatible:
31
+ etag:
32
+ - "\"b8c467818fffa0a8808b91b86f694905\""
33
+ x-ua-compatible:
32
34
  - IE=Edge,chrome=1
33
- x-runtime:
34
- - '0.058415'
35
- cache-control:
35
+ x-runtime:
36
+ - "0.058415"
37
+ cache-control:
36
38
  - max-age=0, private, must-revalidate
37
- strict-transport-security:
39
+ strict-transport-security:
38
40
  - max-age=31536000
39
- server:
41
+ server:
40
42
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
41
- body: ! '{"updated_at":"2012-02-22T16:52:02Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2396","id":"2396"}'
42
- http_version: '1.1'
43
- - !ruby/struct:VCR::HTTPInteraction
44
- request: !ruby/struct:VCR::Request
43
+ body: "{\"updated_at\":\"2012-02-22T16:52:02Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2396\",\"id\":\"2396\"}"
44
+ http_version: "1.1"
45
+ - !ruby/struct:VCR::HTTPInteraction
46
+ request: !ruby/struct:VCR::Request
45
47
  method: :put
46
48
  uri: https://api.sandbox.ticketevolution.com:443/clients/2396
47
49
  body: !!null
48
- headers:
49
- accept:
50
+ str: ""
51
+ :@taguri: x-private:null
52
+ headers:
53
+ accept:
50
54
  - application/vnd.ticketevolution.api+json; version=8
51
- x-signature:
55
+ x-signature:
52
56
  - 7erxJ4+aZE4seVEaOyhPQaooa7uWoS2AwdNeCN8D0qQ=
53
- x-token:
57
+ x-token:
54
58
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
55
- response: !ruby/struct:VCR::Response
56
- status: !ruby/struct:VCR::ResponseStatus
59
+ response: !ruby/struct:VCR::Response
60
+ status: !ruby/struct:VCR::ResponseStatus
57
61
  code: 200
58
62
  message: OK
59
- headers:
60
- content-type:
63
+ headers:
64
+ content-type:
61
65
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
62
- transfer-encoding:
66
+ transfer-encoding:
63
67
  - chunked
64
- connection:
68
+ connection:
65
69
  - keep-alive
66
- status:
67
- - '200'
68
- x-powered-by:
70
+ status:
71
+ - "200"
72
+ x-powered-by:
69
73
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
70
- etag:
71
- - ! '"b8c467818fffa0a8808b91b86f694905"'
72
- x-ua-compatible:
74
+ etag:
75
+ - "\"b8c467818fffa0a8808b91b86f694905\""
76
+ x-ua-compatible:
73
77
  - IE=Edge,chrome=1
74
- x-runtime:
75
- - '0.058415'
76
- cache-control:
78
+ x-runtime:
79
+ - "0.058415"
80
+ cache-control:
77
81
  - max-age=0, private, must-revalidate
78
- strict-transport-security:
82
+ strict-transport-security:
79
83
  - max-age=31536000
80
- server:
84
+ server:
81
85
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
82
- body: ! '{"updated_at":"2012-02-22T16:52:02Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2396","id":"2396"}'
83
- http_version: '1.1'
84
- - !ruby/struct:VCR::HTTPInteraction
85
- request: !ruby/struct:VCR::Request
86
+ body: "{\"updated_at\":\"2012-02-22T16:52:02Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2396\",\"id\":\"2396\"}"
87
+ http_version: "1.1"
88
+ - !ruby/struct:VCR::HTTPInteraction
89
+ request: !ruby/struct:VCR::Request
86
90
  method: :get
87
91
  uri: https://api.sandbox.ticketevolution.com:443/clients/2396?
88
92
  body: !!null
89
- headers:
90
- accept:
93
+ str: ""
94
+ :@taguri: x-private:null
95
+ headers:
96
+ accept:
91
97
  - application/vnd.ticketevolution.api+json; version=8
92
- x-signature:
98
+ x-signature:
93
99
  - yL/FzLbX4GLucvyTmSNoi8AxHg5hUaFzmYrLYu6TQUM=
94
- x-token:
100
+ x-token:
95
101
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
96
- response: !ruby/struct:VCR::Response
97
- status: !ruby/struct:VCR::ResponseStatus
102
+ response: !ruby/struct:VCR::Response
103
+ status: !ruby/struct:VCR::ResponseStatus
98
104
  code: 200
99
105
  message: OK
100
- headers:
101
- content-type:
106
+ headers:
107
+ content-type:
102
108
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
103
- transfer-encoding:
109
+ transfer-encoding:
104
110
  - chunked
105
- connection:
111
+ connection:
106
112
  - keep-alive
107
- status:
108
- - '200'
109
- x-powered-by:
113
+ status:
114
+ - "200"
115
+ x-powered-by:
110
116
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
111
- etag:
112
- - ! '"b8c467818fffa0a8808b91b86f694905"'
113
- x-ua-compatible:
117
+ etag:
118
+ - "\"b8c467818fffa0a8808b91b86f694905\""
119
+ x-ua-compatible:
114
120
  - IE=Edge,chrome=1
115
- x-runtime:
116
- - '0.463169'
117
- cache-control:
121
+ x-runtime:
122
+ - "0.463169"
123
+ cache-control:
118
124
  - max-age=0, private, must-revalidate
119
- strict-transport-security:
125
+ strict-transport-security:
120
126
  - max-age=31536000
121
- server:
127
+ server:
122
128
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
123
- body: ! '{"updated_at":"2012-02-22T16:52:02Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2396","id":"2396"}'
124
- http_version: '1.1'
125
- - !ruby/struct:VCR::HTTPInteraction
126
- request: !ruby/struct:VCR::Request
129
+ body: "{\"updated_at\":\"2012-02-22T16:52:02Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2396\",\"id\":\"2396\"}"
130
+ http_version: "1.1"
131
+ - !ruby/struct:VCR::HTTPInteraction
132
+ request: !ruby/struct:VCR::Request
127
133
  method: :get
128
134
  uri: https://api.sandbox.ticketevolution.com:443/clients/2396?
129
135
  body: !!null
130
- headers:
131
- accept:
136
+ str: ""
137
+ :@taguri: x-private:null
138
+ headers:
139
+ accept:
132
140
  - application/vnd.ticketevolution.api+json; version=8
133
- x-signature:
141
+ x-signature:
134
142
  - yL/FzLbX4GLucvyTmSNoi8AxHg5hUaFzmYrLYu6TQUM=
135
- x-token:
143
+ x-token:
136
144
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
137
- response: !ruby/struct:VCR::Response
138
- status: !ruby/struct:VCR::ResponseStatus
145
+ response: !ruby/struct:VCR::Response
146
+ status: !ruby/struct:VCR::ResponseStatus
139
147
  code: 200
140
148
  message: OK
141
- headers:
142
- content-type:
149
+ headers:
150
+ content-type:
143
151
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
144
- transfer-encoding:
152
+ transfer-encoding:
145
153
  - chunked
146
- connection:
154
+ connection:
147
155
  - keep-alive
148
- status:
149
- - '200'
150
- x-powered-by:
156
+ status:
157
+ - "200"
158
+ x-powered-by:
151
159
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
152
- etag:
153
- - ! '"b8c467818fffa0a8808b91b86f694905"'
154
- x-ua-compatible:
160
+ etag:
161
+ - "\"b8c467818fffa0a8808b91b86f694905\""
162
+ x-ua-compatible:
155
163
  - IE=Edge,chrome=1
156
- x-runtime:
157
- - '0.463169'
158
- cache-control:
164
+ x-runtime:
165
+ - "0.463169"
166
+ cache-control:
159
167
  - max-age=0, private, must-revalidate
160
- strict-transport-security:
168
+ strict-transport-security:
161
169
  - max-age=31536000
162
- server:
170
+ server:
163
171
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
164
- body: ! '{"updated_at":"2012-02-22T16:52:02Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2396","id":"2396"}'
165
- http_version: '1.1'
166
- - !ruby/struct:VCR::HTTPInteraction
167
- request: !ruby/struct:VCR::Request
172
+ body: "{\"updated_at\":\"2012-02-22T16:52:02Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2396\",\"id\":\"2396\"}"
173
+ http_version: "1.1"
174
+ - !ruby/struct:VCR::HTTPInteraction
175
+ request: !ruby/struct:VCR::Request
168
176
  method: :put
169
177
  uri: https://api.sandbox.ticketevolution.com:443/clients/2398
170
178
  body: !!null
171
- headers:
172
- accept:
179
+ str: ""
180
+ :@taguri: x-private:null
181
+ headers:
182
+ accept:
173
183
  - application/vnd.ticketevolution.api+json; version=8
174
- x-signature:
184
+ x-signature:
175
185
  - fJprvXg0GrXZ7g971YUZcKEesLxx4DI/V1cvthaBbBo=
176
- x-token:
186
+ x-token:
177
187
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
178
- response: !ruby/struct:VCR::Response
179
- status: !ruby/struct:VCR::ResponseStatus
188
+ response: !ruby/struct:VCR::Response
189
+ status: !ruby/struct:VCR::ResponseStatus
180
190
  code: 200
181
191
  message: OK
182
- headers:
183
- content-type:
192
+ headers:
193
+ content-type:
184
194
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
185
- transfer-encoding:
195
+ transfer-encoding:
186
196
  - chunked
187
- connection:
197
+ connection:
188
198
  - keep-alive
189
- status:
190
- - '200'
191
- x-powered-by:
199
+ status:
200
+ - "200"
201
+ x-powered-by:
192
202
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
193
- etag:
194
- - ! '"2031976ae6a1ed68506e480836f5009e"'
195
- x-ua-compatible:
203
+ etag:
204
+ - "\"2031976ae6a1ed68506e480836f5009e\""
205
+ x-ua-compatible:
196
206
  - IE=Edge,chrome=1
197
- x-runtime:
198
- - '0.060569'
199
- cache-control:
207
+ x-runtime:
208
+ - "0.060569"
209
+ cache-control:
200
210
  - max-age=0, private, must-revalidate
201
- strict-transport-security:
211
+ strict-transport-security:
202
212
  - max-age=31536000
203
- server:
213
+ server:
204
214
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
205
- body: ! '{"updated_at":"2012-02-22T16:53:24Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2398","id":"2398"}'
206
- http_version: '1.1'
207
- - !ruby/struct:VCR::HTTPInteraction
208
- request: !ruby/struct:VCR::Request
215
+ body: "{\"updated_at\":\"2012-02-22T16:53:24Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2398\",\"id\":\"2398\"}"
216
+ http_version: "1.1"
217
+ - !ruby/struct:VCR::HTTPInteraction
218
+ request: !ruby/struct:VCR::Request
209
219
  method: :put
210
220
  uri: https://api.sandbox.ticketevolution.com:443/clients/2398
211
221
  body: !!null
212
- headers:
213
- accept:
222
+ str: ""
223
+ :@taguri: x-private:null
224
+ headers:
225
+ accept:
214
226
  - application/vnd.ticketevolution.api+json; version=8
215
- x-signature:
227
+ x-signature:
216
228
  - fJprvXg0GrXZ7g971YUZcKEesLxx4DI/V1cvthaBbBo=
217
- x-token:
229
+ x-token:
218
230
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
219
- response: !ruby/struct:VCR::Response
220
- status: !ruby/struct:VCR::ResponseStatus
231
+ response: !ruby/struct:VCR::Response
232
+ status: !ruby/struct:VCR::ResponseStatus
221
233
  code: 200
222
234
  message: OK
223
- headers:
224
- content-type:
235
+ headers:
236
+ content-type:
225
237
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
226
- transfer-encoding:
238
+ transfer-encoding:
227
239
  - chunked
228
- connection:
240
+ connection:
229
241
  - keep-alive
230
- status:
231
- - '200'
232
- x-powered-by:
242
+ status:
243
+ - "200"
244
+ x-powered-by:
233
245
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
234
- etag:
235
- - ! '"2031976ae6a1ed68506e480836f5009e"'
236
- x-ua-compatible:
246
+ etag:
247
+ - "\"2031976ae6a1ed68506e480836f5009e\""
248
+ x-ua-compatible:
237
249
  - IE=Edge,chrome=1
238
- x-runtime:
239
- - '0.060569'
240
- cache-control:
250
+ x-runtime:
251
+ - "0.060569"
252
+ cache-control:
241
253
  - max-age=0, private, must-revalidate
242
- strict-transport-security:
254
+ strict-transport-security:
243
255
  - max-age=31536000
244
- server:
256
+ server:
245
257
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
246
- body: ! '{"updated_at":"2012-02-22T16:53:24Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2398","id":"2398"}'
247
- http_version: '1.1'
248
- - !ruby/struct:VCR::HTTPInteraction
249
- request: !ruby/struct:VCR::Request
258
+ body: "{\"updated_at\":\"2012-02-22T16:53:24Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2398\",\"id\":\"2398\"}"
259
+ http_version: "1.1"
260
+ - !ruby/struct:VCR::HTTPInteraction
261
+ request: !ruby/struct:VCR::Request
250
262
  method: :get
251
263
  uri: https://api.sandbox.ticketevolution.com:443/clients/2398?
252
264
  body: !!null
253
- headers:
254
- accept:
265
+ str: ""
266
+ :@taguri: x-private:null
267
+ headers:
268
+ accept:
255
269
  - application/vnd.ticketevolution.api+json; version=8
256
- x-signature:
270
+ x-signature:
257
271
  - qWvjHcHGAkDlslyilzMY8K9fuAe0BoaQqj402ZH5b/M=
258
- x-token:
272
+ x-token:
259
273
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
260
- response: !ruby/struct:VCR::Response
261
- status: !ruby/struct:VCR::ResponseStatus
274
+ response: !ruby/struct:VCR::Response
275
+ status: !ruby/struct:VCR::ResponseStatus
262
276
  code: 200
263
277
  message: OK
264
- headers:
265
- content-type:
278
+ headers:
279
+ content-type:
266
280
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
267
- transfer-encoding:
281
+ transfer-encoding:
268
282
  - chunked
269
- connection:
283
+ connection:
270
284
  - keep-alive
271
- status:
272
- - '200'
273
- x-powered-by:
285
+ status:
286
+ - "200"
287
+ x-powered-by:
274
288
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
275
- etag:
276
- - ! '"2031976ae6a1ed68506e480836f5009e"'
277
- x-ua-compatible:
289
+ etag:
290
+ - "\"2031976ae6a1ed68506e480836f5009e\""
291
+ x-ua-compatible:
278
292
  - IE=Edge,chrome=1
279
- x-runtime:
280
- - '0.037717'
281
- cache-control:
293
+ x-runtime:
294
+ - "0.037717"
295
+ cache-control:
282
296
  - max-age=0, private, must-revalidate
283
- strict-transport-security:
297
+ strict-transport-security:
284
298
  - max-age=31536000
285
- server:
299
+ server:
286
300
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
287
- body: ! '{"updated_at":"2012-02-22T16:53:24Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2398","id":"2398"}'
288
- http_version: '1.1'
289
- - !ruby/struct:VCR::HTTPInteraction
290
- request: !ruby/struct:VCR::Request
301
+ body: "{\"updated_at\":\"2012-02-22T16:53:24Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2398\",\"id\":\"2398\"}"
302
+ http_version: "1.1"
303
+ - !ruby/struct:VCR::HTTPInteraction
304
+ request: !ruby/struct:VCR::Request
291
305
  method: :get
292
306
  uri: https://api.sandbox.ticketevolution.com:443/clients/2398?
293
307
  body: !!null
294
- headers:
295
- accept:
308
+ str: ""
309
+ :@taguri: x-private:null
310
+ headers:
311
+ accept:
296
312
  - application/vnd.ticketevolution.api+json; version=8
297
- x-signature:
313
+ x-signature:
298
314
  - qWvjHcHGAkDlslyilzMY8K9fuAe0BoaQqj402ZH5b/M=
299
- x-token:
315
+ x-token:
300
316
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
301
- response: !ruby/struct:VCR::Response
302
- status: !ruby/struct:VCR::ResponseStatus
317
+ response: !ruby/struct:VCR::Response
318
+ status: !ruby/struct:VCR::ResponseStatus
303
319
  code: 200
304
320
  message: OK
305
- headers:
306
- content-type:
321
+ headers:
322
+ content-type:
307
323
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
308
- transfer-encoding:
324
+ transfer-encoding:
309
325
  - chunked
310
- connection:
326
+ connection:
311
327
  - keep-alive
312
- status:
313
- - '200'
314
- x-powered-by:
328
+ status:
329
+ - "200"
330
+ x-powered-by:
315
331
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
316
- etag:
317
- - ! '"2031976ae6a1ed68506e480836f5009e"'
318
- x-ua-compatible:
332
+ etag:
333
+ - "\"2031976ae6a1ed68506e480836f5009e\""
334
+ x-ua-compatible:
319
335
  - IE=Edge,chrome=1
320
- x-runtime:
321
- - '0.037717'
322
- cache-control:
336
+ x-runtime:
337
+ - "0.037717"
338
+ cache-control:
323
339
  - max-age=0, private, must-revalidate
324
- strict-transport-security:
340
+ strict-transport-security:
325
341
  - max-age=31536000
326
- server:
342
+ server:
327
343
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
328
- body: ! '{"updated_at":"2012-02-22T16:53:24Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2398","id":"2398"}'
329
- http_version: '1.1'
330
- - !ruby/struct:VCR::HTTPInteraction
331
- request: !ruby/struct:VCR::Request
344
+ body: "{\"updated_at\":\"2012-02-22T16:53:24Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2398\",\"id\":\"2398\"}"
345
+ http_version: "1.1"
346
+ - !ruby/struct:VCR::HTTPInteraction
347
+ request: !ruby/struct:VCR::Request
332
348
  method: :put
333
349
  uri: https://api.sandbox.ticketevolution.com:443/clients/2400
334
350
  body: !!null
335
- headers:
336
- accept:
351
+ str: ""
352
+ :@taguri: x-private:null
353
+ headers:
354
+ accept:
337
355
  - application/vnd.ticketevolution.api+json; version=8
338
- x-signature:
356
+ x-signature:
339
357
  - 5QIB9+okMQv6cUevHySezdQhJDJS1REzvJOVe30Leuc=
340
- x-token:
358
+ x-token:
341
359
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
342
- response: !ruby/struct:VCR::Response
343
- status: !ruby/struct:VCR::ResponseStatus
360
+ response: !ruby/struct:VCR::Response
361
+ status: !ruby/struct:VCR::ResponseStatus
344
362
  code: 200
345
363
  message: OK
346
- headers:
347
- content-type:
364
+ headers:
365
+ content-type:
348
366
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
349
- transfer-encoding:
367
+ transfer-encoding:
350
368
  - chunked
351
- connection:
369
+ connection:
352
370
  - keep-alive
353
- status:
354
- - '200'
355
- x-powered-by:
371
+ status:
372
+ - "200"
373
+ x-powered-by:
356
374
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
357
- etag:
358
- - ! '"6f85f667c6ff691f6b085406eb4f7856"'
359
- x-ua-compatible:
375
+ etag:
376
+ - "\"6f85f667c6ff691f6b085406eb4f7856\""
377
+ x-ua-compatible:
360
378
  - IE=Edge,chrome=1
361
- x-runtime:
362
- - '0.071515'
363
- cache-control:
379
+ x-runtime:
380
+ - "0.071515"
381
+ cache-control:
364
382
  - max-age=0, private, must-revalidate
365
- strict-transport-security:
383
+ strict-transport-security:
366
384
  - max-age=31536000
367
- server:
385
+ server:
368
386
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
369
- body: ! '{"updated_at":"2012-02-22T17:06:03Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2400","id":"2400"}'
370
- http_version: '1.1'
371
- - !ruby/struct:VCR::HTTPInteraction
372
- request: !ruby/struct:VCR::Request
387
+ body: "{\"updated_at\":\"2012-02-22T17:06:03Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2400\",\"id\":\"2400\"}"
388
+ http_version: "1.1"
389
+ - !ruby/struct:VCR::HTTPInteraction
390
+ request: !ruby/struct:VCR::Request
373
391
  method: :put
374
392
  uri: https://api.sandbox.ticketevolution.com:443/clients/2400
375
393
  body: !!null
376
- headers:
377
- accept:
394
+ str: ""
395
+ :@taguri: x-private:null
396
+ headers:
397
+ accept:
378
398
  - application/vnd.ticketevolution.api+json; version=8
379
- x-signature:
399
+ x-signature:
380
400
  - 5QIB9+okMQv6cUevHySezdQhJDJS1REzvJOVe30Leuc=
381
- x-token:
401
+ x-token:
382
402
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
383
- response: !ruby/struct:VCR::Response
384
- status: !ruby/struct:VCR::ResponseStatus
403
+ response: !ruby/struct:VCR::Response
404
+ status: !ruby/struct:VCR::ResponseStatus
385
405
  code: 200
386
406
  message: OK
387
- headers:
388
- content-type:
407
+ headers:
408
+ content-type:
389
409
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
390
- transfer-encoding:
410
+ transfer-encoding:
391
411
  - chunked
392
- connection:
412
+ connection:
393
413
  - keep-alive
394
- status:
395
- - '200'
396
- x-powered-by:
414
+ status:
415
+ - "200"
416
+ x-powered-by:
397
417
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
398
- etag:
399
- - ! '"6f85f667c6ff691f6b085406eb4f7856"'
400
- x-ua-compatible:
418
+ etag:
419
+ - "\"6f85f667c6ff691f6b085406eb4f7856\""
420
+ x-ua-compatible:
401
421
  - IE=Edge,chrome=1
402
- x-runtime:
403
- - '0.071515'
404
- cache-control:
422
+ x-runtime:
423
+ - "0.071515"
424
+ cache-control:
405
425
  - max-age=0, private, must-revalidate
406
- strict-transport-security:
426
+ strict-transport-security:
407
427
  - max-age=31536000
408
- server:
428
+ server:
409
429
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
410
- body: ! '{"updated_at":"2012-02-22T17:06:03Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2400","id":"2400"}'
411
- http_version: '1.1'
412
- - !ruby/struct:VCR::HTTPInteraction
413
- request: !ruby/struct:VCR::Request
430
+ body: "{\"updated_at\":\"2012-02-22T17:06:03Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2400\",\"id\":\"2400\"}"
431
+ http_version: "1.1"
432
+ - !ruby/struct:VCR::HTTPInteraction
433
+ request: !ruby/struct:VCR::Request
414
434
  method: :get
415
435
  uri: https://api.sandbox.ticketevolution.com:443/clients/2400?
416
436
  body: !!null
417
- headers:
418
- accept:
437
+ str: ""
438
+ :@taguri: x-private:null
439
+ headers:
440
+ accept:
419
441
  - application/vnd.ticketevolution.api+json; version=8
420
- x-signature:
442
+ x-signature:
421
443
  - llbovrHByaQ52FQDz4dNfE3Qh0qpTEb5t3l6uTYhXAI=
422
- x-token:
444
+ x-token:
423
445
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
424
- response: !ruby/struct:VCR::Response
425
- status: !ruby/struct:VCR::ResponseStatus
446
+ response: !ruby/struct:VCR::Response
447
+ status: !ruby/struct:VCR::ResponseStatus
426
448
  code: 200
427
449
  message: OK
428
- headers:
429
- content-type:
450
+ headers:
451
+ content-type:
430
452
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
431
- transfer-encoding:
453
+ transfer-encoding:
432
454
  - chunked
433
- connection:
455
+ connection:
434
456
  - keep-alive
435
- status:
436
- - '200'
437
- x-powered-by:
457
+ status:
458
+ - "200"
459
+ x-powered-by:
438
460
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
439
- etag:
440
- - ! '"6f85f667c6ff691f6b085406eb4f7856"'
441
- x-ua-compatible:
461
+ etag:
462
+ - "\"6f85f667c6ff691f6b085406eb4f7856\""
463
+ x-ua-compatible:
442
464
  - IE=Edge,chrome=1
443
- x-runtime:
444
- - '0.042061'
445
- cache-control:
465
+ x-runtime:
466
+ - "0.042061"
467
+ cache-control:
446
468
  - max-age=0, private, must-revalidate
447
- strict-transport-security:
469
+ strict-transport-security:
448
470
  - max-age=31536000
449
- server:
471
+ server:
450
472
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
451
- body: ! '{"updated_at":"2012-02-22T17:06:03Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2400","id":"2400"}'
452
- http_version: '1.1'
453
- - !ruby/struct:VCR::HTTPInteraction
454
- request: !ruby/struct:VCR::Request
473
+ body: "{\"updated_at\":\"2012-02-22T17:06:03Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2400\",\"id\":\"2400\"}"
474
+ http_version: "1.1"
475
+ - !ruby/struct:VCR::HTTPInteraction
476
+ request: !ruby/struct:VCR::Request
455
477
  method: :get
456
478
  uri: https://api.sandbox.ticketevolution.com:443/clients/2400?
457
479
  body: !!null
458
- headers:
459
- accept:
480
+ str: ""
481
+ :@taguri: x-private:null
482
+ headers:
483
+ accept:
460
484
  - application/vnd.ticketevolution.api+json; version=8
461
- x-signature:
485
+ x-signature:
462
486
  - llbovrHByaQ52FQDz4dNfE3Qh0qpTEb5t3l6uTYhXAI=
463
- x-token:
487
+ x-token:
464
488
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
465
- response: !ruby/struct:VCR::Response
466
- status: !ruby/struct:VCR::ResponseStatus
489
+ response: !ruby/struct:VCR::Response
490
+ status: !ruby/struct:VCR::ResponseStatus
467
491
  code: 200
468
492
  message: OK
469
- headers:
470
- content-type:
493
+ headers:
494
+ content-type:
471
495
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
472
- transfer-encoding:
496
+ transfer-encoding:
473
497
  - chunked
474
- connection:
498
+ connection:
475
499
  - keep-alive
476
- status:
477
- - '200'
478
- x-powered-by:
500
+ status:
501
+ - "200"
502
+ x-powered-by:
479
503
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
480
- etag:
481
- - ! '"6f85f667c6ff691f6b085406eb4f7856"'
482
- x-ua-compatible:
504
+ etag:
505
+ - "\"6f85f667c6ff691f6b085406eb4f7856\""
506
+ x-ua-compatible:
483
507
  - IE=Edge,chrome=1
484
- x-runtime:
485
- - '0.042061'
486
- cache-control:
508
+ x-runtime:
509
+ - "0.042061"
510
+ cache-control:
487
511
  - max-age=0, private, must-revalidate
488
- strict-transport-security:
512
+ strict-transport-security:
489
513
  - max-age=31536000
490
- server:
514
+ server:
491
515
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
492
- body: ! '{"updated_at":"2012-02-22T17:06:03Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2400","id":"2400"}'
493
- http_version: '1.1'
494
- - !ruby/struct:VCR::HTTPInteraction
495
- request: !ruby/struct:VCR::Request
516
+ body: "{\"updated_at\":\"2012-02-22T17:06:03Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2400\",\"id\":\"2400\"}"
517
+ http_version: "1.1"
518
+ - !ruby/struct:VCR::HTTPInteraction
519
+ request: !ruby/struct:VCR::Request
496
520
  method: :post
497
521
  uri: https://api.sandbox.ticketevolution.com:443/clients
498
- body: ! '{"clients":[{"name":"foo"}]}'
499
- headers:
500
- accept:
522
+ body: "{\"clients\":[{\"name\":\"foo\"}]}"
523
+ headers:
524
+ accept:
501
525
  - application/vnd.ticketevolution.api+json; version=8
502
- x-signature:
526
+ x-signature:
503
527
  - Fjw96P6d0OgfpnxvFdz3E6L4KwmWOG/GzHLYaqPBltE=
504
- x-token:
528
+ x-token:
505
529
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
506
- response: !ruby/struct:VCR::Response
507
- status: !ruby/struct:VCR::ResponseStatus
530
+ response: !ruby/struct:VCR::Response
531
+ status: !ruby/struct:VCR::ResponseStatus
508
532
  code: 201
509
533
  message: Created
510
- headers:
511
- content-type:
534
+ headers:
535
+ content-type:
512
536
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
513
- transfer-encoding:
537
+ transfer-encoding:
514
538
  - chunked
515
- connection:
539
+ connection:
516
540
  - keep-alive
517
- status:
518
- - '201'
519
- x-powered-by:
541
+ status:
542
+ - "201"
543
+ x-powered-by:
520
544
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
521
- x-ua-compatible:
545
+ x-ua-compatible:
522
546
  - IE=Edge,chrome=1
523
- x-runtime:
524
- - '0.075505'
525
- cache-control:
547
+ x-runtime:
548
+ - "0.075505"
549
+ cache-control:
526
550
  - no-cache
527
- strict-transport-security:
551
+ strict-transport-security:
528
552
  - max-age=31536000
529
- server:
553
+ server:
530
554
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
531
- body: ! '{"clients":[{"updated_at":"2012-02-22T17:07:29Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"foo","url":"/clients/2404","id":"2404"}]}'
532
- http_version: '1.1'
533
- - !ruby/struct:VCR::HTTPInteraction
534
- request: !ruby/struct:VCR::Request
555
+ body: "{\"clients\":[{\"updated_at\":\"2012-02-22T17:07:29Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2404\",\"id\":\"2404\"}]}"
556
+ http_version: "1.1"
557
+ - !ruby/struct:VCR::HTTPInteraction
558
+ request: !ruby/struct:VCR::Request
535
559
  method: :post
536
560
  uri: https://api.sandbox.ticketevolution.com:443/clients
537
- body: ! '{"clients":[{"name":"foo"}]}'
538
- headers:
539
- accept:
561
+ body: "{\"clients\":[{\"name\":\"foo\"}]}"
562
+ headers:
563
+ accept:
540
564
  - application/vnd.ticketevolution.api+json; version=8
541
- x-signature:
565
+ x-signature:
542
566
  - Fjw96P6d0OgfpnxvFdz3E6L4KwmWOG/GzHLYaqPBltE=
543
- x-token:
567
+ x-token:
544
568
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
545
- response: !ruby/struct:VCR::Response
546
- status: !ruby/struct:VCR::ResponseStatus
569
+ response: !ruby/struct:VCR::Response
570
+ status: !ruby/struct:VCR::ResponseStatus
547
571
  code: 201
548
572
  message: Created
549
- headers:
550
- content-type:
573
+ headers:
574
+ content-type:
551
575
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
552
- transfer-encoding:
576
+ transfer-encoding:
553
577
  - chunked
554
- connection:
578
+ connection:
555
579
  - keep-alive
556
- status:
557
- - '201'
558
- x-powered-by:
580
+ status:
581
+ - "201"
582
+ x-powered-by:
559
583
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
560
- x-ua-compatible:
584
+ x-ua-compatible:
561
585
  - IE=Edge,chrome=1
562
- x-runtime:
563
- - '0.075505'
564
- cache-control:
586
+ x-runtime:
587
+ - "0.075505"
588
+ cache-control:
565
589
  - no-cache
566
- strict-transport-security:
590
+ strict-transport-security:
567
591
  - max-age=31536000
568
- server:
592
+ server:
569
593
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
570
- body: ! '{"clients":[{"updated_at":"2012-02-22T17:07:29Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"foo","url":"/clients/2404","id":"2404"}]}'
571
- http_version: '1.1'
572
- - !ruby/struct:VCR::HTTPInteraction
573
- request: !ruby/struct:VCR::Request
594
+ body: "{\"clients\":[{\"updated_at\":\"2012-02-22T17:07:29Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2404\",\"id\":\"2404\"}]}"
595
+ http_version: "1.1"
596
+ - !ruby/struct:VCR::HTTPInteraction
597
+ request: !ruby/struct:VCR::Request
574
598
  method: :put
575
599
  uri: https://api.sandbox.ticketevolution.com:443/clients/2404
576
600
  body: !!null
577
- headers:
578
- accept:
601
+ str: ""
602
+ :@taguri: x-private:null
603
+ headers:
604
+ accept:
579
605
  - application/vnd.ticketevolution.api+json; version=8
580
- x-signature:
606
+ x-signature:
581
607
  - yoH7VBNazgwMD5qDylTSA6nucOZCbbxNcHercU2NTGU=
582
- x-token:
608
+ x-token:
583
609
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
584
- response: !ruby/struct:VCR::Response
585
- status: !ruby/struct:VCR::ResponseStatus
610
+ response: !ruby/struct:VCR::Response
611
+ status: !ruby/struct:VCR::ResponseStatus
586
612
  code: 200
587
613
  message: OK
588
- headers:
589
- content-type:
614
+ headers:
615
+ content-type:
590
616
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
591
- transfer-encoding:
617
+ transfer-encoding:
592
618
  - chunked
593
- connection:
619
+ connection:
594
620
  - keep-alive
595
- status:
596
- - '200'
597
- x-powered-by:
621
+ status:
622
+ - "200"
623
+ x-powered-by:
598
624
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
599
- etag:
600
- - ! '"bb1916645af7d9995682c149492980cc"'
601
- x-ua-compatible:
625
+ etag:
626
+ - "\"bb1916645af7d9995682c149492980cc\""
627
+ x-ua-compatible:
602
628
  - IE=Edge,chrome=1
603
- x-runtime:
604
- - '0.060027'
605
- cache-control:
629
+ x-runtime:
630
+ - "0.060027"
631
+ cache-control:
606
632
  - max-age=0, private, must-revalidate
607
- strict-transport-security:
633
+ strict-transport-security:
608
634
  - max-age=31536000
609
- server:
635
+ server:
610
636
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
611
- body: ! '{"updated_at":"2012-02-22T17:07:29Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2404","id":"2404"}'
612
- http_version: '1.1'
613
- - !ruby/struct:VCR::HTTPInteraction
614
- request: !ruby/struct:VCR::Request
637
+ body: "{\"updated_at\":\"2012-02-22T17:07:29Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2404\",\"id\":\"2404\"}"
638
+ http_version: "1.1"
639
+ - !ruby/struct:VCR::HTTPInteraction
640
+ request: !ruby/struct:VCR::Request
615
641
  method: :put
616
642
  uri: https://api.sandbox.ticketevolution.com:443/clients/2404
617
643
  body: !!null
618
- headers:
619
- accept:
644
+ str: ""
645
+ :@taguri: x-private:null
646
+ headers:
647
+ accept:
620
648
  - application/vnd.ticketevolution.api+json; version=8
621
- x-signature:
649
+ x-signature:
622
650
  - yoH7VBNazgwMD5qDylTSA6nucOZCbbxNcHercU2NTGU=
623
- x-token:
651
+ x-token:
624
652
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
625
- response: !ruby/struct:VCR::Response
626
- status: !ruby/struct:VCR::ResponseStatus
653
+ response: !ruby/struct:VCR::Response
654
+ status: !ruby/struct:VCR::ResponseStatus
627
655
  code: 200
628
656
  message: OK
629
- headers:
630
- content-type:
657
+ headers:
658
+ content-type:
631
659
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
632
- transfer-encoding:
660
+ transfer-encoding:
633
661
  - chunked
634
- connection:
662
+ connection:
635
663
  - keep-alive
636
- status:
637
- - '200'
638
- x-powered-by:
664
+ status:
665
+ - "200"
666
+ x-powered-by:
639
667
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
640
- etag:
641
- - ! '"bb1916645af7d9995682c149492980cc"'
642
- x-ua-compatible:
668
+ etag:
669
+ - "\"bb1916645af7d9995682c149492980cc\""
670
+ x-ua-compatible:
643
671
  - IE=Edge,chrome=1
644
- x-runtime:
645
- - '0.060027'
646
- cache-control:
672
+ x-runtime:
673
+ - "0.060027"
674
+ cache-control:
647
675
  - max-age=0, private, must-revalidate
648
- strict-transport-security:
676
+ strict-transport-security:
649
677
  - max-age=31536000
650
- server:
678
+ server:
651
679
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
652
- body: ! '{"updated_at":"2012-02-22T17:07:29Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2404","id":"2404"}'
653
- http_version: '1.1'
654
- - !ruby/struct:VCR::HTTPInteraction
655
- request: !ruby/struct:VCR::Request
680
+ body: "{\"updated_at\":\"2012-02-22T17:07:29Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2404\",\"id\":\"2404\"}"
681
+ http_version: "1.1"
682
+ - !ruby/struct:VCR::HTTPInteraction
683
+ request: !ruby/struct:VCR::Request
656
684
  method: :get
657
685
  uri: https://api.sandbox.ticketevolution.com:443/clients/2404?
658
686
  body: !!null
659
- headers:
660
- accept:
687
+ str: ""
688
+ :@taguri: x-private:null
689
+ headers:
690
+ accept:
661
691
  - application/vnd.ticketevolution.api+json; version=8
662
- x-signature:
692
+ x-signature:
663
693
  - AqJkMduM7JmPcwo+VtPGFmguowzLv60/6AL9ARtrSkk=
664
- x-token:
694
+ x-token:
665
695
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
666
- response: !ruby/struct:VCR::Response
667
- status: !ruby/struct:VCR::ResponseStatus
696
+ response: !ruby/struct:VCR::Response
697
+ status: !ruby/struct:VCR::ResponseStatus
668
698
  code: 200
669
699
  message: OK
670
- headers:
671
- content-type:
700
+ headers:
701
+ content-type:
672
702
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
673
- transfer-encoding:
703
+ transfer-encoding:
674
704
  - chunked
675
- connection:
705
+ connection:
676
706
  - keep-alive
677
- status:
678
- - '200'
679
- x-powered-by:
707
+ status:
708
+ - "200"
709
+ x-powered-by:
680
710
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
681
- etag:
682
- - ! '"bb1916645af7d9995682c149492980cc"'
683
- x-ua-compatible:
711
+ etag:
712
+ - "\"bb1916645af7d9995682c149492980cc\""
713
+ x-ua-compatible:
684
714
  - IE=Edge,chrome=1
685
- x-runtime:
686
- - '0.037995'
687
- cache-control:
715
+ x-runtime:
716
+ - "0.037995"
717
+ cache-control:
688
718
  - max-age=0, private, must-revalidate
689
- strict-transport-security:
719
+ strict-transport-security:
690
720
  - max-age=31536000
691
- server:
721
+ server:
692
722
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
693
- body: ! '{"updated_at":"2012-02-22T17:07:29Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2404","id":"2404"}'
694
- http_version: '1.1'
695
- - !ruby/struct:VCR::HTTPInteraction
696
- request: !ruby/struct:VCR::Request
723
+ body: "{\"updated_at\":\"2012-02-22T17:07:29Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2404\",\"id\":\"2404\"}"
724
+ http_version: "1.1"
725
+ - !ruby/struct:VCR::HTTPInteraction
726
+ request: !ruby/struct:VCR::Request
697
727
  method: :get
698
728
  uri: https://api.sandbox.ticketevolution.com:443/clients/2404?
699
729
  body: !!null
700
- headers:
701
- accept:
730
+ str: ""
731
+ :@taguri: x-private:null
732
+ headers:
733
+ accept:
702
734
  - application/vnd.ticketevolution.api+json; version=8
703
- x-signature:
735
+ x-signature:
704
736
  - AqJkMduM7JmPcwo+VtPGFmguowzLv60/6AL9ARtrSkk=
705
- x-token:
737
+ x-token:
706
738
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
707
- response: !ruby/struct:VCR::Response
708
- status: !ruby/struct:VCR::ResponseStatus
739
+ response: !ruby/struct:VCR::Response
740
+ status: !ruby/struct:VCR::ResponseStatus
709
741
  code: 200
710
742
  message: OK
711
- headers:
712
- content-type:
743
+ headers:
744
+ content-type:
713
745
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
714
- transfer-encoding:
746
+ transfer-encoding:
715
747
  - chunked
716
- connection:
748
+ connection:
717
749
  - keep-alive
718
- status:
719
- - '200'
720
- x-powered-by:
750
+ status:
751
+ - "200"
752
+ x-powered-by:
721
753
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
722
- etag:
723
- - ! '"bb1916645af7d9995682c149492980cc"'
724
- x-ua-compatible:
754
+ etag:
755
+ - "\"bb1916645af7d9995682c149492980cc\""
756
+ x-ua-compatible:
725
757
  - IE=Edge,chrome=1
726
- x-runtime:
727
- - '0.037995'
728
- cache-control:
758
+ x-runtime:
759
+ - "0.037995"
760
+ cache-control:
729
761
  - max-age=0, private, must-revalidate
730
- strict-transport-security:
762
+ strict-transport-security:
731
763
  - max-age=31536000
732
- server:
764
+ server:
733
765
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
734
- body: ! '{"updated_at":"2012-02-22T17:07:29Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2404","id":"2404"}'
735
- http_version: '1.1'
736
- - !ruby/struct:VCR::HTTPInteraction
737
- request: !ruby/struct:VCR::Request
766
+ body: "{\"updated_at\":\"2012-02-22T17:07:29Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2404\",\"id\":\"2404\"}"
767
+ http_version: "1.1"
768
+ - !ruby/struct:VCR::HTTPInteraction
769
+ request: !ruby/struct:VCR::Request
738
770
  method: :put
739
771
  uri: https://api.sandbox.ticketevolution.com:443/clients/2404
740
- body: ! '{"updated_at":"2012-02-22T17:07:29Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2404","status_code":201,"server_message":"Generally
741
- returned by successful POST requests. "}'
742
- headers:
743
- x-signature:
772
+ body: "{\"updated_at\":\"2012-02-22T17:07:29Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2404\",\"status_code\":201,\"server_message\":\"Generally returned by successful POST requests. \"}"
773
+ headers:
774
+ x-signature:
744
775
  - igagZ7PD+E0vTGyT3RH4l54mKjOmtf2GrzU4mqyyCIM=
745
- x-token:
776
+ x-token:
746
777
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
747
- accept:
778
+ accept:
748
779
  - application/vnd.ticketevolution.api+json; version=8
749
- response: !ruby/struct:VCR::Response
750
- status: !ruby/struct:VCR::ResponseStatus
780
+ response: !ruby/struct:VCR::Response
781
+ status: !ruby/struct:VCR::ResponseStatus
751
782
  code: 200
752
783
  message: OK
753
- headers:
754
- content-type:
784
+ headers:
785
+ content-type:
755
786
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
756
- transfer-encoding:
787
+ transfer-encoding:
757
788
  - chunked
758
- connection:
789
+ connection:
759
790
  - keep-alive
760
- status:
761
- - '200'
762
- x-powered-by:
791
+ status:
792
+ - "200"
793
+ x-powered-by:
763
794
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
764
- etag:
765
- - ! '"bb1916645af7d9995682c149492980cc"'
766
- x-ua-compatible:
795
+ etag:
796
+ - "\"bb1916645af7d9995682c149492980cc\""
797
+ x-ua-compatible:
767
798
  - IE=Edge,chrome=1
768
- x-runtime:
769
- - '0.179335'
770
- cache-control:
799
+ x-runtime:
800
+ - "0.179335"
801
+ cache-control:
771
802
  - max-age=0, private, must-revalidate
772
- strict-transport-security:
803
+ strict-transport-security:
773
804
  - max-age=31536000
774
- server:
805
+ server:
775
806
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
776
- body: ! '{"updated_at":"2012-02-22T17:07:29Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2404","id":"2404"}'
777
- http_version: '1.1'
778
- - !ruby/struct:VCR::HTTPInteraction
779
- request: !ruby/struct:VCR::Request
807
+ body: "{\"updated_at\":\"2012-02-22T17:07:29Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2404\",\"id\":\"2404\"}"
808
+ http_version: "1.1"
809
+ - !ruby/struct:VCR::HTTPInteraction
810
+ request: !ruby/struct:VCR::Request
780
811
  method: :get
781
812
  uri: https://api.sandbox.ticketevolution.com:443/clients/2404
782
813
  body: !!null
783
- headers:
784
- x-signature:
814
+ str: ""
815
+ :@taguri: x-private:null
816
+ headers:
817
+ x-signature:
785
818
  - AqJkMduM7JmPcwo+VtPGFmguowzLv60/6AL9ARtrSkk=
786
- x-token:
819
+ x-token:
787
820
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
788
- accept:
821
+ accept:
789
822
  - application/vnd.ticketevolution.api+json; version=8
790
- accept-encoding:
823
+ accept-encoding:
791
824
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
792
- response: !ruby/struct:VCR::Response
793
- status: !ruby/struct:VCR::ResponseStatus
825
+ response: !ruby/struct:VCR::Response
826
+ status: !ruby/struct:VCR::ResponseStatus
794
827
  code: 200
795
828
  message: OK
796
- headers:
797
- content-type:
829
+ headers:
830
+ content-type:
798
831
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
799
- transfer-encoding:
832
+ transfer-encoding:
800
833
  - chunked
801
- connection:
834
+ connection:
802
835
  - keep-alive
803
- status:
804
- - '200'
805
- x-powered-by:
836
+ status:
837
+ - "200"
838
+ x-powered-by:
806
839
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
807
- etag:
808
- - ! '"bb1916645af7d9995682c149492980cc"'
809
- x-ua-compatible:
840
+ etag:
841
+ - "\"bb1916645af7d9995682c149492980cc\""
842
+ x-ua-compatible:
810
843
  - IE=Edge,chrome=1
811
- x-runtime:
812
- - '0.140010'
813
- cache-control:
844
+ x-runtime:
845
+ - "0.140010"
846
+ cache-control:
814
847
  - max-age=0, private, must-revalidate
815
- strict-transport-security:
848
+ strict-transport-security:
816
849
  - max-age=31536000
817
- server:
850
+ server:
818
851
  - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
819
- body: ! '{"updated_at":"2012-02-22T17:07:29Z","addresses":[],"email_addresses":[],"phone_numbers":[],"name":"bar","url":"/clients/2404","id":"2404"}'
820
- http_version: '1.1'
821
- - !ruby/struct:VCR::HTTPInteraction
822
- request: !ruby/struct:VCR::Request
852
+ body: "{\"updated_at\":\"2012-02-22T17:07:29Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"bar\",\"url\":\"/clients/2404\",\"id\":\"2404\"}"
853
+ http_version: "1.1"
854
+ - !ruby/struct:VCR::HTTPInteraction
855
+ request: !ruby/struct:VCR::Request
823
856
  method: :put
824
857
  uri: https://api.sandbox.ticketevolution.com:443/clients/2404
825
- body: ! '{"addresses":[],"email_addresses":[],"name":"bar","phone_numbers":[],"server_message":"Generally
826
- returned by successful POST requests. ","status_code":201,"updated_at":"2012-02-22T17:07:29Z","url":"/clients/2404"}'
827
- headers:
828
- x-signature:
858
+ body: "{\"addresses\":[],\"email_addresses\":[],\"name\":\"bar\",\"phone_numbers\":[],\"server_message\":\"Generally returned by successful POST requests. \",\"status_code\":201,\"updated_at\":\"2012-02-22T17:07:29Z\",\"url\":\"/clients/2404\"}"
859
+ headers:
860
+ x-signature:
829
861
  - 6qfTnv9NQPgeC4ZDAdzfRiTlYz0/VMBTQgX8SNPlYD0=
830
- x-token:
862
+ x-token:
831
863
  - b2b5a7a33b1a78896ed1b53d81c5c9cc
832
- accept:
864
+ accept:
833
865
  - application/vnd.ticketevolution.api+json; version=8
834
- response: !ruby/struct:VCR::Response
835
- status: !ruby/struct:VCR::ResponseStatus
866
+ response: !ruby/struct:VCR::Response
867
+ status: !ruby/struct:VCR::ResponseStatus
836
868
  code: 200
837
869
  message: OK
838
- headers:
839
- content-type:
870
+ headers:
871
+ content-type:
840
872
  - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
841
- transfer-encoding:
873
+ transfer-encoding:
842
874
  - chunked
843
- connection:
875
+ connection:
844
876
  - keep-alive
845
- status:
846
- - '200'
847
- x-powered-by:
877
+ status:
878
+ - "200"
879
+ x-powered-by:
848
880
  - Phusion Passenger (mod_rails/mod_rack) 2.2.10
849
- etag:
850
- - ! '"b58896cd9a50041a033626f2539aec18"'
851
- x-runtime:
852
- - '0.070331'
853
- x-ua-compatible:
881
+ etag:
882
+ - "\"b58896cd9a50041a033626f2539aec18\""
883
+ x-runtime:
884
+ - "0.070331"
885
+ x-ua-compatible:
854
886
  - IE=Edge,chrome=1
855
- strict-transport-security:
887
+ strict-transport-security:
856
888
  - max-age=31536000
857
- cache-control:
889
+ cache-control:
858
890
  - max-age=0, private, must-revalidate
859
- server:
891
+ server:
860
892
  - nginx/0.7.65 + Phusion Passenger 2.2.10 (mod_rails/mod_rack)
861
- body: ! '{"updated_at":"2012-02-22T17:07:29Z","phone_numbers":[],"url":"/clients/2404","addresses":[{"postal_code":"92154","street_address":"1230
862
- Ilexey Ave","extended_address":null,"locality":"San Diego","latitude":null,"country_code":null,"region":"CA","name":"Egbert
863
- Purog","longitude":null},{"postal_code":"92154","street_address":"1230 Ilexey
864
- Ave","extended_address":null,"locality":"San Diego","latitude":null,"country_code":null,"region":"CA","name":"E
865
- Patrick Purog","longitude":null},{"postal_code":"92154","street_address":"1230
866
- Ilexey Ave","extended_address":null,"locality":"San Diego","latitude":null,"country_code":null,"region":"CA","name":"Egbert
867
- Purog","longitude":null},{"postal_code":"92154","street_address":"1230 Ilexey
868
- Ave","extended_address":null,"locality":"San Diego","latitude":null,"country_code":null,"region":"CA","name":"E
869
- Patrick Purog","longitude":null}],"name":"bar","id":"2404","email_addresses":[]}'
870
- http_version: '1.1'
893
+ body: "{\"updated_at\":\"2012-02-22T17:07:29Z\",\"phone_numbers\":[],\"url\":\"/clients/2404\",\"addresses\":[{\"postal_code\":\"92154\",\"street_address\":\"1230 Ilexey Ave\",\"extended_address\":null,\"locality\":\"San Diego\",\"latitude\":null,\"country_code\":null,\"region\":\"CA\",\"name\":\"Egbert Purog\",\"longitude\":null},{\"postal_code\":\"92154\",\"street_address\":\"1230 Ilexey Ave\",\"extended_address\":null,\"locality\":\"San Diego\",\"latitude\":null,\"country_code\":null,\"region\":\"CA\",\"name\":\"E Patrick Purog\",\"longitude\":null},{\"postal_code\":\"92154\",\"street_address\":\"1230 Ilexey Ave\",\"extended_address\":null,\"locality\":\"San Diego\",\"latitude\":null,\"country_code\":null,\"region\":\"CA\",\"name\":\"Egbert Purog\",\"longitude\":null},{\"postal_code\":\"92154\",\"street_address\":\"1230 Ilexey Ave\",\"extended_address\":null,\"locality\":\"San Diego\",\"latitude\":null,\"country_code\":null,\"region\":\"CA\",\"name\":\"E Patrick Purog\",\"longitude\":null}],\"name\":\"bar\",\"id\":\"2404\",\"email_addresses\":[]}"
894
+ http_version: "1.1"
895
+ - !ruby/struct:VCR::HTTPInteraction
896
+ request: !ruby/struct:VCR::Request
897
+ method: :get
898
+ uri: https://api.sandbox.ticketevolution.com:443/clients/2404
899
+ body:
900
+ headers:
901
+ x-signature:
902
+ - AqJkMduM7JmPcwo+VtPGFmguowzLv60/6AL9ARtrSkk=
903
+ x-token:
904
+ - b2b5a7a33b1a78896ed1b53d81c5c9cc
905
+ accept:
906
+ - application/vnd.ticketevolution.api+json; version=8
907
+ accept-encoding:
908
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
909
+ response: !ruby/struct:VCR::Response
910
+ status: !ruby/struct:VCR::ResponseStatus
911
+ code: 200
912
+ message: OK
913
+ headers:
914
+ content-type:
915
+ - application/vnd.ticketevolution.api+json; version=8; charset=utf-8
916
+ transfer-encoding:
917
+ - chunked
918
+ connection:
919
+ - keep-alive
920
+ status:
921
+ - "200"
922
+ x-powered-by:
923
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.11
924
+ etag:
925
+ - "\"ca54f1d287709a518ee7f975418c59c0\""
926
+ cache-control:
927
+ - max-age=0, private, must-revalidate
928
+ x-runtime:
929
+ - "0.124917"
930
+ x-ua-compatible:
931
+ - IE=Edge,chrome=1
932
+ strict-transport-security:
933
+ - max-age=31536000
934
+ server:
935
+ - nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
936
+ body: "{\"updated_at\":\"2012-02-22T17:07:29Z\",\"phone_numbers\":[],\"email_addresses\":[],\"addresses\":[{\"latitude\":null,\"postal_code\":\"92154\",\"longitude\":null,\"street_address\":\"1230 Ilexey Ave\",\"extended_address\":null,\"locality\":\"San Diego\",\"label\":null,\"name\":\"Egbert Purog\",\"id\":\"169999\",\"country_code\":null,\"region\":\"CA\"},{\"latitude\":null,\"postal_code\":\"92154\",\"longitude\":null,\"street_address\":\"1230 Ilexey Ave\",\"extended_address\":null,\"locality\":\"San Diego\",\"label\":null,\"name\":\"E Patrick Purog\",\"id\":\"170000\",\"country_code\":null,\"region\":\"CA\"},{\"latitude\":null,\"postal_code\":\"92154\",\"longitude\":null,\"street_address\":\"1230 Ilexey Ave\",\"extended_address\":null,\"locality\":\"San Diego\",\"label\":null,\"name\":\"Egbert Purog\",\"id\":\"170001\",\"country_code\":null,\"region\":\"CA\"},{\"latitude\":null,\"postal_code\":\"92154\",\"longitude\":null,\"street_address\":\"1230 Ilexey Ave\",\"extended_address\":null,\"locality\":\"San Diego\",\"label\":null,\"name\":\"E Patrick Purog\",\"id\":\"170002\",\"country_code\":null,\"region\":\"CA\"}],\"tags\":[],\"company\":null,\"name\":\"bar\",\"id\":\"2404\",\"url\":\"/clients/2404\"}"
937
+ http_version: "1.1"