ticketevolution-ruby 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +8 -1
- data/lib/ticket_evolution.rb +8 -4
- data/lib/ticket_evolution/account.rb +1 -0
- data/lib/ticket_evolution/client.rb +1 -0
- data/lib/ticket_evolution/companies.rb +9 -0
- data/lib/ticket_evolution/company.rb +5 -0
- data/lib/ticket_evolution/core/endpoint/request_handler.rb +1 -1
- data/lib/ticket_evolution/core/model.rb +0 -25
- data/lib/ticket_evolution/core/model/parental_behavior.rb +25 -0
- data/lib/ticket_evolution/modules/create.rb +12 -5
- data/lib/ticket_evolution/modules/destroy.rb +31 -0
- data/lib/ticket_evolution/modules/show.rb +2 -2
- data/lib/ticket_evolution/rate_option.rb +5 -0
- data/lib/ticket_evolution/rate_options.rb +6 -0
- data/lib/ticket_evolution/track_detail.rb +5 -0
- data/lib/ticket_evolution/track_details.rb +6 -0
- data/lib/ticket_evolution/version.rb +1 -1
- data/spec/fixtures/fake.rb +3 -3
- data/spec/fixtures/net/core/connection.yml +124 -116
- data/spec/fixtures/net/endpoints/clients/create.yml +222 -178
- data/spec/fixtures/net/endpoints/clients/update_fail.yml +684 -605
- data/spec/fixtures/net/endpoints/clients/update_success.yml +604 -537
- data/spec/fixtures/net/endpoints/company/destroy_error.yml +120 -0
- data/spec/fixtures/net/endpoints/company/destroy_success.yml +284 -0
- data/spec/fixtures/net/endpoints/track_details/show.yml +58 -0
- data/spec/lib/ticket_evolution/account_spec.rb +1 -0
- data/spec/lib/ticket_evolution/client_spec.rb +1 -1
- data/spec/lib/ticket_evolution/companies_spec.rb +15 -0
- data/spec/lib/ticket_evolution/company_spec.rb +39 -0
- data/spec/lib/ticket_evolution/core/model_spec.rb +0 -18
- data/spec/lib/ticket_evolution/rate_option_spec.rb +8 -0
- data/spec/lib/ticket_evolution/rate_options_spec.rb +7 -0
- data/spec/lib/ticket_evolution/track_detail_spec.rb +8 -0
- data/spec/lib/ticket_evolution/track_details_spec.rb +32 -0
- data/spec/shared_examples/endpoints/create.rb +28 -8
- data/spec/shared_examples/endpoints/destroy.rb +67 -0
- data/spec/shared_examples/endpoints/show.rb +1 -1
- data/spec/shared_examples/models.rb +38 -0
- data/spec/spec_helper.rb +1 -0
- data/spec/support/stub_models.rb +20 -0
- data/ticketevolution-ruby.gemspec +1 -1
- metadata +55 -27
- data/lib/ticket_evolution/core/models/samples.rb +0 -11
- data/lib/ticket_evolution/core/samples.rb +0 -6
@@ -1,1002 +1,1081 @@
|
|
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/2397
|
6
6
|
body: !!null
|
7
|
-
|
8
|
-
|
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
|
- Q3mcUYlkODva4yP0Ju/sdKgoAtzA/XACqy5EVH22z3E=
|
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: 422
|
17
19
|
message: Unprocessable Entity
|
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
|
-
-
|
27
|
-
x-powered-by:
|
27
|
+
status:
|
28
|
+
- "422"
|
29
|
+
x-powered-by:
|
28
30
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
29
|
-
x-ua-compatible:
|
31
|
+
x-ua-compatible:
|
30
32
|
- IE=Edge,chrome=1
|
31
|
-
x-runtime:
|
32
|
-
-
|
33
|
-
cache-control:
|
33
|
+
x-runtime:
|
34
|
+
- "0.037598"
|
35
|
+
cache-control:
|
34
36
|
- no-cache
|
35
|
-
strict-transport-security:
|
37
|
+
strict-transport-security:
|
36
38
|
- max-age=31536000
|
37
|
-
server:
|
39
|
+
server:
|
38
40
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
39
|
-
body:
|
40
|
-
http_version:
|
41
|
-
- !ruby/struct:VCR::HTTPInteraction
|
42
|
-
request: !ruby/struct:VCR::Request
|
41
|
+
body: "{\"updated_at\":\"2012-02-22T16:52:03Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2397\",\"id\":\"2397\"}"
|
42
|
+
http_version: "1.1"
|
43
|
+
- !ruby/struct:VCR::HTTPInteraction
|
44
|
+
request: !ruby/struct:VCR::Request
|
43
45
|
method: :put
|
44
46
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2397
|
45
47
|
body: !!null
|
46
|
-
|
47
|
-
|
48
|
+
str: ""
|
49
|
+
:@taguri: x-private:null
|
50
|
+
headers:
|
51
|
+
accept:
|
48
52
|
- application/vnd.ticketevolution.api+json; version=8
|
49
|
-
x-signature:
|
53
|
+
x-signature:
|
50
54
|
- Q3mcUYlkODva4yP0Ju/sdKgoAtzA/XACqy5EVH22z3E=
|
51
|
-
x-token:
|
55
|
+
x-token:
|
52
56
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
53
|
-
response: !ruby/struct:VCR::Response
|
54
|
-
status: !ruby/struct:VCR::ResponseStatus
|
57
|
+
response: !ruby/struct:VCR::Response
|
58
|
+
status: !ruby/struct:VCR::ResponseStatus
|
55
59
|
code: 422
|
56
60
|
message: Unprocessable Entity
|
57
|
-
headers:
|
58
|
-
content-type:
|
61
|
+
headers:
|
62
|
+
content-type:
|
59
63
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
60
|
-
transfer-encoding:
|
64
|
+
transfer-encoding:
|
61
65
|
- chunked
|
62
|
-
connection:
|
66
|
+
connection:
|
63
67
|
- keep-alive
|
64
|
-
status:
|
65
|
-
-
|
66
|
-
x-powered-by:
|
68
|
+
status:
|
69
|
+
- "422"
|
70
|
+
x-powered-by:
|
67
71
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
68
|
-
x-ua-compatible:
|
72
|
+
x-ua-compatible:
|
69
73
|
- IE=Edge,chrome=1
|
70
|
-
x-runtime:
|
71
|
-
-
|
72
|
-
cache-control:
|
74
|
+
x-runtime:
|
75
|
+
- "0.037598"
|
76
|
+
cache-control:
|
73
77
|
- no-cache
|
74
|
-
strict-transport-security:
|
78
|
+
strict-transport-security:
|
75
79
|
- max-age=31536000
|
76
|
-
server:
|
80
|
+
server:
|
77
81
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
78
|
-
body:
|
79
|
-
http_version:
|
80
|
-
- !ruby/struct:VCR::HTTPInteraction
|
81
|
-
request: !ruby/struct:VCR::Request
|
82
|
+
body: "{\"updated_at\":\"2012-02-22T16:52:03Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2397\",\"id\":\"2397\"}"
|
83
|
+
http_version: "1.1"
|
84
|
+
- !ruby/struct:VCR::HTTPInteraction
|
85
|
+
request: !ruby/struct:VCR::Request
|
82
86
|
method: :get
|
83
87
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2397?
|
84
88
|
body: !!null
|
85
|
-
|
86
|
-
|
89
|
+
str: ""
|
90
|
+
:@taguri: x-private:null
|
91
|
+
headers:
|
92
|
+
accept:
|
87
93
|
- application/vnd.ticketevolution.api+json; version=8
|
88
|
-
x-signature:
|
94
|
+
x-signature:
|
89
95
|
- GiCJraWW5di9ozCFCSg8Twe91Sw88L3/pWJREZe5Sq0=
|
90
|
-
x-token:
|
96
|
+
x-token:
|
91
97
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
92
|
-
response: !ruby/struct:VCR::Response
|
93
|
-
status: !ruby/struct:VCR::ResponseStatus
|
98
|
+
response: !ruby/struct:VCR::Response
|
99
|
+
status: !ruby/struct:VCR::ResponseStatus
|
94
100
|
code: 200
|
95
101
|
message: OK
|
96
|
-
headers:
|
97
|
-
content-type:
|
102
|
+
headers:
|
103
|
+
content-type:
|
98
104
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
99
|
-
transfer-encoding:
|
105
|
+
transfer-encoding:
|
100
106
|
- chunked
|
101
|
-
connection:
|
107
|
+
connection:
|
102
108
|
- keep-alive
|
103
|
-
status:
|
104
|
-
-
|
105
|
-
x-powered-by:
|
109
|
+
status:
|
110
|
+
- "200"
|
111
|
+
x-powered-by:
|
106
112
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
107
|
-
etag:
|
108
|
-
-
|
109
|
-
x-ua-compatible:
|
113
|
+
etag:
|
114
|
+
- "\"664380c9b754b1c1649eba9b1671bf1b\""
|
115
|
+
x-ua-compatible:
|
110
116
|
- IE=Edge,chrome=1
|
111
|
-
x-runtime:
|
112
|
-
-
|
113
|
-
cache-control:
|
117
|
+
x-runtime:
|
118
|
+
- "0.043382"
|
119
|
+
cache-control:
|
114
120
|
- max-age=0, private, must-revalidate
|
115
|
-
strict-transport-security:
|
121
|
+
strict-transport-security:
|
116
122
|
- max-age=31536000
|
117
|
-
server:
|
123
|
+
server:
|
118
124
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
119
|
-
body:
|
120
|
-
http_version:
|
121
|
-
- !ruby/struct:VCR::HTTPInteraction
|
122
|
-
request: !ruby/struct:VCR::Request
|
125
|
+
body: "{\"updated_at\":\"2012-02-22T16:52:03Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2397\",\"id\":\"2397\"}"
|
126
|
+
http_version: "1.1"
|
127
|
+
- !ruby/struct:VCR::HTTPInteraction
|
128
|
+
request: !ruby/struct:VCR::Request
|
123
129
|
method: :get
|
124
130
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2397?
|
125
131
|
body: !!null
|
126
|
-
|
127
|
-
|
132
|
+
str: ""
|
133
|
+
:@taguri: x-private:null
|
134
|
+
headers:
|
135
|
+
accept:
|
128
136
|
- application/vnd.ticketevolution.api+json; version=8
|
129
|
-
x-signature:
|
137
|
+
x-signature:
|
130
138
|
- GiCJraWW5di9ozCFCSg8Twe91Sw88L3/pWJREZe5Sq0=
|
131
|
-
x-token:
|
139
|
+
x-token:
|
132
140
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
133
|
-
response: !ruby/struct:VCR::Response
|
134
|
-
status: !ruby/struct:VCR::ResponseStatus
|
141
|
+
response: !ruby/struct:VCR::Response
|
142
|
+
status: !ruby/struct:VCR::ResponseStatus
|
135
143
|
code: 200
|
136
144
|
message: OK
|
137
|
-
headers:
|
138
|
-
content-type:
|
145
|
+
headers:
|
146
|
+
content-type:
|
139
147
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
140
|
-
transfer-encoding:
|
148
|
+
transfer-encoding:
|
141
149
|
- chunked
|
142
|
-
connection:
|
150
|
+
connection:
|
143
151
|
- keep-alive
|
144
|
-
status:
|
145
|
-
-
|
146
|
-
x-powered-by:
|
152
|
+
status:
|
153
|
+
- "200"
|
154
|
+
x-powered-by:
|
147
155
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
148
|
-
etag:
|
149
|
-
-
|
150
|
-
x-ua-compatible:
|
156
|
+
etag:
|
157
|
+
- "\"664380c9b754b1c1649eba9b1671bf1b\""
|
158
|
+
x-ua-compatible:
|
151
159
|
- IE=Edge,chrome=1
|
152
|
-
x-runtime:
|
153
|
-
-
|
154
|
-
cache-control:
|
160
|
+
x-runtime:
|
161
|
+
- "0.043382"
|
162
|
+
cache-control:
|
155
163
|
- max-age=0, private, must-revalidate
|
156
|
-
strict-transport-security:
|
164
|
+
strict-transport-security:
|
157
165
|
- max-age=31536000
|
158
|
-
server:
|
166
|
+
server:
|
159
167
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
160
|
-
body:
|
161
|
-
http_version:
|
162
|
-
- !ruby/struct:VCR::HTTPInteraction
|
163
|
-
request: !ruby/struct:VCR::Request
|
168
|
+
body: "{\"updated_at\":\"2012-02-22T16:52:03Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2397\",\"id\":\"2397\"}"
|
169
|
+
http_version: "1.1"
|
170
|
+
- !ruby/struct:VCR::HTTPInteraction
|
171
|
+
request: !ruby/struct:VCR::Request
|
164
172
|
method: :put
|
165
173
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2399
|
166
174
|
body: !!null
|
167
|
-
|
168
|
-
|
175
|
+
str: ""
|
176
|
+
:@taguri: x-private:null
|
177
|
+
headers:
|
178
|
+
accept:
|
169
179
|
- application/vnd.ticketevolution.api+json; version=8
|
170
|
-
x-signature:
|
180
|
+
x-signature:
|
171
181
|
- s4BZNkoqG51NEMIND7eFjavENM/QWhjVGU/dggCqJIA=
|
172
|
-
x-token:
|
182
|
+
x-token:
|
173
183
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
174
|
-
response: !ruby/struct:VCR::Response
|
175
|
-
status: !ruby/struct:VCR::ResponseStatus
|
184
|
+
response: !ruby/struct:VCR::Response
|
185
|
+
status: !ruby/struct:VCR::ResponseStatus
|
176
186
|
code: 422
|
177
187
|
message: Unprocessable Entity
|
178
|
-
headers:
|
179
|
-
content-type:
|
188
|
+
headers:
|
189
|
+
content-type:
|
180
190
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
181
|
-
transfer-encoding:
|
191
|
+
transfer-encoding:
|
182
192
|
- chunked
|
183
|
-
connection:
|
193
|
+
connection:
|
184
194
|
- keep-alive
|
185
|
-
status:
|
186
|
-
-
|
187
|
-
x-powered-by:
|
195
|
+
status:
|
196
|
+
- "422"
|
197
|
+
x-powered-by:
|
188
198
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
189
|
-
x-ua-compatible:
|
199
|
+
x-ua-compatible:
|
190
200
|
- IE=Edge,chrome=1
|
191
|
-
x-runtime:
|
192
|
-
-
|
193
|
-
cache-control:
|
201
|
+
x-runtime:
|
202
|
+
- "0.039304"
|
203
|
+
cache-control:
|
194
204
|
- no-cache
|
195
|
-
strict-transport-security:
|
205
|
+
strict-transport-security:
|
196
206
|
- max-age=31536000
|
197
|
-
server:
|
207
|
+
server:
|
198
208
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
199
|
-
body:
|
200
|
-
http_version:
|
201
|
-
- !ruby/struct:VCR::HTTPInteraction
|
202
|
-
request: !ruby/struct:VCR::Request
|
209
|
+
body: "{\"updated_at\":\"2012-02-22T16:53:25Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2399\",\"id\":\"2399\"}"
|
210
|
+
http_version: "1.1"
|
211
|
+
- !ruby/struct:VCR::HTTPInteraction
|
212
|
+
request: !ruby/struct:VCR::Request
|
203
213
|
method: :put
|
204
214
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2399
|
205
215
|
body: !!null
|
206
|
-
|
207
|
-
|
216
|
+
str: ""
|
217
|
+
:@taguri: x-private:null
|
218
|
+
headers:
|
219
|
+
accept:
|
208
220
|
- application/vnd.ticketevolution.api+json; version=8
|
209
|
-
x-signature:
|
221
|
+
x-signature:
|
210
222
|
- s4BZNkoqG51NEMIND7eFjavENM/QWhjVGU/dggCqJIA=
|
211
|
-
x-token:
|
223
|
+
x-token:
|
212
224
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
213
|
-
response: !ruby/struct:VCR::Response
|
214
|
-
status: !ruby/struct:VCR::ResponseStatus
|
225
|
+
response: !ruby/struct:VCR::Response
|
226
|
+
status: !ruby/struct:VCR::ResponseStatus
|
215
227
|
code: 422
|
216
228
|
message: Unprocessable Entity
|
217
|
-
headers:
|
218
|
-
content-type:
|
229
|
+
headers:
|
230
|
+
content-type:
|
219
231
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
220
|
-
transfer-encoding:
|
232
|
+
transfer-encoding:
|
221
233
|
- chunked
|
222
|
-
connection:
|
234
|
+
connection:
|
223
235
|
- keep-alive
|
224
|
-
status:
|
225
|
-
-
|
226
|
-
x-powered-by:
|
236
|
+
status:
|
237
|
+
- "422"
|
238
|
+
x-powered-by:
|
227
239
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
228
|
-
x-ua-compatible:
|
240
|
+
x-ua-compatible:
|
229
241
|
- IE=Edge,chrome=1
|
230
|
-
x-runtime:
|
231
|
-
-
|
232
|
-
cache-control:
|
242
|
+
x-runtime:
|
243
|
+
- "0.039304"
|
244
|
+
cache-control:
|
233
245
|
- no-cache
|
234
|
-
strict-transport-security:
|
246
|
+
strict-transport-security:
|
235
247
|
- max-age=31536000
|
236
|
-
server:
|
248
|
+
server:
|
237
249
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
238
|
-
body:
|
239
|
-
http_version:
|
240
|
-
- !ruby/struct:VCR::HTTPInteraction
|
241
|
-
request: !ruby/struct:VCR::Request
|
250
|
+
body: "{\"updated_at\":\"2012-02-22T16:53:25Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2399\",\"id\":\"2399\"}"
|
251
|
+
http_version: "1.1"
|
252
|
+
- !ruby/struct:VCR::HTTPInteraction
|
253
|
+
request: !ruby/struct:VCR::Request
|
242
254
|
method: :get
|
243
255
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2399?
|
244
256
|
body: !!null
|
245
|
-
|
246
|
-
|
257
|
+
str: ""
|
258
|
+
:@taguri: x-private:null
|
259
|
+
headers:
|
260
|
+
accept:
|
247
261
|
- application/vnd.ticketevolution.api+json; version=8
|
248
|
-
x-signature:
|
262
|
+
x-signature:
|
249
263
|
- 8aiVyGJzQF0tE9iL16H7VCeHY3oOCrUhcNqYfa2eeYA=
|
250
|
-
x-token:
|
264
|
+
x-token:
|
251
265
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
252
|
-
response: !ruby/struct:VCR::Response
|
253
|
-
status: !ruby/struct:VCR::ResponseStatus
|
266
|
+
response: !ruby/struct:VCR::Response
|
267
|
+
status: !ruby/struct:VCR::ResponseStatus
|
254
268
|
code: 200
|
255
269
|
message: OK
|
256
|
-
headers:
|
257
|
-
content-type:
|
270
|
+
headers:
|
271
|
+
content-type:
|
258
272
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
259
|
-
transfer-encoding:
|
273
|
+
transfer-encoding:
|
260
274
|
- chunked
|
261
|
-
connection:
|
275
|
+
connection:
|
262
276
|
- keep-alive
|
263
|
-
status:
|
264
|
-
-
|
265
|
-
x-powered-by:
|
277
|
+
status:
|
278
|
+
- "200"
|
279
|
+
x-powered-by:
|
266
280
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
267
|
-
etag:
|
268
|
-
-
|
269
|
-
x-ua-compatible:
|
281
|
+
etag:
|
282
|
+
- "\"9a82f6565c00d85803d51ca3537943ce\""
|
283
|
+
x-ua-compatible:
|
270
284
|
- IE=Edge,chrome=1
|
271
|
-
x-runtime:
|
272
|
-
-
|
273
|
-
cache-control:
|
285
|
+
x-runtime:
|
286
|
+
- "0.033625"
|
287
|
+
cache-control:
|
274
288
|
- max-age=0, private, must-revalidate
|
275
|
-
strict-transport-security:
|
289
|
+
strict-transport-security:
|
276
290
|
- max-age=31536000
|
277
|
-
server:
|
291
|
+
server:
|
278
292
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
279
|
-
body:
|
280
|
-
http_version:
|
281
|
-
- !ruby/struct:VCR::HTTPInteraction
|
282
|
-
request: !ruby/struct:VCR::Request
|
293
|
+
body: "{\"updated_at\":\"2012-02-22T16:53:25Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2399\",\"id\":\"2399\"}"
|
294
|
+
http_version: "1.1"
|
295
|
+
- !ruby/struct:VCR::HTTPInteraction
|
296
|
+
request: !ruby/struct:VCR::Request
|
283
297
|
method: :get
|
284
298
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2399?
|
285
299
|
body: !!null
|
286
|
-
|
287
|
-
|
300
|
+
str: ""
|
301
|
+
:@taguri: x-private:null
|
302
|
+
headers:
|
303
|
+
accept:
|
288
304
|
- application/vnd.ticketevolution.api+json; version=8
|
289
|
-
x-signature:
|
305
|
+
x-signature:
|
290
306
|
- 8aiVyGJzQF0tE9iL16H7VCeHY3oOCrUhcNqYfa2eeYA=
|
291
|
-
x-token:
|
307
|
+
x-token:
|
292
308
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
293
|
-
response: !ruby/struct:VCR::Response
|
294
|
-
status: !ruby/struct:VCR::ResponseStatus
|
309
|
+
response: !ruby/struct:VCR::Response
|
310
|
+
status: !ruby/struct:VCR::ResponseStatus
|
295
311
|
code: 200
|
296
312
|
message: OK
|
297
|
-
headers:
|
298
|
-
content-type:
|
313
|
+
headers:
|
314
|
+
content-type:
|
299
315
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
300
|
-
transfer-encoding:
|
316
|
+
transfer-encoding:
|
301
317
|
- chunked
|
302
|
-
connection:
|
318
|
+
connection:
|
303
319
|
- keep-alive
|
304
|
-
status:
|
305
|
-
-
|
306
|
-
x-powered-by:
|
320
|
+
status:
|
321
|
+
- "200"
|
322
|
+
x-powered-by:
|
307
323
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
308
|
-
etag:
|
309
|
-
-
|
310
|
-
x-ua-compatible:
|
324
|
+
etag:
|
325
|
+
- "\"9a82f6565c00d85803d51ca3537943ce\""
|
326
|
+
x-ua-compatible:
|
311
327
|
- IE=Edge,chrome=1
|
312
|
-
x-runtime:
|
313
|
-
-
|
314
|
-
cache-control:
|
328
|
+
x-runtime:
|
329
|
+
- "0.033625"
|
330
|
+
cache-control:
|
315
331
|
- max-age=0, private, must-revalidate
|
316
|
-
strict-transport-security:
|
332
|
+
strict-transport-security:
|
317
333
|
- max-age=31536000
|
318
|
-
server:
|
334
|
+
server:
|
319
335
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
320
|
-
body:
|
321
|
-
http_version:
|
322
|
-
- !ruby/struct:VCR::HTTPInteraction
|
323
|
-
request: !ruby/struct:VCR::Request
|
336
|
+
body: "{\"updated_at\":\"2012-02-22T16:53:25Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2399\",\"id\":\"2399\"}"
|
337
|
+
http_version: "1.1"
|
338
|
+
- !ruby/struct:VCR::HTTPInteraction
|
339
|
+
request: !ruby/struct:VCR::Request
|
324
340
|
method: :put
|
325
341
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2401
|
326
342
|
body: !!null
|
327
|
-
|
328
|
-
|
343
|
+
str: ""
|
344
|
+
:@taguri: x-private:null
|
345
|
+
headers:
|
346
|
+
accept:
|
329
347
|
- application/vnd.ticketevolution.api+json; version=8
|
330
|
-
x-signature:
|
348
|
+
x-signature:
|
331
349
|
- vUVaUab1x5J7FZ5FCwgrT6vEFtxwHeS4VZHkTQoGGDM=
|
332
|
-
x-token:
|
350
|
+
x-token:
|
333
351
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
334
|
-
response: !ruby/struct:VCR::Response
|
335
|
-
status: !ruby/struct:VCR::ResponseStatus
|
352
|
+
response: !ruby/struct:VCR::Response
|
353
|
+
status: !ruby/struct:VCR::ResponseStatus
|
336
354
|
code: 422
|
337
355
|
message: Unprocessable Entity
|
338
|
-
headers:
|
339
|
-
content-type:
|
356
|
+
headers:
|
357
|
+
content-type:
|
340
358
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
341
|
-
transfer-encoding:
|
359
|
+
transfer-encoding:
|
342
360
|
- chunked
|
343
|
-
connection:
|
361
|
+
connection:
|
344
362
|
- keep-alive
|
345
|
-
status:
|
346
|
-
-
|
347
|
-
x-powered-by:
|
363
|
+
status:
|
364
|
+
- "422"
|
365
|
+
x-powered-by:
|
348
366
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
349
|
-
x-ua-compatible:
|
367
|
+
x-ua-compatible:
|
350
368
|
- IE=Edge,chrome=1
|
351
|
-
x-runtime:
|
352
|
-
-
|
353
|
-
cache-control:
|
369
|
+
x-runtime:
|
370
|
+
- "0.042055"
|
371
|
+
cache-control:
|
354
372
|
- no-cache
|
355
|
-
strict-transport-security:
|
373
|
+
strict-transport-security:
|
356
374
|
- max-age=31536000
|
357
|
-
server:
|
375
|
+
server:
|
358
376
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
359
|
-
body:
|
360
|
-
http_version:
|
361
|
-
- !ruby/struct:VCR::HTTPInteraction
|
362
|
-
request: !ruby/struct:VCR::Request
|
377
|
+
body: "{\"updated_at\":\"2012-02-22T17:06:10Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2401\",\"id\":\"2401\"}"
|
378
|
+
http_version: "1.1"
|
379
|
+
- !ruby/struct:VCR::HTTPInteraction
|
380
|
+
request: !ruby/struct:VCR::Request
|
363
381
|
method: :put
|
364
382
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2401
|
365
383
|
body: !!null
|
366
|
-
|
367
|
-
|
384
|
+
str: ""
|
385
|
+
:@taguri: x-private:null
|
386
|
+
headers:
|
387
|
+
accept:
|
368
388
|
- application/vnd.ticketevolution.api+json; version=8
|
369
|
-
x-signature:
|
389
|
+
x-signature:
|
370
390
|
- vUVaUab1x5J7FZ5FCwgrT6vEFtxwHeS4VZHkTQoGGDM=
|
371
|
-
x-token:
|
391
|
+
x-token:
|
372
392
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
373
|
-
response: !ruby/struct:VCR::Response
|
374
|
-
status: !ruby/struct:VCR::ResponseStatus
|
393
|
+
response: !ruby/struct:VCR::Response
|
394
|
+
status: !ruby/struct:VCR::ResponseStatus
|
375
395
|
code: 422
|
376
396
|
message: Unprocessable Entity
|
377
|
-
headers:
|
378
|
-
content-type:
|
397
|
+
headers:
|
398
|
+
content-type:
|
379
399
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
380
|
-
transfer-encoding:
|
400
|
+
transfer-encoding:
|
381
401
|
- chunked
|
382
|
-
connection:
|
402
|
+
connection:
|
383
403
|
- keep-alive
|
384
|
-
status:
|
385
|
-
-
|
386
|
-
x-powered-by:
|
404
|
+
status:
|
405
|
+
- "422"
|
406
|
+
x-powered-by:
|
387
407
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
388
|
-
x-ua-compatible:
|
408
|
+
x-ua-compatible:
|
389
409
|
- IE=Edge,chrome=1
|
390
|
-
x-runtime:
|
391
|
-
-
|
392
|
-
cache-control:
|
410
|
+
x-runtime:
|
411
|
+
- "0.042055"
|
412
|
+
cache-control:
|
393
413
|
- no-cache
|
394
|
-
strict-transport-security:
|
414
|
+
strict-transport-security:
|
395
415
|
- max-age=31536000
|
396
|
-
server:
|
416
|
+
server:
|
397
417
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
398
|
-
body:
|
399
|
-
http_version:
|
400
|
-
- !ruby/struct:VCR::HTTPInteraction
|
401
|
-
request: !ruby/struct:VCR::Request
|
418
|
+
body: "{\"updated_at\":\"2012-02-22T17:06:10Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2401\",\"id\":\"2401\"}"
|
419
|
+
http_version: "1.1"
|
420
|
+
- !ruby/struct:VCR::HTTPInteraction
|
421
|
+
request: !ruby/struct:VCR::Request
|
402
422
|
method: :put
|
403
423
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2402
|
404
424
|
body: !!null
|
405
|
-
|
406
|
-
|
425
|
+
str: ""
|
426
|
+
:@taguri: x-private:null
|
427
|
+
headers:
|
428
|
+
accept:
|
407
429
|
- application/vnd.ticketevolution.api+json; version=8
|
408
|
-
x-signature:
|
430
|
+
x-signature:
|
409
431
|
- 0ZOo8QPAXAr2NW/0v6uZqyrFhaAKHtzAnA64AjXlgYI=
|
410
|
-
x-token:
|
432
|
+
x-token:
|
411
433
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
412
|
-
response: !ruby/struct:VCR::Response
|
413
|
-
status: !ruby/struct:VCR::ResponseStatus
|
434
|
+
response: !ruby/struct:VCR::Response
|
435
|
+
status: !ruby/struct:VCR::ResponseStatus
|
414
436
|
code: 422
|
415
437
|
message: Unprocessable Entity
|
416
|
-
headers:
|
417
|
-
content-type:
|
438
|
+
headers:
|
439
|
+
content-type:
|
418
440
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
419
|
-
transfer-encoding:
|
441
|
+
transfer-encoding:
|
420
442
|
- chunked
|
421
|
-
connection:
|
443
|
+
connection:
|
422
444
|
- keep-alive
|
423
|
-
status:
|
424
|
-
-
|
425
|
-
x-powered-by:
|
445
|
+
status:
|
446
|
+
- "422"
|
447
|
+
x-powered-by:
|
426
448
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
427
|
-
x-ua-compatible:
|
449
|
+
x-ua-compatible:
|
428
450
|
- IE=Edge,chrome=1
|
429
|
-
x-runtime:
|
430
|
-
-
|
431
|
-
cache-control:
|
451
|
+
x-runtime:
|
452
|
+
- "0.037546"
|
453
|
+
cache-control:
|
432
454
|
- no-cache
|
433
|
-
strict-transport-security:
|
455
|
+
strict-transport-security:
|
434
456
|
- max-age=31536000
|
435
|
-
server:
|
457
|
+
server:
|
436
458
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
437
|
-
body:
|
438
|
-
http_version:
|
439
|
-
- !ruby/struct:VCR::HTTPInteraction
|
440
|
-
request: !ruby/struct:VCR::Request
|
459
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:06Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2402\",\"id\":\"2402\"}"
|
460
|
+
http_version: "1.1"
|
461
|
+
- !ruby/struct:VCR::HTTPInteraction
|
462
|
+
request: !ruby/struct:VCR::Request
|
441
463
|
method: :put
|
442
464
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2402
|
443
465
|
body: !!null
|
444
|
-
|
445
|
-
|
466
|
+
str: ""
|
467
|
+
:@taguri: x-private:null
|
468
|
+
headers:
|
469
|
+
accept:
|
446
470
|
- application/vnd.ticketevolution.api+json; version=8
|
447
|
-
x-signature:
|
471
|
+
x-signature:
|
448
472
|
- 0ZOo8QPAXAr2NW/0v6uZqyrFhaAKHtzAnA64AjXlgYI=
|
449
|
-
x-token:
|
473
|
+
x-token:
|
450
474
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
451
|
-
response: !ruby/struct:VCR::Response
|
452
|
-
status: !ruby/struct:VCR::ResponseStatus
|
475
|
+
response: !ruby/struct:VCR::Response
|
476
|
+
status: !ruby/struct:VCR::ResponseStatus
|
453
477
|
code: 422
|
454
478
|
message: Unprocessable Entity
|
455
|
-
headers:
|
456
|
-
content-type:
|
479
|
+
headers:
|
480
|
+
content-type:
|
457
481
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
458
|
-
transfer-encoding:
|
482
|
+
transfer-encoding:
|
459
483
|
- chunked
|
460
|
-
connection:
|
484
|
+
connection:
|
461
485
|
- keep-alive
|
462
|
-
status:
|
463
|
-
-
|
464
|
-
x-powered-by:
|
486
|
+
status:
|
487
|
+
- "422"
|
488
|
+
x-powered-by:
|
465
489
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
466
|
-
x-ua-compatible:
|
490
|
+
x-ua-compatible:
|
467
491
|
- IE=Edge,chrome=1
|
468
|
-
x-runtime:
|
469
|
-
-
|
470
|
-
cache-control:
|
492
|
+
x-runtime:
|
493
|
+
- "0.037546"
|
494
|
+
cache-control:
|
471
495
|
- no-cache
|
472
|
-
strict-transport-security:
|
496
|
+
strict-transport-security:
|
473
497
|
- max-age=31536000
|
474
|
-
server:
|
498
|
+
server:
|
475
499
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
476
|
-
body:
|
477
|
-
http_version:
|
478
|
-
- !ruby/struct:VCR::HTTPInteraction
|
479
|
-
request: !ruby/struct:VCR::Request
|
500
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:06Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2402\",\"id\":\"2402\"}"
|
501
|
+
http_version: "1.1"
|
502
|
+
- !ruby/struct:VCR::HTTPInteraction
|
503
|
+
request: !ruby/struct:VCR::Request
|
480
504
|
method: :put
|
481
505
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2403
|
482
506
|
body: !!null
|
483
|
-
|
484
|
-
|
507
|
+
str: ""
|
508
|
+
:@taguri: x-private:null
|
509
|
+
headers:
|
510
|
+
accept:
|
485
511
|
- application/vnd.ticketevolution.api+json; version=8
|
486
|
-
x-signature:
|
512
|
+
x-signature:
|
487
513
|
- 9zh1BeuVU5tveqT+0Do7lzfkgfIB0fEE/U5/aXVdKNM=
|
488
|
-
x-token:
|
514
|
+
x-token:
|
489
515
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
490
|
-
response: !ruby/struct:VCR::Response
|
491
|
-
status: !ruby/struct:VCR::ResponseStatus
|
516
|
+
response: !ruby/struct:VCR::Response
|
517
|
+
status: !ruby/struct:VCR::ResponseStatus
|
492
518
|
code: 422
|
493
519
|
message: Unprocessable Entity
|
494
|
-
headers:
|
495
|
-
content-type:
|
520
|
+
headers:
|
521
|
+
content-type:
|
496
522
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
497
|
-
transfer-encoding:
|
523
|
+
transfer-encoding:
|
498
524
|
- chunked
|
499
|
-
connection:
|
525
|
+
connection:
|
500
526
|
- keep-alive
|
501
|
-
status:
|
502
|
-
-
|
503
|
-
x-powered-by:
|
527
|
+
status:
|
528
|
+
- "422"
|
529
|
+
x-powered-by:
|
504
530
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
505
|
-
x-ua-compatible:
|
531
|
+
x-ua-compatible:
|
506
532
|
- IE=Edge,chrome=1
|
507
|
-
x-runtime:
|
508
|
-
-
|
509
|
-
cache-control:
|
533
|
+
x-runtime:
|
534
|
+
- "0.042914"
|
535
|
+
cache-control:
|
510
536
|
- no-cache
|
511
|
-
strict-transport-security:
|
537
|
+
strict-transport-security:
|
512
538
|
- max-age=31536000
|
513
|
-
server:
|
539
|
+
server:
|
514
540
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
515
|
-
body:
|
516
|
-
http_version:
|
517
|
-
- !ruby/struct:VCR::HTTPInteraction
|
518
|
-
request: !ruby/struct:VCR::Request
|
541
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:22Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2403\",\"id\":\"2403\"}"
|
542
|
+
http_version: "1.1"
|
543
|
+
- !ruby/struct:VCR::HTTPInteraction
|
544
|
+
request: !ruby/struct:VCR::Request
|
519
545
|
method: :put
|
520
546
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2403
|
521
547
|
body: !!null
|
522
|
-
|
523
|
-
|
548
|
+
str: ""
|
549
|
+
:@taguri: x-private:null
|
550
|
+
headers:
|
551
|
+
accept:
|
524
552
|
- application/vnd.ticketevolution.api+json; version=8
|
525
|
-
x-signature:
|
553
|
+
x-signature:
|
526
554
|
- 9zh1BeuVU5tveqT+0Do7lzfkgfIB0fEE/U5/aXVdKNM=
|
527
|
-
x-token:
|
555
|
+
x-token:
|
528
556
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
529
|
-
response: !ruby/struct:VCR::Response
|
530
|
-
status: !ruby/struct:VCR::ResponseStatus
|
557
|
+
response: !ruby/struct:VCR::Response
|
558
|
+
status: !ruby/struct:VCR::ResponseStatus
|
531
559
|
code: 422
|
532
560
|
message: Unprocessable Entity
|
533
|
-
headers:
|
534
|
-
content-type:
|
561
|
+
headers:
|
562
|
+
content-type:
|
535
563
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
536
|
-
transfer-encoding:
|
564
|
+
transfer-encoding:
|
537
565
|
- chunked
|
538
|
-
connection:
|
566
|
+
connection:
|
539
567
|
- keep-alive
|
540
|
-
status:
|
541
|
-
-
|
542
|
-
x-powered-by:
|
568
|
+
status:
|
569
|
+
- "422"
|
570
|
+
x-powered-by:
|
543
571
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
544
|
-
x-ua-compatible:
|
572
|
+
x-ua-compatible:
|
545
573
|
- IE=Edge,chrome=1
|
546
|
-
x-runtime:
|
547
|
-
-
|
548
|
-
cache-control:
|
574
|
+
x-runtime:
|
575
|
+
- "0.042914"
|
576
|
+
cache-control:
|
549
577
|
- no-cache
|
550
|
-
strict-transport-security:
|
578
|
+
strict-transport-security:
|
551
579
|
- max-age=31536000
|
552
|
-
server:
|
580
|
+
server:
|
553
581
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
554
|
-
body:
|
555
|
-
http_version:
|
556
|
-
- !ruby/struct:VCR::HTTPInteraction
|
557
|
-
request: !ruby/struct:VCR::Request
|
582
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:22Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2403\",\"id\":\"2403\"}"
|
583
|
+
http_version: "1.1"
|
584
|
+
- !ruby/struct:VCR::HTTPInteraction
|
585
|
+
request: !ruby/struct:VCR::Request
|
558
586
|
method: :get
|
559
587
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2403?
|
560
588
|
body: !!null
|
561
|
-
|
562
|
-
|
589
|
+
str: ""
|
590
|
+
:@taguri: x-private:null
|
591
|
+
headers:
|
592
|
+
accept:
|
563
593
|
- application/vnd.ticketevolution.api+json; version=8
|
564
|
-
x-signature:
|
594
|
+
x-signature:
|
565
595
|
- PGmwd7LRup/OhP1uGQwKY6xz1LbOiIo0qHyYWPM4mxQ=
|
566
|
-
x-token:
|
596
|
+
x-token:
|
567
597
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
568
|
-
response: !ruby/struct:VCR::Response
|
569
|
-
status: !ruby/struct:VCR::ResponseStatus
|
598
|
+
response: !ruby/struct:VCR::Response
|
599
|
+
status: !ruby/struct:VCR::ResponseStatus
|
570
600
|
code: 200
|
571
601
|
message: OK
|
572
|
-
headers:
|
573
|
-
content-type:
|
602
|
+
headers:
|
603
|
+
content-type:
|
574
604
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
575
|
-
transfer-encoding:
|
605
|
+
transfer-encoding:
|
576
606
|
- chunked
|
577
|
-
connection:
|
607
|
+
connection:
|
578
608
|
- keep-alive
|
579
|
-
status:
|
580
|
-
-
|
581
|
-
x-powered-by:
|
609
|
+
status:
|
610
|
+
- "200"
|
611
|
+
x-powered-by:
|
582
612
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
583
|
-
etag:
|
584
|
-
-
|
585
|
-
x-ua-compatible:
|
613
|
+
etag:
|
614
|
+
- "\"7cdb4b3fbba71ba67bc645a6f4b2a299\""
|
615
|
+
x-ua-compatible:
|
586
616
|
- IE=Edge,chrome=1
|
587
|
-
x-runtime:
|
588
|
-
-
|
589
|
-
cache-control:
|
617
|
+
x-runtime:
|
618
|
+
- "0.043280"
|
619
|
+
cache-control:
|
590
620
|
- max-age=0, private, must-revalidate
|
591
|
-
strict-transport-security:
|
621
|
+
strict-transport-security:
|
592
622
|
- max-age=31536000
|
593
|
-
server:
|
623
|
+
server:
|
594
624
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
595
|
-
body:
|
596
|
-
http_version:
|
597
|
-
- !ruby/struct:VCR::HTTPInteraction
|
598
|
-
request: !ruby/struct:VCR::Request
|
625
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:22Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2403\",\"id\":\"2403\"}"
|
626
|
+
http_version: "1.1"
|
627
|
+
- !ruby/struct:VCR::HTTPInteraction
|
628
|
+
request: !ruby/struct:VCR::Request
|
599
629
|
method: :get
|
600
630
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2403?
|
601
631
|
body: !!null
|
602
|
-
|
603
|
-
|
632
|
+
str: ""
|
633
|
+
:@taguri: x-private:null
|
634
|
+
headers:
|
635
|
+
accept:
|
604
636
|
- application/vnd.ticketevolution.api+json; version=8
|
605
|
-
x-signature:
|
637
|
+
x-signature:
|
606
638
|
- PGmwd7LRup/OhP1uGQwKY6xz1LbOiIo0qHyYWPM4mxQ=
|
607
|
-
x-token:
|
639
|
+
x-token:
|
608
640
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
609
|
-
response: !ruby/struct:VCR::Response
|
610
|
-
status: !ruby/struct:VCR::ResponseStatus
|
641
|
+
response: !ruby/struct:VCR::Response
|
642
|
+
status: !ruby/struct:VCR::ResponseStatus
|
611
643
|
code: 200
|
612
644
|
message: OK
|
613
|
-
headers:
|
614
|
-
content-type:
|
645
|
+
headers:
|
646
|
+
content-type:
|
615
647
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
616
|
-
transfer-encoding:
|
648
|
+
transfer-encoding:
|
617
649
|
- chunked
|
618
|
-
connection:
|
650
|
+
connection:
|
619
651
|
- keep-alive
|
620
|
-
status:
|
621
|
-
-
|
622
|
-
x-powered-by:
|
652
|
+
status:
|
653
|
+
- "200"
|
654
|
+
x-powered-by:
|
623
655
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
624
|
-
etag:
|
625
|
-
-
|
626
|
-
x-ua-compatible:
|
656
|
+
etag:
|
657
|
+
- "\"7cdb4b3fbba71ba67bc645a6f4b2a299\""
|
658
|
+
x-ua-compatible:
|
627
659
|
- IE=Edge,chrome=1
|
628
|
-
x-runtime:
|
629
|
-
-
|
630
|
-
cache-control:
|
660
|
+
x-runtime:
|
661
|
+
- "0.043280"
|
662
|
+
cache-control:
|
631
663
|
- max-age=0, private, must-revalidate
|
632
|
-
strict-transport-security:
|
664
|
+
strict-transport-security:
|
633
665
|
- max-age=31536000
|
634
|
-
server:
|
666
|
+
server:
|
635
667
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
636
|
-
body:
|
637
|
-
http_version:
|
638
|
-
- !ruby/struct:VCR::HTTPInteraction
|
639
|
-
request: !ruby/struct:VCR::Request
|
668
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:22Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2403\",\"id\":\"2403\"}"
|
669
|
+
http_version: "1.1"
|
670
|
+
- !ruby/struct:VCR::HTTPInteraction
|
671
|
+
request: !ruby/struct:VCR::Request
|
640
672
|
method: :post
|
641
673
|
uri: https://api.sandbox.ticketevolution.com:443/clients
|
642
|
-
body:
|
643
|
-
headers:
|
644
|
-
accept:
|
674
|
+
body: "{\"clients\":[{\"name\":\"foo\"}]}"
|
675
|
+
headers:
|
676
|
+
accept:
|
645
677
|
- application/vnd.ticketevolution.api+json; version=8
|
646
|
-
x-signature:
|
678
|
+
x-signature:
|
647
679
|
- Fjw96P6d0OgfpnxvFdz3E6L4KwmWOG/GzHLYaqPBltE=
|
648
|
-
x-token:
|
680
|
+
x-token:
|
649
681
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
650
|
-
response: !ruby/struct:VCR::Response
|
651
|
-
status: !ruby/struct:VCR::ResponseStatus
|
682
|
+
response: !ruby/struct:VCR::Response
|
683
|
+
status: !ruby/struct:VCR::ResponseStatus
|
652
684
|
code: 201
|
653
685
|
message: Created
|
654
|
-
headers:
|
655
|
-
content-type:
|
686
|
+
headers:
|
687
|
+
content-type:
|
656
688
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
657
|
-
transfer-encoding:
|
689
|
+
transfer-encoding:
|
658
690
|
- chunked
|
659
|
-
connection:
|
691
|
+
connection:
|
660
692
|
- keep-alive
|
661
|
-
status:
|
662
|
-
-
|
663
|
-
x-powered-by:
|
693
|
+
status:
|
694
|
+
- "201"
|
695
|
+
x-powered-by:
|
664
696
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
665
|
-
x-ua-compatible:
|
697
|
+
x-ua-compatible:
|
666
698
|
- IE=Edge,chrome=1
|
667
|
-
x-runtime:
|
668
|
-
-
|
669
|
-
cache-control:
|
699
|
+
x-runtime:
|
700
|
+
- "0.061331"
|
701
|
+
cache-control:
|
670
702
|
- no-cache
|
671
|
-
strict-transport-security:
|
703
|
+
strict-transport-security:
|
672
704
|
- max-age=31536000
|
673
|
-
server:
|
705
|
+
server:
|
674
706
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
675
|
-
body:
|
676
|
-
http_version:
|
677
|
-
- !ruby/struct:VCR::HTTPInteraction
|
678
|
-
request: !ruby/struct:VCR::Request
|
707
|
+
body: "{\"clients\":[{\"updated_at\":\"2012-02-22T17:07:30Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2405\",\"id\":\"2405\"}]}"
|
708
|
+
http_version: "1.1"
|
709
|
+
- !ruby/struct:VCR::HTTPInteraction
|
710
|
+
request: !ruby/struct:VCR::Request
|
679
711
|
method: :post
|
680
712
|
uri: https://api.sandbox.ticketevolution.com:443/clients
|
681
|
-
body:
|
682
|
-
headers:
|
683
|
-
accept:
|
713
|
+
body: "{\"clients\":[{\"name\":\"foo\"}]}"
|
714
|
+
headers:
|
715
|
+
accept:
|
684
716
|
- application/vnd.ticketevolution.api+json; version=8
|
685
|
-
x-signature:
|
717
|
+
x-signature:
|
686
718
|
- Fjw96P6d0OgfpnxvFdz3E6L4KwmWOG/GzHLYaqPBltE=
|
687
|
-
x-token:
|
719
|
+
x-token:
|
688
720
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
689
|
-
response: !ruby/struct:VCR::Response
|
690
|
-
status: !ruby/struct:VCR::ResponseStatus
|
721
|
+
response: !ruby/struct:VCR::Response
|
722
|
+
status: !ruby/struct:VCR::ResponseStatus
|
691
723
|
code: 201
|
692
724
|
message: Created
|
693
|
-
headers:
|
694
|
-
content-type:
|
725
|
+
headers:
|
726
|
+
content-type:
|
695
727
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
696
|
-
transfer-encoding:
|
728
|
+
transfer-encoding:
|
697
729
|
- chunked
|
698
|
-
connection:
|
730
|
+
connection:
|
699
731
|
- keep-alive
|
700
|
-
status:
|
701
|
-
-
|
702
|
-
x-powered-by:
|
732
|
+
status:
|
733
|
+
- "201"
|
734
|
+
x-powered-by:
|
703
735
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
704
|
-
x-ua-compatible:
|
736
|
+
x-ua-compatible:
|
705
737
|
- IE=Edge,chrome=1
|
706
|
-
x-runtime:
|
707
|
-
-
|
708
|
-
cache-control:
|
738
|
+
x-runtime:
|
739
|
+
- "0.061331"
|
740
|
+
cache-control:
|
709
741
|
- no-cache
|
710
|
-
strict-transport-security:
|
742
|
+
strict-transport-security:
|
711
743
|
- max-age=31536000
|
712
|
-
server:
|
744
|
+
server:
|
713
745
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
714
|
-
body:
|
715
|
-
http_version:
|
716
|
-
- !ruby/struct:VCR::HTTPInteraction
|
717
|
-
request: !ruby/struct:VCR::Request
|
746
|
+
body: "{\"clients\":[{\"updated_at\":\"2012-02-22T17:07:30Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2405\",\"id\":\"2405\"}]}"
|
747
|
+
http_version: "1.1"
|
748
|
+
- !ruby/struct:VCR::HTTPInteraction
|
749
|
+
request: !ruby/struct:VCR::Request
|
718
750
|
method: :put
|
719
751
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
720
752
|
body: !!null
|
721
|
-
|
722
|
-
|
753
|
+
str: ""
|
754
|
+
:@taguri: x-private:null
|
755
|
+
headers:
|
756
|
+
accept:
|
723
757
|
- application/vnd.ticketevolution.api+json; version=8
|
724
|
-
x-signature:
|
758
|
+
x-signature:
|
725
759
|
- MrWIbSh/NXi2biXcRe1ggmG4zpr2PyJFRgHxNG8Jb2E=
|
726
|
-
x-token:
|
760
|
+
x-token:
|
727
761
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
728
|
-
response: !ruby/struct:VCR::Response
|
729
|
-
status: !ruby/struct:VCR::ResponseStatus
|
762
|
+
response: !ruby/struct:VCR::Response
|
763
|
+
status: !ruby/struct:VCR::ResponseStatus
|
730
764
|
code: 422
|
731
765
|
message: Unprocessable Entity
|
732
|
-
headers:
|
733
|
-
content-type:
|
766
|
+
headers:
|
767
|
+
content-type:
|
734
768
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
735
|
-
transfer-encoding:
|
769
|
+
transfer-encoding:
|
736
770
|
- chunked
|
737
|
-
connection:
|
771
|
+
connection:
|
738
772
|
- keep-alive
|
739
|
-
status:
|
740
|
-
-
|
741
|
-
x-powered-by:
|
773
|
+
status:
|
774
|
+
- "422"
|
775
|
+
x-powered-by:
|
742
776
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
743
|
-
x-ua-compatible:
|
777
|
+
x-ua-compatible:
|
744
778
|
- IE=Edge,chrome=1
|
745
|
-
x-runtime:
|
746
|
-
-
|
747
|
-
cache-control:
|
779
|
+
x-runtime:
|
780
|
+
- "0.041863"
|
781
|
+
cache-control:
|
748
782
|
- no-cache
|
749
|
-
strict-transport-security:
|
783
|
+
strict-transport-security:
|
750
784
|
- max-age=31536000
|
751
|
-
server:
|
785
|
+
server:
|
752
786
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
753
|
-
body:
|
754
|
-
http_version:
|
755
|
-
- !ruby/struct:VCR::HTTPInteraction
|
756
|
-
request: !ruby/struct:VCR::Request
|
787
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
788
|
+
http_version: "1.1"
|
789
|
+
- !ruby/struct:VCR::HTTPInteraction
|
790
|
+
request: !ruby/struct:VCR::Request
|
757
791
|
method: :put
|
758
792
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
759
793
|
body: !!null
|
760
|
-
|
761
|
-
|
794
|
+
str: ""
|
795
|
+
:@taguri: x-private:null
|
796
|
+
headers:
|
797
|
+
accept:
|
762
798
|
- application/vnd.ticketevolution.api+json; version=8
|
763
|
-
x-signature:
|
799
|
+
x-signature:
|
764
800
|
- MrWIbSh/NXi2biXcRe1ggmG4zpr2PyJFRgHxNG8Jb2E=
|
765
|
-
x-token:
|
801
|
+
x-token:
|
766
802
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
767
|
-
response: !ruby/struct:VCR::Response
|
768
|
-
status: !ruby/struct:VCR::ResponseStatus
|
803
|
+
response: !ruby/struct:VCR::Response
|
804
|
+
status: !ruby/struct:VCR::ResponseStatus
|
769
805
|
code: 422
|
770
806
|
message: Unprocessable Entity
|
771
|
-
headers:
|
772
|
-
content-type:
|
807
|
+
headers:
|
808
|
+
content-type:
|
773
809
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
774
|
-
transfer-encoding:
|
810
|
+
transfer-encoding:
|
775
811
|
- chunked
|
776
|
-
connection:
|
812
|
+
connection:
|
777
813
|
- keep-alive
|
778
|
-
status:
|
779
|
-
-
|
780
|
-
x-powered-by:
|
814
|
+
status:
|
815
|
+
- "422"
|
816
|
+
x-powered-by:
|
781
817
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
782
|
-
x-ua-compatible:
|
818
|
+
x-ua-compatible:
|
783
819
|
- IE=Edge,chrome=1
|
784
|
-
x-runtime:
|
785
|
-
-
|
786
|
-
cache-control:
|
820
|
+
x-runtime:
|
821
|
+
- "0.041863"
|
822
|
+
cache-control:
|
787
823
|
- no-cache
|
788
|
-
strict-transport-security:
|
824
|
+
strict-transport-security:
|
789
825
|
- max-age=31536000
|
790
|
-
server:
|
826
|
+
server:
|
791
827
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
792
|
-
body:
|
793
|
-
http_version:
|
794
|
-
- !ruby/struct:VCR::HTTPInteraction
|
795
|
-
request: !ruby/struct:VCR::Request
|
828
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
829
|
+
http_version: "1.1"
|
830
|
+
- !ruby/struct:VCR::HTTPInteraction
|
831
|
+
request: !ruby/struct:VCR::Request
|
796
832
|
method: :get
|
797
833
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2405?
|
798
834
|
body: !!null
|
799
|
-
|
800
|
-
|
835
|
+
str: ""
|
836
|
+
:@taguri: x-private:null
|
837
|
+
headers:
|
838
|
+
accept:
|
801
839
|
- application/vnd.ticketevolution.api+json; version=8
|
802
|
-
x-signature:
|
840
|
+
x-signature:
|
803
841
|
- EXQBKNfU7Q71J9jwkO5wYxOTK1SfAv6A2UAFR96sCYA=
|
804
|
-
x-token:
|
842
|
+
x-token:
|
805
843
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
806
|
-
response: !ruby/struct:VCR::Response
|
807
|
-
status: !ruby/struct:VCR::ResponseStatus
|
844
|
+
response: !ruby/struct:VCR::Response
|
845
|
+
status: !ruby/struct:VCR::ResponseStatus
|
808
846
|
code: 200
|
809
847
|
message: OK
|
810
|
-
headers:
|
811
|
-
content-type:
|
848
|
+
headers:
|
849
|
+
content-type:
|
812
850
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
813
|
-
transfer-encoding:
|
851
|
+
transfer-encoding:
|
814
852
|
- chunked
|
815
|
-
connection:
|
853
|
+
connection:
|
816
854
|
- keep-alive
|
817
|
-
status:
|
818
|
-
-
|
819
|
-
x-powered-by:
|
855
|
+
status:
|
856
|
+
- "200"
|
857
|
+
x-powered-by:
|
820
858
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
821
|
-
etag:
|
822
|
-
-
|
823
|
-
x-ua-compatible:
|
859
|
+
etag:
|
860
|
+
- "\"38122730abd37dd6927e1f64be073626\""
|
861
|
+
x-ua-compatible:
|
824
862
|
- IE=Edge,chrome=1
|
825
|
-
x-runtime:
|
826
|
-
-
|
827
|
-
cache-control:
|
863
|
+
x-runtime:
|
864
|
+
- "0.045359"
|
865
|
+
cache-control:
|
828
866
|
- max-age=0, private, must-revalidate
|
829
|
-
strict-transport-security:
|
867
|
+
strict-transport-security:
|
830
868
|
- max-age=31536000
|
831
|
-
server:
|
869
|
+
server:
|
832
870
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
833
|
-
body:
|
834
|
-
http_version:
|
835
|
-
- !ruby/struct:VCR::HTTPInteraction
|
836
|
-
request: !ruby/struct:VCR::Request
|
871
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
872
|
+
http_version: "1.1"
|
873
|
+
- !ruby/struct:VCR::HTTPInteraction
|
874
|
+
request: !ruby/struct:VCR::Request
|
837
875
|
method: :get
|
838
876
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2405?
|
839
877
|
body: !!null
|
840
|
-
|
841
|
-
|
878
|
+
str: ""
|
879
|
+
:@taguri: x-private:null
|
880
|
+
headers:
|
881
|
+
accept:
|
842
882
|
- application/vnd.ticketevolution.api+json; version=8
|
843
|
-
x-signature:
|
883
|
+
x-signature:
|
844
884
|
- EXQBKNfU7Q71J9jwkO5wYxOTK1SfAv6A2UAFR96sCYA=
|
845
|
-
x-token:
|
885
|
+
x-token:
|
846
886
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
847
|
-
response: !ruby/struct:VCR::Response
|
848
|
-
status: !ruby/struct:VCR::ResponseStatus
|
887
|
+
response: !ruby/struct:VCR::Response
|
888
|
+
status: !ruby/struct:VCR::ResponseStatus
|
849
889
|
code: 200
|
850
890
|
message: OK
|
851
|
-
headers:
|
852
|
-
content-type:
|
891
|
+
headers:
|
892
|
+
content-type:
|
853
893
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
854
|
-
transfer-encoding:
|
894
|
+
transfer-encoding:
|
855
895
|
- chunked
|
856
|
-
connection:
|
896
|
+
connection:
|
857
897
|
- keep-alive
|
858
|
-
status:
|
859
|
-
-
|
860
|
-
x-powered-by:
|
898
|
+
status:
|
899
|
+
- "200"
|
900
|
+
x-powered-by:
|
861
901
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
862
|
-
etag:
|
863
|
-
-
|
864
|
-
x-ua-compatible:
|
902
|
+
etag:
|
903
|
+
- "\"38122730abd37dd6927e1f64be073626\""
|
904
|
+
x-ua-compatible:
|
865
905
|
- IE=Edge,chrome=1
|
866
|
-
x-runtime:
|
867
|
-
-
|
868
|
-
cache-control:
|
906
|
+
x-runtime:
|
907
|
+
- "0.045359"
|
908
|
+
cache-control:
|
869
909
|
- max-age=0, private, must-revalidate
|
870
|
-
strict-transport-security:
|
910
|
+
strict-transport-security:
|
871
911
|
- max-age=31536000
|
872
|
-
server:
|
912
|
+
server:
|
873
913
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
874
|
-
body:
|
875
|
-
http_version:
|
876
|
-
- !ruby/struct:VCR::HTTPInteraction
|
877
|
-
request: !ruby/struct:VCR::Request
|
914
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
915
|
+
http_version: "1.1"
|
916
|
+
- !ruby/struct:VCR::HTTPInteraction
|
917
|
+
request: !ruby/struct:VCR::Request
|
878
918
|
method: :put
|
879
919
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
880
|
-
body:
|
881
|
-
|
882
|
-
|
883
|
-
x-signature:
|
920
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"\",\"url\":\"/clients/2405\",\"status_code\":201,\"server_message\":\"Generally returned by successful POST requests. \"}"
|
921
|
+
headers:
|
922
|
+
x-signature:
|
884
923
|
- J4lvi21wPC1S/RShZKr/pLmjxBlMUw6nfmfAZ0MOzhs=
|
885
|
-
x-token:
|
924
|
+
x-token:
|
886
925
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
887
|
-
accept:
|
926
|
+
accept:
|
888
927
|
- application/vnd.ticketevolution.api+json; version=8
|
889
|
-
response: !ruby/struct:VCR::Response
|
890
|
-
status: !ruby/struct:VCR::ResponseStatus
|
928
|
+
response: !ruby/struct:VCR::Response
|
929
|
+
status: !ruby/struct:VCR::ResponseStatus
|
891
930
|
code: 422
|
892
931
|
message: Unprocessable Entity
|
893
|
-
headers:
|
894
|
-
content-type:
|
932
|
+
headers:
|
933
|
+
content-type:
|
895
934
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
896
|
-
transfer-encoding:
|
935
|
+
transfer-encoding:
|
897
936
|
- chunked
|
898
|
-
connection:
|
937
|
+
connection:
|
899
938
|
- keep-alive
|
900
|
-
status:
|
901
|
-
-
|
902
|
-
x-powered-by:
|
939
|
+
status:
|
940
|
+
- "422"
|
941
|
+
x-powered-by:
|
903
942
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
904
|
-
x-ua-compatible:
|
943
|
+
x-ua-compatible:
|
905
944
|
- IE=Edge,chrome=1
|
906
|
-
x-runtime:
|
907
|
-
-
|
908
|
-
cache-control:
|
945
|
+
x-runtime:
|
946
|
+
- "0.064119"
|
947
|
+
cache-control:
|
909
948
|
- no-cache
|
910
|
-
strict-transport-security:
|
949
|
+
strict-transport-security:
|
911
950
|
- max-age=31536000
|
912
|
-
server:
|
951
|
+
server:
|
913
952
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
914
|
-
body:
|
915
|
-
http_version:
|
916
|
-
- !ruby/struct:VCR::HTTPInteraction
|
917
|
-
request: !ruby/struct:VCR::Request
|
953
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
954
|
+
http_version: "1.1"
|
955
|
+
- !ruby/struct:VCR::HTTPInteraction
|
956
|
+
request: !ruby/struct:VCR::Request
|
918
957
|
method: :get
|
919
958
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
920
959
|
body: !!null
|
921
|
-
|
922
|
-
x-
|
960
|
+
str: ""
|
961
|
+
:@taguri: x-private:null
|
962
|
+
headers:
|
963
|
+
x-signature:
|
923
964
|
- EXQBKNfU7Q71J9jwkO5wYxOTK1SfAv6A2UAFR96sCYA=
|
924
|
-
x-token:
|
965
|
+
x-token:
|
925
966
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
926
|
-
accept:
|
967
|
+
accept:
|
927
968
|
- application/vnd.ticketevolution.api+json; version=8
|
928
|
-
accept-encoding:
|
969
|
+
accept-encoding:
|
929
970
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
930
|
-
response: !ruby/struct:VCR::Response
|
931
|
-
status: !ruby/struct:VCR::ResponseStatus
|
971
|
+
response: !ruby/struct:VCR::Response
|
972
|
+
status: !ruby/struct:VCR::ResponseStatus
|
932
973
|
code: 200
|
933
974
|
message: OK
|
934
|
-
headers:
|
935
|
-
content-type:
|
975
|
+
headers:
|
976
|
+
content-type:
|
936
977
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
937
|
-
transfer-encoding:
|
978
|
+
transfer-encoding:
|
938
979
|
- chunked
|
939
|
-
connection:
|
980
|
+
connection:
|
940
981
|
- keep-alive
|
941
|
-
status:
|
942
|
-
-
|
943
|
-
x-powered-by:
|
982
|
+
status:
|
983
|
+
- "200"
|
984
|
+
x-powered-by:
|
944
985
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
945
|
-
etag:
|
946
|
-
-
|
947
|
-
x-ua-compatible:
|
986
|
+
etag:
|
987
|
+
- "\"38122730abd37dd6927e1f64be073626\""
|
988
|
+
x-ua-compatible:
|
948
989
|
- IE=Edge,chrome=1
|
949
|
-
x-runtime:
|
950
|
-
-
|
951
|
-
cache-control:
|
990
|
+
x-runtime:
|
991
|
+
- "0.061728"
|
992
|
+
cache-control:
|
952
993
|
- max-age=0, private, must-revalidate
|
953
|
-
strict-transport-security:
|
994
|
+
strict-transport-security:
|
954
995
|
- max-age=31536000
|
955
|
-
server:
|
996
|
+
server:
|
956
997
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
957
|
-
body:
|
958
|
-
http_version:
|
959
|
-
- !ruby/struct:VCR::HTTPInteraction
|
960
|
-
request: !ruby/struct:VCR::Request
|
998
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
999
|
+
http_version: "1.1"
|
1000
|
+
- !ruby/struct:VCR::HTTPInteraction
|
1001
|
+
request: !ruby/struct:VCR::Request
|
961
1002
|
method: :put
|
962
1003
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
963
|
-
body:
|
964
|
-
|
965
|
-
|
966
|
-
x-signature:
|
1004
|
+
body: "{\"addresses\":[],\"email_addresses\":[],\"name\":\"\",\"phone_numbers\":[],\"server_message\":\"Generally returned by successful POST requests. \",\"status_code\":201,\"updated_at\":\"2012-02-22T17:07:30Z\",\"url\":\"/clients/2405\"}"
|
1005
|
+
headers:
|
1006
|
+
x-signature:
|
967
1007
|
- Xf/nsdiHiYbpLeGbgDDsOBfXJpGtlinClG/MoyzgkdI=
|
968
|
-
x-token:
|
1008
|
+
x-token:
|
969
1009
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
970
|
-
accept:
|
1010
|
+
accept:
|
971
1011
|
- application/vnd.ticketevolution.api+json; version=8
|
972
|
-
response: !ruby/struct:VCR::Response
|
973
|
-
status: !ruby/struct:VCR::ResponseStatus
|
1012
|
+
response: !ruby/struct:VCR::Response
|
1013
|
+
status: !ruby/struct:VCR::ResponseStatus
|
974
1014
|
code: 422
|
975
1015
|
message: Unprocessable Entity
|
976
|
-
headers:
|
977
|
-
content-type:
|
1016
|
+
headers:
|
1017
|
+
content-type:
|
978
1018
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
979
|
-
transfer-encoding:
|
1019
|
+
transfer-encoding:
|
980
1020
|
- chunked
|
981
|
-
connection:
|
1021
|
+
connection:
|
982
1022
|
- keep-alive
|
983
|
-
status:
|
984
|
-
-
|
985
|
-
x-powered-by:
|
1023
|
+
status:
|
1024
|
+
- "422"
|
1025
|
+
x-powered-by:
|
986
1026
|
- Phusion Passenger (mod_rails/mod_rack) 2.2.10
|
987
|
-
x-runtime:
|
988
|
-
-
|
989
|
-
x-ua-compatible:
|
1027
|
+
x-runtime:
|
1028
|
+
- "0.028101"
|
1029
|
+
x-ua-compatible:
|
990
1030
|
- IE=Edge,chrome=1
|
991
|
-
strict-transport-security:
|
1031
|
+
strict-transport-security:
|
992
1032
|
- max-age=31536000
|
993
|
-
cache-control:
|
1033
|
+
cache-control:
|
994
1034
|
- no-cache
|
995
|
-
server:
|
1035
|
+
server:
|
996
1036
|
- nginx/0.7.65 + Phusion Passenger 2.2.10 (mod_rails/mod_rack)
|
997
|
-
body:
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1037
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"phone_numbers\":[],\"url\":\"/clients/2405\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[{\"postal_code\":\"77338\",\"street_address\":\"21338 maple harvest lane\",\"extended_address\":null,\"locality\":\"Humble\",\"latitude\":null,\"country_code\":null,\"region\":\"Tx\",\"name\":\"Martil martinez\",\"longitude\":null},{\"postal_code\":\"77338\",\"street_address\":\"21338 maple harvest lane\",\"extended_address\":null,\"locality\":\"Humble\",\"latitude\":null,\"country_code\":null,\"region\":\"Tx\",\"name\":null,\"longitude\":null}],\"name\":null,\"id\":\"2405\",\"email_addresses\":[]}"
|
1038
|
+
http_version: "1.1"
|
1039
|
+
- !ruby/struct:VCR::HTTPInteraction
|
1040
|
+
request: !ruby/struct:VCR::Request
|
1041
|
+
method: :get
|
1042
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
1043
|
+
body:
|
1044
|
+
headers:
|
1045
|
+
x-signature:
|
1046
|
+
- EXQBKNfU7Q71J9jwkO5wYxOTK1SfAv6A2UAFR96sCYA=
|
1047
|
+
x-token:
|
1048
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
1049
|
+
accept:
|
1050
|
+
- application/vnd.ticketevolution.api+json; version=8
|
1051
|
+
accept-encoding:
|
1052
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1053
|
+
response: !ruby/struct:VCR::Response
|
1054
|
+
status: !ruby/struct:VCR::ResponseStatus
|
1055
|
+
code: 200
|
1056
|
+
message: OK
|
1057
|
+
headers:
|
1058
|
+
content-type:
|
1059
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
1060
|
+
transfer-encoding:
|
1061
|
+
- chunked
|
1062
|
+
connection:
|
1063
|
+
- keep-alive
|
1064
|
+
status:
|
1065
|
+
- "200"
|
1066
|
+
x-powered-by:
|
1067
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
1068
|
+
etag:
|
1069
|
+
- "\"cd1417e2efc16139c294987f74bfb8e5\""
|
1070
|
+
cache-control:
|
1071
|
+
- max-age=0, private, must-revalidate
|
1072
|
+
x-runtime:
|
1073
|
+
- "0.039907"
|
1074
|
+
x-ua-compatible:
|
1075
|
+
- IE=Edge,chrome=1
|
1076
|
+
strict-transport-security:
|
1077
|
+
- max-age=31536000
|
1078
|
+
server:
|
1079
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
1080
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"phone_numbers\":[],\"email_addresses\":[],\"addresses\":[{\"latitude\":null,\"postal_code\":\"77338\",\"longitude\":null,\"street_address\":\"21338 maple harvest lane\",\"extended_address\":null,\"locality\":\"Humble\",\"label\":null,\"name\":\"Martil martinez\",\"id\":\"170037\",\"country_code\":null,\"region\":\"Tx\"},{\"latitude\":null,\"postal_code\":\"77338\",\"longitude\":null,\"street_address\":\"21338 maple harvest lane\",\"extended_address\":null,\"locality\":\"Humble\",\"label\":null,\"name\":null,\"id\":\"170038\",\"country_code\":null,\"region\":\"Tx\"}],\"tags\":[],\"company\":null,\"name\":\"foo\",\"id\":\"2405\",\"url\":\"/clients/2405\"}"
|
1081
|
+
http_version: "1.1"
|