recurly 0.2.3 → 0.2.4

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 (80) hide show
  1. data/lib/recurly.rb +1 -0
  2. data/lib/recurly/charge.rb +6 -0
  3. data/lib/recurly/subscription.rb +23 -5
  4. data/lib/recurly/version.rb +1 -1
  5. data/spec/integration/charge_spec.rb +45 -0
  6. data/spec/integration/credit_spec.rb +19 -0
  7. data/spec/integration/subscription_spec.rb +62 -9
  8. data/spec/vcr/account/close/1287167046.yml +15 -15
  9. data/spec/vcr/account/create-blank/1287167046.yml +3 -3
  10. data/spec/vcr/account/create-duplicate/1287167046.yml +8 -8
  11. data/spec/vcr/account/create-min/1287167046.yml +6 -6
  12. data/spec/vcr/account/create/1287167046.yml +6 -6
  13. data/spec/vcr/account/find/1287167046.yml +14 -14
  14. data/spec/vcr/account/list/1287167046.yml +101 -101
  15. data/spec/vcr/account/update/1287167046.yml +26 -26
  16. data/spec/vcr/billing/create/1286682213.yml +15 -15
  17. data/spec/vcr/billing/destroy/1286682213.yml +23 -23
  18. data/spec/vcr/billing/find/1286682213.yml +21 -21
  19. data/spec/vcr/billing/update/1286682213.yml +21 -21
  20. data/spec/vcr/charge/create/1286681273.yml +24 -24
  21. data/spec/vcr/charge/delete-uninvoiced/1287460783.yml +246 -0
  22. data/spec/vcr/charge/list-all/1286681273.yml +37 -37
  23. data/spec/vcr/charge/list-invoiced/1286681273.yml +62 -62
  24. data/spec/vcr/charge/list-pending/1286681273.yml +37 -37
  25. data/spec/vcr/charge/lookup/1286681273.yml +20 -20
  26. data/spec/vcr/credit/create/1286681343.yml +20 -20
  27. data/spec/vcr/credit/create/1287460732.yml +171 -0
  28. data/spec/vcr/credit/create/1287461340.yml +171 -0
  29. data/spec/vcr/credit/delete-invoiced/1287460732.yml +233 -0
  30. data/spec/vcr/credit/delete-invoiced/1287461340.yml +283 -0
  31. data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +246 -0
  32. data/spec/vcr/credit/delete-uninvoiced/1287460732.yml +246 -0
  33. data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +221 -0
  34. data/spec/vcr/credit/list/1286681343.yml +36 -36
  35. data/spec/vcr/credit/list/1287460732.yml +299 -0
  36. data/spec/vcr/credit/list/1287461340.yml +299 -0
  37. data/spec/vcr/credit/lookup/1286681343.yml +20 -20
  38. data/spec/vcr/credit/lookup/1287460732.yml +171 -0
  39. data/spec/vcr/credit/lookup/1287461340.yml +171 -0
  40. data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
  41. data/spec/vcr/invoice/create/1287167121.yml +36 -36
  42. data/spec/vcr/invoice/list/1287167121.yml +52 -52
  43. data/spec/vcr/invoice/lookup/1287167121.yml +38 -38
  44. data/spec/vcr/plan/all.yml +9 -9
  45. data/spec/vcr/plan/delete/1286677585.yml +16 -16
  46. data/spec/vcr/plan/find.yml +9 -9
  47. data/spec/vcr/plan/update.yml +9 -9
  48. data/spec/vcr/subscription/{cancel/1287442108.yml → cancel-with-code/1287455769.yml} +124 -65
  49. data/spec/vcr/subscription/cancel/{1287439446.yml → 1287455769.yml} +59 -59
  50. data/spec/vcr/subscription/change1/{1287442352.yml → 1287455769.yml} +56 -56
  51. data/spec/vcr/subscription/change2/{1287442352.yml → 1287455769.yml} +56 -56
  52. data/spec/vcr/subscription/create/{1287442352.yml → 1287455769.yml} +25 -25
  53. data/spec/vcr/subscription/find/{1287442108.yml → 1287455769.yml} +36 -36
  54. data/spec/vcr/subscription/{cancel/1287442352.yml → reactivate/1287455769.yml} +107 -66
  55. data/spec/vcr/subscription/refund-full/{1287442108.yml → 1287455769.yml} +50 -50
  56. data/spec/vcr/subscription/{refund-full/1287439446.yml → refund-none/1287455769.yml} +51 -51
  57. data/spec/vcr/subscription/refund-partial/{1287442108.yml → 1287455769.yml} +50 -50
  58. data/spec/vcr/transaction/all/1287186411.yml +80 -80
  59. data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
  60. data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
  61. data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
  62. data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
  63. data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
  64. data/spec/vcr/transaction/refund/1287186411.yml +24 -24
  65. data/spec/vcr/transaction/void/1287186411.yml +60 -60
  66. metadata +67 -56
  67. data/spec/vcr/subscription/change1/1287439446.yml +0 -409
  68. data/spec/vcr/subscription/change1/1287442108.yml +0 -409
  69. data/spec/vcr/subscription/change2/1287439446.yml +0 -409
  70. data/spec/vcr/subscription/change2/1287442108.yml +0 -409
  71. data/spec/vcr/subscription/create/1287439446.yml +0 -224
  72. data/spec/vcr/subscription/create/1287442108.yml +0 -224
  73. data/spec/vcr/subscription/find/1287439446.yml +0 -283
  74. data/spec/vcr/subscription/find/1287442352.yml +0 -283
  75. data/spec/vcr/subscription/refund-full/1287442352.yml +0 -382
  76. data/spec/vcr/subscription/refund-none/1287439446.yml +0 -382
  77. data/spec/vcr/subscription/refund-none/1287442108.yml +0 -382
  78. data/spec/vcr/subscription/refund-none/1287442352.yml +0 -382
  79. data/spec/vcr/subscription/refund-partial/1287439446.yml +0 -382
  80. data/spec/vcr/subscription/refund-partial/1287442352.yml +0 -382
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "609"
37
+ - "599"
38
38
  date:
39
- - Mon, 18 Oct 2010 22:05:21 GMT
39
+ - Tue, 19 Oct 2010 03:19:16 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "585"
44
44
  set-cookie:
45
- - account_credentials=474b9f5590ec5a818e5da24277161aec22eea7c2908e41b22d321259ce83bf387e8daec8a5704649c3fe0667dbdf89ccd7315a81ec519410d456dd157ac321eb%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=2345b603a23e1fafe72d427d9ee453cf5f07694a70236f2553ae336c591ed911d84582aa60e42a1cda0f9623ded77681ff1eaaf21e2f35e08d659f47404941eb%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=86ea9ce779f41ab557f7ad1275647693; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=375d78e4676c90a68efbceffef1b84b5; domain=.recurly.com; path=/; Secure; HttpOnly
48
48
  cache-control:
49
49
  - no-cache
50
50
  body: |
@@ -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>3c0551a6be2b4d5d9f315318fe9f87cb</hosted_login_token>
63
- <created_at type="datetime">2010-10-18T22:05:21Z</created_at>
62
+ <hosted_login_token>032dea127b094ff0a1a0d873ab389525</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T03:19:16Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -95,27 +95,27 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "47"
98
+ - "46"
99
99
  date:
100
- - Mon, 18 Oct 2010 22:05:22 GMT
100
+ - Tue, 19 Oct 2010 03:19:17 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
104
  - "458"
105
105
  set-cookie:
106
- - _recurly_session=3d7ccbc878ac7bf35544cedc684238e4; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=4ef8da970a6efd16a22583201174555d; 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>e7876066f0ad4d9da8a68826e162403b</id>
112
+ <id>4dadad97f8534a689e9cbd234081bb3f</id>
113
113
  <account_code>charge-list-all-1286681273</account_code>
114
114
  <amount_in_cents type="integer">1000</amount_in_cents>
