recurly 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of recurly might be problematic. Click here for more details.

Files changed (62) hide show
  1. data/lib/recurly/charge.rb +5 -6
  2. data/lib/recurly/version.rb +1 -1
  3. data/spec/integration/charge_spec.rb +1 -0
  4. data/spec/vcr/account/close/1287167046.yml +15 -15
  5. data/spec/vcr/account/create-blank/1287167046.yml +3 -3
  6. data/spec/vcr/account/create-duplicate/1287167046.yml +9 -9
  7. data/spec/vcr/account/create-min/1287167046.yml +6 -6
  8. data/spec/vcr/account/create/1287167046.yml +6 -6
  9. data/spec/vcr/account/find/1287167046.yml +14 -14
  10. data/spec/vcr/account/list/1287167046.yml +100 -100
  11. data/spec/vcr/account/update/1287167046.yml +26 -26
  12. data/spec/vcr/billing/create/1286682213.yml +16 -16
  13. data/spec/vcr/billing/destroy/1286682213.yml +24 -24
  14. data/spec/vcr/billing/find/1286682213.yml +20 -20
  15. data/spec/vcr/billing/update/1286682213.yml +21 -21
  16. data/spec/vcr/charge/create/{1286681273.yml → 1287465632.yml} +35 -35
  17. data/spec/vcr/charge/delete-uninvoiced/{1287460783.yml → 1287465632.yml} +102 -56
  18. data/spec/vcr/charge/list-all/{1286681273.yml → 1287465632.yml} +51 -51
  19. data/spec/vcr/charge/list-invoiced/{1286681273.yml → 1287465632.yml} +80 -80
  20. data/spec/vcr/charge/list-pending/{1286681273.yml → 1287465632.yml} +51 -51
  21. data/spec/vcr/charge/lookup/{1286681273.yml → 1287465632.yml} +27 -27
  22. data/spec/vcr/credit/create/{1287461340.yml → 1287461400.yml} +25 -25
  23. data/spec/vcr/credit/{delete-uninvoiced/1287460732.yml → delete/1287461400.yml} +34 -34
  24. data/spec/vcr/credit/list/{1287460732.yml → 1287461400.yml} +50 -50
  25. data/spec/vcr/credit/lookup/{1287461340.yml → 1287461400.yml} +26 -26
  26. data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
  27. data/spec/vcr/invoice/create/1287167121.yml +36 -36
  28. data/spec/vcr/invoice/list/1287167121.yml +51 -51
  29. data/spec/vcr/invoice/lookup/1287167121.yml +37 -37
  30. data/spec/vcr/plan/all.yml +9 -9
  31. data/spec/vcr/plan/delete/1286677585.yml +16 -16
  32. data/spec/vcr/plan/find.yml +9 -9
  33. data/spec/vcr/plan/update.yml +9 -9
  34. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +51 -51
  35. data/spec/vcr/subscription/cancel/1287455769.yml +42 -42
  36. data/spec/vcr/subscription/change1/1287455769.yml +38 -38
  37. data/spec/vcr/subscription/change2/1287455769.yml +38 -38
  38. data/spec/vcr/subscription/create/1287455769.yml +17 -17
  39. data/spec/vcr/subscription/find/1287455769.yml +24 -24
  40. data/spec/vcr/subscription/reactivate/1287455769.yml +44 -44
  41. data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
  42. data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
  43. data/spec/vcr/subscription/refund-partial/1287455769.yml +36 -36
  44. data/spec/vcr/transaction/all/1287186411.yml +45 -45
  45. data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
  46. data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
  47. data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
  48. data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
  49. data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
  50. data/spec/vcr/transaction/refund/1287186411.yml +24 -24
  51. data/spec/vcr/transaction/void/1287186411.yml +61 -61
  52. metadata +23 -43
  53. data/spec/vcr/credit/create/1286681343.yml +0 -171
  54. data/spec/vcr/credit/create/1287460732.yml +0 -171
  55. data/spec/vcr/credit/delete-invoiced/1287460732.yml +0 -233
  56. data/spec/vcr/credit/delete-invoiced/1287461340.yml +0 -283
  57. data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +0 -246
  58. data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +0 -221
  59. data/spec/vcr/credit/list/1286681343.yml +0 -299
  60. data/spec/vcr/credit/list/1287461340.yml +0 -299
  61. data/spec/vcr/credit/lookup/1286681343.yml +0 -171
  62. data/spec/vcr/credit/lookup/1287460732.yml +0 -171
@@ -7,7 +7,7 @@
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
- <account-code>charge-list-all-1286681273</account-code>
10
+ <account-code>charge-list-all-1287465632</account-code>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
13
13
  <first-name>Verena</first-name>