115
- <start_date type="datetime">2010-10-18T22:05:22Z</start_date>
115
+ <start_date type="datetime">2010-10-19T03:19:17Z</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-18T22:05:22Z</created_at>
118
+ <created_at type="datetime">2010-10-19T03:19:17Z</created_at>
119
119
  </charge>
120
120
 
121
121
  http_version: "1.1"
@@ -149,27 +149,27 @@
149
149
  content-type:
150
150
  - application/xml; charset=utf-8
151
151
  x-runtime:
152
- - "46"
152
+ - "66"
153
153
  date:
154
- - Mon, 18 Oct 2010 22:05:23 GMT
154
+ - Tue, 19 Oct 2010 03:19:18 GMT
155
155
  server:
156
156
  - nginx/0.7.65
157
157
  content-length:
158
158
  - "458"
159
159
  set-cookie:
160
- - _recurly_session=ad84c419fb131a82d830dbd7803db49e; domain=.recurly.com; path=/; Secure; HttpOnly
160
+ - _recurly_session=8a5c7e044d86c695ffd5954843532022; 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>45e1746d19c6415284022e8c6e945063</id>
166
+ <id>4741b35c9dcf47b2827b1dc196259f33</id>
167
167
  <account_code>charge-list-all-1286681273</account_code>
168
168
  <amount_in_cents type="integer">1000</amount_in_cents>
169
- <start_date type="datetime">2010-10-18T22:05:23Z</start_date>
169
+ <start_date type="datetime">2010-10-19T03:19:18Z</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-18T22:05:23Z</created_at>
172
+ <created_at type="datetime">2010-10-19T03:19:18Z</created_at>
173
173
  </charge>
174
174
 
175
175
  http_version: "1.1"
@@ -203,27 +203,27 @@
203
203
  content-type:
204
204
  - application/xml; charset=utf-8
205
205
  x-runtime:
206
- - "66"
206
+ - "45"
207
207
  date:
208
- - Mon, 18 Oct 2010 22:05:23 GMT
208
+ - Tue, 19 Oct 2010 03:19:18 GMT
209
209
  server:
210
210
  - nginx/0.7.65
211
211
  content-length:
212
212
  - "458"
213
213
  set-cookie:
214
- - _recurly_session=1dd4b18b7b55210338f1e9dcb3d3a61c; domain=.recurly.com; path=/; Secure; HttpOnly
214
+ - _recurly_session=648e87b903527a2a0917c53eb8ce5dad; 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>de68db46c8cc4836b98c442de0cd0f7a</id>
220
+ <id>0fb0e4a21ebc4838a52bd9611cbcd8e1</id>
221
221
  <account_code>charge-list-all-1286681273</account_code>
222
222
  <amount_in_cents type="integer">1000</amount_in_cents>
223
- <start_date type="datetime">2010-10-18T22:05:23Z</start_date>
223
+ <start_date type="datetime">2010-10-19T03:19:18Z</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-18T22:05:23Z</created_at>
226
+ <created_at type="datetime">2010-10-19T03:19:18Z</created_at>
227
227
  </charge>
228
228
 
229
229
  http_version: "1.1"
@@ -247,55 +247,55 @@
247
247
  x-ua-compatible:
248
248
  - IE=Edge
249
249
  etag:
250
- - "\"51cd4b3152d5aca1109aeaf6b711c467\""
250
+ - "\"752e50a703dc7d348a68690a64377745\""
251
251
  connection:
252
252
  - close
253
253
  content-type:
254
254
  - application/xml; charset=utf-8
255
255
  x-runtime:
256
- - "21"
256
+ - "18"
257
257
  date:
258
- - Mon, 18 Oct 2010 22:05:24 GMT
258
+ - Tue, 19 Oct 2010 03:19:19 GMT
259
259
  server:
260
260
  - nginx/0.7.65
261
261
  content-length:
262
262
  - "1576"
263
263
  set-cookie:
264
- - _recurly_session=3079951de9c2d5199bab9a8e3eb03581; domain=.recurly.com; path=/; Secure; HttpOnly
264
+ - _recurly_session=be13c26eeedc452fd91cefee40b10ec6; 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>de68db46c8cc4836b98c442de0cd0f7a</id>
271
+ <id>0fb0e4a21ebc4838a52bd9611cbcd8e1</id>
272
272
  <account_code>charge-list-all-1286681273</account_code>
273
273
  <amount_in_cents type="integer">1000</amount_in_cents>
274
- <start_date type="datetime">2010-10-18T22:05:23Z</start_date>
274
+ <start_date type="datetime">2010-10-19T03:19:18Z</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-18T22:05:23Z</created_at>
278
+ <created_at type="datetime">2010-10-19T03:19:18Z</created_at>
279
279
  </charge>
280
280
  <charge type="charge">
281
- <id>45e1746d19c6415284022e8c6e945063</id>
281
+ <id>4741b35c9dcf47b2827b1dc196259f33</id>
282
282
  <account_code>charge-list-all-1286681273</account_code>
283
283
  <amount_in_cents type="integer">1000</amount_in_cents>
284
- <start_date type="datetime">2010-10-18T22:05:23Z</start_date>
284
+ <start_date type="datetime">2010-10-19T03:19:18Z</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-18T22:05:23Z</created_at>
288
+ <created_at type="datetime">2010-10-19T03:19:18Z</created_at>
289
289
  </charge>
290
290
  <charge type="charge">
291
- <id>e7876066f0ad4d9da8a68826e162403b</id>
291
+ <id>4dadad97f8534a689e9cbd234081bb3f</id>
292
292
  <account_code>charge-list-all-1286681273</account_code>
293
293
  <amount_in_cents type="integer">1000</amount_in_cents>
294
- <start_date type="datetime">2010-10-18T22:05:22Z</start_date>
294
+ <start_date type="datetime">2010-10-19T03:19:17Z</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-18T22:05:22Z</created_at>
298
+ <created_at type="datetime">2010-10-19T03:19:17Z</created_at>
299
299
  </charge>
300
300
  </charges>
301
301
 
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "586"
37
+ - "605"
38
38
  date:
39
- - Mon, 18 Oct 2010 22:05:30 GMT
39
+ - Tue, 19 Oct 2010 03:19:25 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "595"
44
44
  set-cookie:
45
- - account_credentials=b25693fb4961677bf2d29035dda3cd8262059514c5b71c28982d6aa9746793da5f01df95ba9513517bc05c7ad71680e14a2348e5a89b4d5977fac35e83c7ad74%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=3c057e23bdef2e66370143b8d0561ddf6743370a6d49c8f466042f238ede8e6736101d20fda5b92aec5600216a079f47d68fdf6917197a45591de9c57f9efc75%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=a6525c202bf43e6fff54dfad7ba1e494; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=aaebc1758a797cd80349e78346632385; domain=.recurly.com; path=/; Secure; HttpOnly
48
48
  cache-control:
49
49
  - no-cache
50
50
  body: |
@@ -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>1369e863697e44ba8fc3f1c9efb8ec3f</hosted_login_token>
63
- <created_at type="datetime">2010-10-18T22:05:30Z</created_at>
62
+ <hosted_login_token>57f36da5dada41fc9ec078171ee7878a</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T03:19:25Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -95,27 +95,27 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "47"
98
+ - "66"
99
99
  date:
100
- - Mon, 18 Oct 2010 22:05:31 GMT
100
+ - Tue, 19 Oct 2010 03:19:25 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
104
  - "463"
105
105
  set-cookie:
106
- - _recurly_session=1918f0eba5839f2aeb7bafd649ad017b; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=c0242851c6cce7d91e9442ed476082eb; 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>fb155de0732748d9bde3b8b10e0b452c</id>
112
+ <id>ee35bcfbe0bd437cac3b789ceebc3a14</id>
113
113
  <account_code>charge-list-invoiced-1286681273</account_code>