@@ -28,30 +28,30 @@
28
28
  message: Created
29
29
  headers:
30
30
  location:
31
- - https://recurlytest3-test.recurly.com/accounts/charge-list-all-1286681273
31
+ - https://recurlytest3-test.recurly.com/accounts/charge-list-all-1287465632
32
32
  connection:
33
33
  - close
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "599"
37
+ - "785"
38
38
  date:
39
- - Tue, 19 Oct 2010 03:19:16 GMT
39
+ - Tue, 19 Oct 2010 05:21:32 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "585"
44
44
  set-cookie:
45
- - account_credentials=2345b603a23e1fafe72d427d9ee453cf5f07694a70236f2553ae336c591ed911d84582aa60e42a1cda0f9623ded77681ff1eaaf21e2f35e08d659f47404941eb%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=5bf57f375eca39fa3c55bb3a4b76d4a0f31bbcca3c9e21781923384bd2d7329ace9a259366aad9720121426355a4b5e9fd0c2750d697c9f20348a34cb9a8a665%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=375d78e4676c90a68efbceffef1b84b5; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=b14899fc13a0a93ade603aaf76cb9af2; domain=.recurly.com; path=/; Secure; HttpOnly
48
48
  cache-control:
49
49
  - no-cache
50
50
  body: |
51
51
  <?xml version="1.0" encoding="UTF-8"?>
52
52
  <account>
53
- <id>charge-list-all-1286681273</id>
54
- <account_code>charge-list-all-1286681273</account_code>
53
+ <id>charge-list-all-1287465632</id>
54
+ <account_code>charge-list-all-1287465632</account_code>
55
55
  <username></username>
56
56
  <email>verena@test.com</email>
57
57
  <first_name>Verena</first_name>
@@ -59,8 +59,8 @@
59
59
  <company_name>Recurly Ruby Gem</company_name>
60
60
  <balance_in_cents type="integer">0</balance_in_cents>
61
61
  <closed type="boolean">false</closed>
62
- <hosted_login_token>032dea127b094ff0a1a0d873ab389525</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T03:19:16Z</created_at>
62
+ <hosted_login_token>8cab662023434e1ca0d9f187e0f0afa5</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T05:21:32Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -68,7 +68,7 @@
68
68
  - !ruby/struct:VCR::HTTPInteraction
69
69
  request: !ruby/struct:VCR::Request
70
70
  method: :post
71
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1286681273/charges.xml
71
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1287465632/charges.xml
72
72
  body: |
73
73
  <?xml version="1.0" encoding="UTF-8"?>
74
74
  <charge>
@@ -95,34 +95,34 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "46"
98
+ - "66"
99
99
  date:
100
- - Tue, 19 Oct 2010 03:19:17 GMT
100
+ - Tue, 19 Oct 2010 05:21:33 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
104
  - "458"
105
105
  set-cookie:
106
- - _recurly_session=4ef8da970a6efd16a22583201174555d; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=fa3f0c226cd2c15dfc62746c0e38c386; domain=.recurly.com; path=/; Secure; HttpOnly
107
107
  cache-control:
108
108
  - no-cache
109
109
  body: |
110
110
  <?xml version="1.0" encoding="UTF-8"?>
111
111
  <charge type="charge">
112
- <id>4dadad97f8534a689e9cbd234081bb3f</id>
113
- <account_code>charge-list-all-1286681273</account_code>
112
+ <id>7b090dd55b36479db910baa160bc3473</id>
113
+ <account_code>charge-list-all-1287465632</account_code>
114
114
  <amount_in_cents type="integer">1000</amount_in_cents>
115
- <start_date type="datetime">2010-10-19T03:19:17Z</start_date>
115
+ <start_date type="datetime">2010-10-19T05:21:33Z</start_date>
116
116
  <end_date nil="true" type="datetime"></end_date>
117
117
  <description>charge description</description>
118
- <created_at type="datetime">2010-10-19T03:19:17Z</created_at>
118
+ <created_at type="datetime">2010-10-19T05:21:33Z</created_at>
119
119
  </charge>
120
120
 
121
121
  http_version: "1.1"
122
122
  - !ruby/struct:VCR::HTTPInteraction
123
123
  request: !ruby/struct:VCR::Request
124
124
  method: :post
125
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1286681273/charges.xml
125
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1287465632/charges.xml
126
126
  body: |
127
127
  <?xml version="1.0" encoding="UTF-8"?>
128
128
  <charge>
@@ -149,34 +149,34 @@
149
149
  content-type:
150
150
  - application/xml; charset=utf-8
151
151
  x-runtime:
152
- - "66"
152
+ - "60"
153
153
  date:
154
- - Tue, 19 Oct 2010 03:19:18 GMT
154
+ - Tue, 19 Oct 2010 05:21:33 GMT
155
155
  server:
156
156
  - nginx/0.7.65
157
157
  content-length:
158
158
  - "458"
159
159
  set-cookie:
160
- - _recurly_session=8a5c7e044d86c695ffd5954843532022; domain=.recurly.com; path=/; Secure; HttpOnly
160
+ - _recurly_session=48f6cbad7bd3c1c20c78cf84c9ed4bd9; domain=.recurly.com; path=/; Secure; HttpOnly
161
161
  cache-control:
162
162
  - no-cache
163
163
  body: |
164
164
  <?xml version="1.0" encoding="UTF-8"?>
165
165
  <charge type="charge">
166
- <id>4741b35c9dcf47b2827b1dc196259f33</id>
167
- <account_code>charge-list-all-1286681273</account_code>
166
+ <id>1c3feaa8810a4c2eb9946320c8848761</id>
167
+ <account_code>charge-list-all-1287465632</account_code>
168
168
  <amount_in_cents type="integer">1000</amount_in_cents>
169
- <start_date type="datetime">2010-10-19T03:19:18Z</start_date>
169
+ <start_date type="datetime">2010-10-19T05:21:33Z</start_date>
170
170
  <end_date nil="true" type="datetime"></end_date>
171
171
  <description>charge description</description>
172
- <created_at type="datetime">2010-10-19T03:19:18Z</created_at>
172
+ <created_at type="datetime">2010-10-19T05:21:33Z</created_at>
173
173
  </charge>
174
174
 
175
175
  http_version: "1.1"
176
176
  - !ruby/struct:VCR::HTTPInteraction
177
177
  request: !ruby/struct:VCR::Request
178
178
  method: :post
179
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1286681273/charges.xml
179
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1287465632/charges.xml
180
180
  body: |
181
181
  <?xml version="1.0" encoding="UTF-8"?>
182
182
  <charge>
@@ -203,34 +203,34 @@
203
203
  content-type:
204
204
  - application/xml; charset=utf-8
205
205
  x-runtime:
206
- - "45"
206
+ - "187"
207
207
  date:
208
- - Tue, 19 Oct 2010 03:19:18 GMT
208
+ - Tue, 19 Oct 2010 05:21:34 GMT
209
209
  server:
210
210
  - nginx/0.7.65
211
211
  content-length:
212
212
  - "458"
213
213
  set-cookie:
214
- - _recurly_session=648e87b903527a2a0917c53eb8ce5dad; domain=.recurly.com; path=/; Secure; HttpOnly
214
+ - _recurly_session=504b2ca7c66a1669a6f9fafb7bbca706; domain=.recurly.com; path=/; Secure; HttpOnly
215
215
  cache-control:
216
216
  - no-cache
217
217
  body: |
218
218
  <?xml version="1.0" encoding="UTF-8"?>
219
219
  <charge type="charge">
220
- <id>0fb0e4a21ebc4838a52bd9611cbcd8e1</id>
221
- <account_code>charge-list-all-1286681273</account_code>
220
+ <id>ad22bf40847e4cdfae424585f2cc3dd6</id>
221
+ <account_code>charge-list-all-1287465632</account_code>
222
222
  <amount_in_cents type="integer">1000</amount_in_cents>
223
- <start_date type="datetime">2010-10-19T03:19:18Z</start_date>
223
+ <start_date type="datetime">2010-10-19T05:21:34Z</start_date>
224
224
  <end_date nil="true" type="datetime"></end_date>
225
225
  <description>charge description</description>
226
- <created_at type="datetime">2010-10-19T03:19:18Z</created_at>
226
+ <created_at type="datetime">2010-10-19T05:21:34Z</created_at>
227
227
  </charge>
228
228
 
229
229
  http_version: "1.1"
230
230
  - !ruby/struct:VCR::HTTPInteraction
231
231
  request: !ruby/struct:VCR::Request
232
232
  method: :get
233
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1286681273/charges.xml
233
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1287465632/charges.xml
234
234
  body:
235
235
  headers:
236
236
  accept:
@@ -247,55 +247,55 @@
247
247
  x-ua-compatible:
248
248
  - IE=Edge
249
249
  etag:
250
- - "\"752e50a703dc7d348a68690a64377745\""
250
+ - "\"8438f8d5f52c73d2921f59d46b0670c8\""
251
251
  connection:
252
252
  - close
253
253
  content-type:
254
254
  - application/xml; charset=utf-8
255
255
  x-runtime:
256
- - "18"
256
+ - "19"
257
257
  date:
258
- - Tue, 19 Oct 2010 03:19:19 GMT
258
+ - Tue, 19 Oct 2010 05:21:35 GMT
259
259
  server:
260
260
  - nginx/0.7.65
261
261
  content-length:
262
262
  - "1576"
263
263
  set-cookie:
264
- - _recurly_session=be13c26eeedc452fd91cefee40b10ec6; domain=.recurly.com; path=/; Secure; HttpOnly
264
+ - _recurly_session=0e322185b03d364d7bd79cd1ba6ebd90; domain=.recurly.com; path=/; Secure; HttpOnly
265
265
  cache-control:
266
266
  - private, max-age=0, must-revalidate
267
267
  body: |
268
268
  <?xml version="1.0" encoding="UTF-8"?>
269
269
  <charges type="array">
270
270
  <charge type="charge">
271
- <id>0fb0e4a21ebc4838a52bd9611cbcd8e1</id>
272
- <account_code>charge-list-all-1286681273</account_code>
271
+ <id>ad22bf40847e4cdfae424585f2cc3dd6</id>
272
+ <account_code>charge-list-all-1287465632</account_code>
273
273
  <amount_in_cents type="integer">1000</amount_in_cents>
274
- <start_date type="datetime">2010-10-19T03:19:18Z</start_date>
274
+ <start_date type="datetime">2010-10-19T05:21:34Z</start_date>
275
275
  <end_date nil="true" type="datetime"></end_date>
276
276
  <invoice_number nil="true" type="integer"></invoice_number>
277
277
  <description>charge description</description>
278
- <created_at type="datetime">2010-10-19T03:19:18Z</created_at>
278
+ <created_at type="datetime">2010-10-19T05:21:34Z</created_at>
279
279
  </charge>
280
280
  <charge type="charge">
281
- <id>4741b35c9dcf47b2827b1dc196259f33</id>
282
- <account_code>charge-list-all-1286681273</account_code>
281
+ <id>1c3feaa8810a4c2eb9946320c8848761</id>
282
+ <account_code>charge-list-all-1287465632</account_code>
283
283
  <amount_in_cents type="integer">1000</amount_in_cents>
284
- <start_date type="datetime">2010-10-19T03:19:18Z</start_date>
284
+ <start_date type="datetime">2010-10-19T05:21:33Z</start_date>
285
285
  <end_date nil="true" type="datetime"></end_date>
286
286
  <invoice_number nil="true" type="integer"></invoice_number>
287
287
  <description>charge description</description>
288
- <created_at type="datetime">2010-10-19T03:19:18Z</created_at>
288
+ <created_at type="datetime">2010-10-19T05:21:33Z</created_at>
289
289
  </charge>
290
290
  <charge type="charge">
291
- <id>4dadad97f8534a689e9cbd234081bb3f</id>
292
- <account_code>charge-list-all-1286681273</account_code>
291
+ <id>7b090dd55b36479db910baa160bc3473</id>
292
+ <account_code>charge-list-all-1287465632</account_code>
293
293
  <amount_in_cents type="integer">1000</amount_in_cents>
294
- <start_date type="datetime">2010-10-19T03:19:17Z</start_date>
294
+ <start_date type="datetime">2010-10-19T05:21:33Z</start_date>
295
295
  <end_date nil="true" type="datetime"></end_date>
296
296
  <invoice_number nil="true" type="integer"></invoice_number>
297
297
  <description>charge description</description>
298
- <created_at type="datetime">2010-10-19T03:19:17Z</created_at>
298
+ <created_at type="datetime">2010-10-19T05:21:33Z</created_at>
299
299
  </charge>
300
300
  </charges>
301
301
 
@@ -7,7 +7,7 @@
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
- <account-code>charge-list-invoiced-1286681273</account-code>
10
+ <account-code>charge-list-invoiced-1287465632</account-code>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
13
13
  <first-name>Verena</first-name>
@@ -28,30 +28,30 @@
28
28
  message: Created
29
29
  headers:
30
30
  location:
31
- - https://recurlytest3-test.recurly.com/accounts/charge-list-invoiced-1286681273
31
+ - https://recurlytest3-test.recurly.com/accounts/charge-list-invoiced-1287465632
32
32
  connection:
33
33
  - close
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "605"
37
+ - "595"
38
38
  date:
39
- - Tue, 19 Oct 2010 03:19:25 GMT
39
+ - Tue, 19 Oct 2010 05:21:40 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "595"
44
44
  set-cookie:
45
- - account_credentials=3c057e23bdef2e66370143b8d0561ddf6743370a6d49c8f466042f238ede8e6736101d20fda5b92aec5600216a079f47d68fdf6917197a45591de9c57f9efc75%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=a78dc2108f10fa662870ddabb124cd963c691b5ec4c0bc48675c5280643327f1b043c0e4b8adeeaff15fd2d3e8a05c502417a82d6f1aa679183a6b2a612536bd%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=aaebc1758a797cd80349e78346632385; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=9e866bf9dbd3621f94fdde8da3c33ade; domain=.recurly.com; path=/; Secure; HttpOnly
48
48
  cache-control:
49
49
  - no-cache
50
50
  body: |
51
51
  <?xml version="1.0" encoding="UTF-8"?>
52
52
  <account>
53
- <id>charge-list-invoiced-1286681273</id>
54
- <account_code>charge-list-invoiced-1286681273</account_code>
53
+ <id>charge-list-invoiced-1287465632</id>
54
+ <account_code>charge-list-invoiced-1287465632</account_code>
55
55
  <username></username>
56
56
  <email>verena@test.com</email>
57
57
  <first_name>Verena</first_name>
@@ -59,8 +59,8 @@
59
59
  <company_name>Recurly Ruby Gem</company_name>
60
60
  <balance_in_cents type="integer">0</balance_in_cents>
61
61
  <closed type="boolean">false</closed>
62
- <hosted_login_token>57f36da5dada41fc9ec078171ee7878a</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T03:19:25Z</created_at>
62
+ <hosted_login_token>28e88afeef0144eeb237b0920fbc7079</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T05:21:39Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -68,7 +68,7 @@
68
68
  - !ruby/struct:VCR::HTTPInteraction
69
69
  request: !ruby/struct:VCR::Request
70
70
  method: :post
71
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1286681273/charges.xml
71
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/charges.xml
72
72
  body: |
73
73
  <?xml version="1.0" encoding="UTF-8"?>
74
74
  <charge>
@@ -95,34 +95,34 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "66"
98
+ - "46"
99
99
  date:
100
- - Tue, 19 Oct 2010 03:19:25 GMT
100
+ - Tue, 19 Oct 2010 05:21:40 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
104
  - "463"
105
105
  set-cookie:
106
- - _recurly_session=c0242851c6cce7d91e9442ed476082eb; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=cae476be6eacd8920b4e12f1704a6b9c; domain=.recurly.com; path=/; Secure; HttpOnly
107
107
  cache-control:
108
108
  - no-cache
109
109
  body: |
110
110
  <?xml version="1.0" encoding="UTF-8"?>
111
111
  <charge type="charge">
112
- <id>ee35bcfbe0bd437cac3b789ceebc3a14</id>
113
- <account_code>charge-list-invoiced-1286681273</account_code>
112
+ <id>2f93fb97c4c94738b27f7c232256aa6a</id>
113
+ <account_code>charge-list-invoiced-1287465632</account_code>
114
114
  <amount_in_cents type="integer">1000</amount_in_cents>
115
- <start_date type="datetime">2010-10-19T03:19:25Z</start_date>
115
+ <start_date type="datetime">2010-10-19T05:21:40Z</start_date>
116
116
  <end_date nil="true" type="datetime"></end_date>
117
117
  <description>charge description</description>
118
- <created_at type="datetime">2010-10-19T03:19:25Z</created_at>
118
+ <created_at type="datetime">2010-10-19T05:21:40Z</created_at>
119
119
  </charge>
120
120
 
121
121
  http_version: "1.1"
122
122
  - !ruby/struct:VCR::HTTPInteraction
123
123
  request: !ruby/struct:VCR::Request
124
124
  method: :post
125
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1286681273/charges.xml
125
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/charges.xml
126
126
  body: |
127
127
  <?xml version="1.0" encoding="UTF-8"?>
128
128
  <charge>
@@ -149,34 +149,34 @@
149
149
  content-type:
150
150
  - application/xml; charset=utf-8
151
151
  x-runtime:
152
- - "46"
152
+ - "218"
153
153
  date:
154
- - Tue, 19 Oct 2010 03:19:26 GMT
154
+ - Tue, 19 Oct 2010 05:21:41 GMT
155
155
  server:
156
156
  - nginx/0.7.65
157
157
  content-length:
158
158
  - "463"
159
159
  set-cookie:
160
- - _recurly_session=740a6bfc7d8d785b34827bacded36d2d; domain=.recurly.com; path=/; Secure; HttpOnly
160
+ - _recurly_session=56ab087bc51496481305ea005114323e; domain=.recurly.com; path=/; Secure; HttpOnly
161
161
  cache-control:
162
162
  - no-cache
163
163
  body: |
164
164
  <?xml version="1.0" encoding="UTF-8"?>
165
165
  <charge type="charge">
166
- <id>5fcb7fb959a641ada081199eab66e78c</id>
167
- <account_code>charge-list-invoiced-1286681273</account_code>
166
+ <id>447e0700996745aaa28dc0a149a36043</id>
167
+ <account_code>charge-list-invoiced-1287465632</account_code>
168
168
  <amount_in_cents type="integer">1000</amount_in_cents>