114
114
  <amount_in_cents type="integer">1000</amount_in_cents>
115
- <start_date type="datetime">2010-10-18T22:05:31Z</start_date>
115
+ <start_date type="datetime">2010-10-19T03:19:25Z</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-18T22:05:31Z</created_at>
118
+ <created_at type="datetime">2010-10-19T03:19:25Z</created_at>
119
119
  </charge>
120
120
 
121
121
  http_version: "1.1"
@@ -149,27 +149,27 @@
149
149
  content-type:
150
150
  - application/xml; charset=utf-8
151
151
  x-runtime:
152
- - "66"
152
+ - "46"
153
153
  date:
154
- - Mon, 18 Oct 2010 22:05:32 GMT
154
+ - Tue, 19 Oct 2010 03:19:26 GMT
155
155
  server:
156
156
  - nginx/0.7.65
157
157
  content-length:
158
158
  - "463"
159
159
  set-cookie:
160
- - _recurly_session=f721d4c8fc960c42fb02b726fe43029c; domain=.recurly.com; path=/; Secure; HttpOnly
160
+ - _recurly_session=740a6bfc7d8d785b34827bacded36d2d; 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>2635e71d71594df29c976b647341a9a4</id>
166
+ <id>5fcb7fb959a641ada081199eab66e78c</id>
167
167
  <account_code>charge-list-invoiced-1286681273</account_code>
168
168
  <amount_in_cents type="integer">1000</amount_in_cents>
169
- <start_date type="datetime">2010-10-18T22:05:32Z</start_date>
169
+ <start_date type="datetime">2010-10-19T03:19:26Z</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-18T22:05:32Z</created_at>
172
+ <created_at type="datetime">2010-10-19T03:19:26Z</created_at>
173
173
  </charge>
174
174
 
175
175
  http_version: "1.1"
@@ -203,27 +203,27 @@
203
203
  content-type:
204
204
  - application/xml; charset=utf-8
205
205
  x-runtime:
206
- - "46"
206
+ - "63"
207
207
  date:
208
- - Mon, 18 Oct 2010 22:05:32 GMT
208
+ - Tue, 19 Oct 2010 03:19:27 GMT
209
209
  server:
210
210
  - nginx/0.7.65
211
211
  content-length:
212
212
  - "463"
213
213
  set-cookie:
214
- - _recurly_session=bb5faf86a0d1d40fe00b72aacb93206f; domain=.recurly.com; path=/; Secure; HttpOnly
214
+ - _recurly_session=f3e256f2f91f95874289e13456c1a670; 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>1d1190fe9fda43c1bfd51933ad3d1af4</id>
220
+ <id>4a9d52dddd334b7daf2b8605dd02fa7d</id>
221
221
  <account_code>charge-list-invoiced-1286681273</account_code>
222
222
  <amount_in_cents type="integer">1000</amount_in_cents>
223
- <start_date type="datetime">2010-10-18T22:05:32Z</start_date>
223
+ <start_date type="datetime">2010-10-19T03:19:27Z</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-18T22:05:32Z</created_at>
226
+ <created_at type="datetime">2010-10-19T03:19:27Z</created_at>
227
227
  </charge>
228
228
 
229
229
  http_version: "1.1"
@@ -251,30 +251,30 @@
251
251
  message: Created
252
252
  headers:
253
253
  location:
254
- - https://recurlytest3-test.recurly.com/invoices/80d45b08695c4ddbb9ce3751e5a4240f
254
+ - https://recurlytest3-test.recurly.com/invoices/a40ee837de2e4a95bf1865fc8dee97a9
255
255
  connection:
256
256
  - close
257
257
  content-type:
258
258
  - application/xml; charset=utf-8
259
259
  x-runtime:
260
- - "87"
260
+ - "255"
261
261
  date:
262
- - Mon, 18 Oct 2010 22:05:33 GMT
262
+ - Tue, 19 Oct 2010 03:19:28 GMT
263
263
  server:
264
264
  - nginx/0.7.65