169
- <start_date type="datetime">2010-10-19T03:19:26Z</start_date>
169
+ <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
170
170
  <end_date nil="true" type="datetime"></end_date>
171
171
  <description>charge description</description>
172
- <created_at type="datetime">2010-10-19T03:19:26Z</created_at>
172
+ <created_at type="datetime">2010-10-19T05:21:41Z</created_at>
173
173
  </charge>
174
174
 
175
175
  http_version: "1.1"
176
176
  - !ruby/struct:VCR::HTTPInteraction
177
177
  request: !ruby/struct:VCR::Request
178
178
  method: :post
179
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1286681273/charges.xml
179
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/charges.xml
180
180
  body: |
181
181
  <?xml version="1.0" encoding="UTF-8"?>
182
182
  <charge>
@@ -203,34 +203,34 @@
203
203
  content-type:
204
204
  - application/xml; charset=utf-8
205
205
  x-runtime:
206
- - "63"
206
+ - "46"
207
207
  date:
208
- - Tue, 19 Oct 2010 03:19:27 GMT
208
+ - Tue, 19 Oct 2010 05:21:42 GMT
209
209
  server:
210
210
  - nginx/0.7.65
211
211
  content-length:
212
212
  - "463"
213
213
  set-cookie:
214
- - _recurly_session=f3e256f2f91f95874289e13456c1a670; domain=.recurly.com; path=/; Secure; HttpOnly
214
+ - _recurly_session=c7bd344cc825e5db935430e93240b997; domain=.recurly.com; path=/; Secure; HttpOnly
215
215
  cache-control:
216
216
  - no-cache
217
217
  body: |
218
218
  <?xml version="1.0" encoding="UTF-8"?>
219
219
  <charge type="charge">
220
- <id>4a9d52dddd334b7daf2b8605dd02fa7d</id>
221
- <account_code>charge-list-invoiced-1286681273</account_code>
220
+ <id>9842d2ebd85746a9a5ee70db39489250</id>
221
+ <account_code>charge-list-invoiced-1287465632</account_code>
222
222
  <amount_in_cents type="integer">1000</amount_in_cents>
223
- <start_date type="datetime">2010-10-19T03:19:27Z</start_date>
223
+ <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
224
224
  <end_date nil="true" type="datetime"></end_date>
225
225
  <description>charge description</description>
226
- <created_at type="datetime">2010-10-19T03:19:27Z</created_at>
226
+ <created_at type="datetime">2010-10-19T05:21:41Z</created_at>
227
227
  </charge>
228
228
 
229
229
  http_version: "1.1"
230
230
  - !ruby/struct:VCR::HTTPInteraction
231
231
  request: !ruby/struct:VCR::Request
232
232
  method: :post
233
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1286681273/invoices.xml
233
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/invoices.xml
234
234
  body: |
235
235
  <?xml version="1.0" encoding="UTF-8"?>
236
236
  <invoice>
@@ -251,30 +251,30 @@
251
251
  message: Created
252
252
  headers:
253
253
  location:
254
- - https://recurlytest3-test.recurly.com/invoices/a40ee837de2e4a95bf1865fc8dee97a9
254
+ - https://recurlytest3-test.recurly.com/invoices/bd60ecf16f7243278d4f01bb905cec51
255
255
  connection:
256
256
  - close
257
257
  content-type:
258
258
  - application/xml; charset=utf-8
259
259
  x-runtime:
260
- - "255"
260
+ - "81"
261
261
  date:
262
- - Tue, 19 Oct 2010 03:19:28 GMT
262
+ - Tue, 19 Oct 2010 05:21:42 GMT
263
263
  server:
264
264
  - nginx/0.7.65
265
265
  content-length:
266
266
  - "1934"
267
267
  set-cookie:
268
- - _recurly_session=aec4a7b014acb4696422cc978aad7808; domain=.recurly.com; path=/; Secure; HttpOnly
268
+ - _recurly_session=296caaead839a4fb3090164f0eb79f70; domain=.recurly.com; path=/; Secure; HttpOnly
269
269
  cache-control:
270
270
  - no-cache
271
271
  body: |
272
272
  <?xml version="1.0" encoding="UTF-8"?>
273
273
  <invoice>
274
- <id>a40ee837de2e4a95bf1865fc8dee97a9</id>
275
- <account_code>charge-list-invoiced-1286681273</account_code>
276
- <date type="datetime">2010-10-19T03:19:27Z</date>
277
- <invoice_number type="integer">1993</invoice_number>
274
+ <id>bd60ecf16f7243278d4f01bb905cec51</id>
275
+ <account_code>charge-list-invoiced-1287465632</account_code>
276
+ <date type="datetime">2010-10-19T05:21:42Z</date>
277
+ <invoice_number type="integer">2069</invoice_number>
278
278
  <vat_number></vat_number>
279
279
  <status>open</status>
280
280
  <subtotal_in_cents type="integer">3000</subtotal_in_cents>
@@ -284,31 +284,31 @@
284
284
  <total_due_in_cents type="integer">3000</total_due_in_cents>
285
285
  <line_items type="array">
286
286
  <line_item>
287
- <id>ee35bcfbe0bd437cac3b789ceebc3a14</id>
287
+ <id>2f93fb97c4c94738b27f7c232256aa6a</id>
288
288
  <type>charge</type>
289
289
  <amount_in_cents type="integer">1000</amount_in_cents>
290
- <start_date type="datetime">2010-10-19T03:19:25Z</start_date>
290
+ <start_date type="datetime">2010-10-19T05:21:40Z</start_date>
291
291
  <end_date nil="true" type="datetime"></end_date>
292
292
  <description>charge description</description>
293
- <created_at type="datetime">2010-10-19T03:19:25Z</created_at>
293
+ <created_at type="datetime">2010-10-19T05:21:40Z</created_at>
294
294
  </line_item>
295
295
  <line_item>
296
- <id>5fcb7fb959a641ada081199eab66e78c</id>
296
+ <id>447e0700996745aaa28dc0a149a36043</id>
297
297
  <type>charge</type>
298
298
  <amount_in_cents type="integer">1000</amount_in_cents>
299
- <start_date type="datetime">2010-10-19T03:19:26Z</start_date>
299
+ <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
300
300
  <end_date nil="true" type="datetime"></end_date>
301
301
  <description>charge description</description>
302
- <created_at type="datetime">2010-10-19T03:19:26Z</created_at>
302
+ <created_at type="datetime">2010-10-19T05:21:41Z</created_at>
303
303
  </line_item>
304
304
  <line_item>
305
- <id>4a9d52dddd334b7daf2b8605dd02fa7d</id>
305
+ <id>9842d2ebd85746a9a5ee70db39489250</id>
306
306
  <type>charge</type>
307
307
  <amount_in_cents type="integer">1000</amount_in_cents>
308
- <start_date type="datetime">2010-10-19T03:19:27Z</start_date>
308
+ <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
309
309
  <end_date nil="true" type="datetime"></end_date>
310
310
  <description>charge description</description>
311
- <created_at type="datetime">2010-10-19T03:19:27Z</created_at>
311
+ <created_at type="datetime">2010-10-19T05:21:41Z</created_at>
312
312
  </line_item>
313
313
  </line_items>
314
314
  <payments type="array">
@@ -319,7 +319,7 @@
319
319
  - !ruby/struct:VCR::HTTPInteraction
320
320
  request: !ruby/struct:VCR::Request
321
321
  method: :post
322
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1286681273/charges.xml
322
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/charges.xml
323
323
  body: |
324
324
  <?xml version="1.0" encoding="UTF-8"?>
325
325
  <charge>
@@ -346,34 +346,34 @@
346
346
  content-type:
347
347
  - application/xml; charset=utf-8
348
348
  x-runtime:
349
- - "45"
349
+ - "65"
350
350
  date:
351
- - Tue, 19 Oct 2010 03:19:28 GMT
351
+ - Tue, 19 Oct 2010 05:21:43 GMT
352
352
  server:
353
353
  - nginx/0.7.65
354
354
  content-length:
355
355
  - "463"
356
356
  set-cookie:
357
- - _recurly_session=e360998a550d92a9a3d2f642c41538a9; domain=.recurly.com; path=/; Secure; HttpOnly
357
+ - _recurly_session=bcce32d95de7b9e14ffc0659c6292a89; domain=.recurly.com; path=/; Secure; HttpOnly
358
358
  cache-control:
359
359
  - no-cache
360
360
  body: |
361
361
  <?xml version="1.0" encoding="UTF-8"?>
362
362
  <charge type="charge">
363
- <id>425cda8b3f5b4cc4aba598230df12b2b</id>
364
- <account_code>charge-list-invoiced-1286681273</account_code>
363
+ <id>8f433445ff3c432a968c8ee25d45b59d</id>
364
+ <account_code>charge-list-invoiced-1287465632</account_code>
365
365
  <amount_in_cents type="integer">1000</amount_in_cents>
366
- <start_date type="datetime">2010-10-19T03:19:28Z</start_date>
366
+ <start_date type="datetime">2010-10-19T05:21:43Z</start_date>
367
367
  <end_date nil="true" type="datetime"></end_date>
368
368
  <description>charge description</description>
369
- <created_at type="datetime">2010-10-19T03:19:28Z</created_at>
369
+ <created_at type="datetime">2010-10-19T05:21:43Z</created_at>
370
370
  </charge>