265
265
  content-length:
266
266
  - "1934"
267
267
  set-cookie:
268
- - _recurly_session=57946aabc460aefe443e6487ef99dbd4; domain=.recurly.com; path=/; Secure; HttpOnly
268
+ - _recurly_session=aec4a7b014acb4696422cc978aad7808; 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>80d45b08695c4ddbb9ce3751e5a4240f</id>
274
+ <id>a40ee837de2e4a95bf1865fc8dee97a9</id>
275
275
  <account_code>charge-list-invoiced-1286681273</account_code>
276
- <date type="datetime">2010-10-18T22:05:33Z</date>
277
- <invoice_number type="integer">1865</invoice_number>
276
+ <date type="datetime">2010-10-19T03:19:27Z</date>
277
+ <invoice_number type="integer">1993</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>fb155de0732748d9bde3b8b10e0b452c</id>
287
+ <id>ee35bcfbe0bd437cac3b789ceebc3a14</id>
288
288
  <type>charge</type>
289
289
  <amount_in_cents type="integer">1000</amount_in_cents>
290
- <start_date type="datetime">2010-10-18T22:05:31Z</start_date>
290
+ <start_date type="datetime">2010-10-19T03:19:25Z</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-18T22:05:31Z</created_at>
293
+ <created_at type="datetime">2010-10-19T03:19:25Z</created_at>
294
294
  </line_item>
295
295
  <line_item>
296
- <id>2635e71d71594df29c976b647341a9a4</id>
296
+ <id>5fcb7fb959a641ada081199eab66e78c</id>
297
297
  <type>charge</type>
298
298
  <amount_in_cents type="integer">1000</amount_in_cents>
299
- <start_date type="datetime">2010-10-18T22:05:32Z</start_date>
299
+ <start_date type="datetime">2010-10-19T03:19:26Z</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-18T22:05:32Z</created_at>
302
+ <created_at type="datetime">2010-10-19T03:19:26Z</created_at>
303
303
  </line_item>
304
304
  <line_item>
305
- <id>1d1190fe9fda43c1bfd51933ad3d1af4</id>
305
+ <id>4a9d52dddd334b7daf2b8605dd02fa7d</id>
306
306
  <type>charge</type>
307
307
  <amount_in_cents type="integer">1000</amount_in_cents>
308
- <start_date type="datetime">2010-10-18T22:05:32Z</start_date>
308
+ <start_date type="datetime">2010-10-19T03:19:27Z</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-18T22:05:32Z</created_at>
311
+ <created_at type="datetime">2010-10-19T03:19:27Z</created_at>
312
312
  </line_item>
313
313
  </line_items>
314
314
  <payments type="array">
@@ -346,27 +346,27 @@
346
346
  content-type:
347
347
  - application/xml; charset=utf-8
348
348
  x-runtime:
349
- - "66"
349
+ - "45"
350
350
  date:
351
- - Mon, 18 Oct 2010 22:05:34 GMT
351
+ - Tue, 19 Oct 2010 03:19:28 GMT
352
352
  server:
353
353
  - nginx/0.7.65
354
354
  content-length:
355
355
  - "463"
356
356
  set-cookie:
357
- - _recurly_session=c48b0e8d1e1bf4918f5ba23dea576521; domain=.recurly.com; path=/; Secure; HttpOnly
357
+ - _recurly_session=e360998a550d92a9a3d2f642c41538a9; 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>52e65fb087cd4f809a1c69331609588f</id>
363
+ <id>425cda8b3f5b4cc4aba598230df12b2b</id>
364
364
  <account_code>charge-list-invoiced-1286681273</account_code>
365
365
  <amount_in_cents type="integer">1000</amount_in_cents>
366
- <start_date type="datetime">2010-10-18T22:05:34Z</start_date>
366
+ <start_date type="datetime">2010-10-19T03:19:28Z</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-18T22:05:34Z</created_at>
369
+ <created_at type="datetime">2010-10-19T03:19:28Z</created_at>
370
370
  </charge>