371
371
 
372
372
  http_version: "1.1"
373
373
  - !ruby/struct:VCR::HTTPInteraction
374
374
  request: !ruby/struct:VCR::Request
375
375
  method: :get
376
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1286681273/charges.xml?show=invoiced
376
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/charges.xml?show=invoiced
377
377
  body:
378
378
  headers:
379
379
  accept:
@@ -390,55 +390,55 @@
390
390
  x-ua-compatible:
391
391
  - IE=Edge
392
392
  etag:
393
- - "\"7c9cc277b219a1b1a1437f2cc1576bd8\""
393
+ - "\"6b620e5a9d879872118b425fa8e3fc95\""
394
394
  connection:
395
395
  - close
396
396
  content-type:
397
397
  - application/xml; charset=utf-8
398
398
  x-runtime:
399
- - "23"
399
+ - "24"
400
400
  date:
401
- - Tue, 19 Oct 2010 03:19:29 GMT
401
+ - Tue, 19 Oct 2010 05:21:43 GMT
402
402
  server:
403
403
  - nginx/0.7.65
404
404
  content-length:
405
405
  - "1570"
406
406
  set-cookie:
407
- - _recurly_session=a2e0ecbd864740f0f1dd8b6fcd74538b; domain=.recurly.com; path=/; Secure; HttpOnly
407
+ - _recurly_session=6ef9ca6be832cbb52214f7f452ea9113; domain=.recurly.com; path=/; Secure; HttpOnly
408
408
  cache-control:
409
409
  - private, max-age=0, must-revalidate
410
410
  body: |
411
411
  <?xml version="1.0" encoding="UTF-8"?>
412
412
  <charges type="array">
413
413
  <charge type="charge">
414
- <id>4a9d52dddd334b7daf2b8605dd02fa7d</id>
415
- <account_code>charge-list-invoiced-1286681273</account_code>
414
+ <id>9842d2ebd85746a9a5ee70db39489250</id>
415
+ <account_code>charge-list-invoiced-1287465632</account_code>
416
416
  <amount_in_cents type="integer">1000</amount_in_cents>
417
- <start_date type="datetime">2010-10-19T03:19:27Z</start_date>
417
+ <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
418
418
  <end_date nil="true" type="datetime"></end_date>
419
- <invoice_nunber type="integer">1993</invoice_nunber>
419
+ <invoice_nunber type="integer">2069</invoice_nunber>
420
420
  <description>charge description</description>
421
- <created_at type="datetime">2010-10-19T03:19:27Z</created_at>
421
+ <created_at type="datetime">2010-10-19T05:21:41Z</created_at>
422
422
  </charge>
423
423
  <charge type="charge">
424
- <id>5fcb7fb959a641ada081199eab66e78c</id>
425
- <account_code>charge-list-invoiced-1286681273</account_code>
424
+ <id>447e0700996745aaa28dc0a149a36043</id>
425
+ <account_code>charge-list-invoiced-1287465632</account_code>
426
426
  <amount_in_cents type="integer">1000</amount_in_cents>
427
- <start_date type="datetime">2010-10-19T03:19:26Z</start_date>
427
+ <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
428
428
  <end_date nil="true" type="datetime"></end_date>
429
- <invoice_nunber type="integer">1993</invoice_nunber>
429
+ <invoice_nunber type="integer">2069</invoice_nunber>
430
430
  <description>charge description</description>
431
- <created_at type="datetime">2010-10-19T03:19:26Z</created_at>
431
+ <created_at type="datetime">2010-10-19T05:21:41Z</created_at>
432
432
  </charge>
433
433
  <charge type="charge">
434
- <id>ee35bcfbe0bd437cac3b789ceebc3a14</id>
435
- <account_code>charge-list-invoiced-1286681273</account_code>
434
+ <id>2f93fb97c4c94738b27f7c232256aa6a</id>
435
+ <account_code>charge-list-invoiced-1287465632</account_code>
436
436
  <amount_in_cents type="integer">1000</amount_in_cents>
437
- <start_date type="datetime">2010-10-19T03:19:25Z</start_date>
437
+ <start_date type="datetime">2010-10-19T05:21:40Z</start_date>
438
438
  <end_date nil="true" type="datetime"></end_date>
439
- <invoice_nunber type="integer">1993</invoice_nunber>
439
+ <invoice_nunber type="integer">2069</invoice_nunber>
440
440
  <description>charge description</description>
441
- <created_at type="datetime">2010-10-19T03:19:25Z</created_at>
441
+ <created_at type="datetime">2010-10-19T05:21:40Z</created_at>
442
442
  </charge>
443
443
  </charges>
444
444