371
371
 
372
372
  http_version: "1.1"
@@ -390,55 +390,55 @@
390
390
  x-ua-compatible:
391
391
  - IE=Edge
392
392
  etag:
393
- - "\"1901a3a749b79036b2a29a6fab9b7b93\""
393
+ - "\"7c9cc277b219a1b1a1437f2cc1576bd8\""
394
394
  connection:
395
395
  - close
396
396
  content-type:
397
397
  - application/xml; charset=utf-8
398
398
  x-runtime:
399
- - "190"
399
+ - "23"
400
400
  date:
401
- - Mon, 18 Oct 2010 22:05:35 GMT
401
+ - Tue, 19 Oct 2010 03:19:29 GMT
402
402
  server:
403
403
  - nginx/0.7.65
404
404
  content-length:
405
405
  - "1570"
406
406
  set-cookie:
407
- - _recurly_session=512a49ddb749004ea82a614b72081dd1; domain=.recurly.com; path=/; Secure; HttpOnly
407
+ - _recurly_session=a2e0ecbd864740f0f1dd8b6fcd74538b; 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>1d1190fe9fda43c1bfd51933ad3d1af4</id>
414
+ <id>4a9d52dddd334b7daf2b8605dd02fa7d</id>
415
415
  <account_code>charge-list-invoiced-1286681273</account_code>
416
416
  <amount_in_cents type="integer">1000</amount_in_cents>
417
- <start_date type="datetime">2010-10-18T22:05:32Z</start_date>
417
+ <start_date type="datetime">2010-10-19T03:19:27Z</start_date>
418
418
  <end_date nil="true" type="datetime"></end_date>
419
- <invoice_nunber type="integer">1865</invoice_nunber>
419
+ <invoice_nunber type="integer">1993</invoice_nunber>
420
420
  <description>charge description</description>
421
- <created_at type="datetime">2010-10-18T22:05:32Z</created_at>
421
+ <created_at type="datetime">2010-10-19T03:19:27Z</created_at>
422
422
  </charge>
423
423
  <charge type="charge">
424
- <id>2635e71d71594df29c976b647341a9a4</id>
424
+ <id>5fcb7fb959a641ada081199eab66e78c</id>
425
425
  <account_code>charge-list-invoiced-1286681273</account_code>
426
426
  <amount_in_cents type="integer">1000</amount_in_cents>
427
- <start_date type="datetime">2010-10-18T22:05:32Z</start_date>
427
+ <start_date type="datetime">2010-10-19T03:19:26Z</start_date>
428
428
  <end_date nil="true" type="datetime"></end_date>
429
- <invoice_nunber type="integer">1865</invoice_nunber>
429
+ <invoice_nunber type="integer">1993</invoice_nunber>
430
430
  <description>charge description</description>
431
- <created_at type="datetime">2010-10-18T22:05:32Z</created_at>
431
+ <created_at type="datetime">2010-10-19T03:19:26Z</created_at>
432
432
  </charge>
433
433
  <charge type="charge">
434
- <id>fb155de0732748d9bde3b8b10e0b452c</id>
434
+ <id>ee35bcfbe0bd437cac3b789ceebc3a14</id>
435
435
  <account_code>charge-list-invoiced-1286681273</account_code>
436
436
  <amount_in_cents type="integer">1000</amount_in_cents>
437
- <start_date type="datetime">2010-10-18T22:05:31Z</start_date>
437
+ <start_date type="datetime">2010-10-19T03:19:25Z</start_date>
438
438
  <end_date nil="true" type="datetime"></end_date>
439
- <invoice_nunber type="integer">1865</invoice_nunber>
439
+ <invoice_nunber type="integer">1993</invoice_nunber>
440
440
  <description>charge description</description>
441
- <created_at type="datetime">2010-10-18T22:05:31Z</created_at>
441
+ <created_at type="datetime">2010-10-19T03:19:25Z</created_at>
442
442
  </charge>
443
443
  </charges>
444
444