recurly 0.3.1 → 0.3.2

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 (61) hide show
  1. data/lib/recurly.rb +8 -0
  2. data/lib/recurly/account.rb +5 -0
  3. data/lib/recurly/rails3/railtie.rb +9 -0
  4. data/lib/recurly/version.rb +1 -1
  5. data/spec/integration/account_spec.rb +29 -1
  6. data/spec/integration/add_on_spec.rb +84 -0
  7. data/spec/vcr/account/accept-language-account/1294473653.yml +68 -0
  8. data/spec/vcr/account/accept-language-account/1294473761.yml +68 -0
  9. data/spec/vcr/account/accept-language/1294473117.yml +167 -0
  10. data/spec/vcr/account/close/{1288381765.yml → 1294473761.yml} +26 -25
  11. data/spec/vcr/account/create-blank/{1288381765.yml → 1294473761.yml} +5 -4
  12. data/spec/vcr/account/create-duplicate/{1288381765.yml → 1294473761.yml} +13 -11
  13. data/spec/vcr/account/create-min/{1288381765.yml → 1294473761.yml} +12 -11
  14. data/spec/vcr/account/create/{1288381765.yml → 1294473761.yml} +12 -11
  15. data/spec/vcr/account/find/{1288381765.yml → 1294473761.yml} +25 -24
  16. data/spec/vcr/account/list/{1288381765.yml → 1294473761.yml} +328 -287
  17. data/spec/vcr/account/update/{1288381765.yml → 1294473761.yml} +47 -45
  18. data/spec/vcr/billing/create/1286682213.yml +28 -27
  19. data/spec/vcr/billing/destroy/1286682213.yml +42 -41
  20. data/spec/vcr/billing/find/1286682213.yml +38 -37
  21. data/spec/vcr/billing/update/1286682213.yml +40 -39
  22. data/spec/vcr/charge/create/1287465632.yml +36 -35
  23. data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +36 -35
  24. data/spec/vcr/charge/list-all/1287465632.yml +43 -42
  25. data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -69
  26. data/spec/vcr/charge/list-pending/1287465632.yml +43 -42
  27. data/spec/vcr/charge/lookup/1287465632.yml +22 -21
  28. data/spec/vcr/credit/create/1287461400.yml +23 -22
  29. data/spec/vcr/credit/delete/1287461400.yml +33 -32
  30. data/spec/vcr/credit/list/1287461400.yml +43 -42
  31. data/spec/vcr/credit/lookup/1287461400.yml +24 -23
  32. data/spec/vcr/invoice/create-no-charges/1287167121.yml +23 -22
  33. data/spec/vcr/invoice/create/1287167121.yml +48 -47
  34. data/spec/vcr/invoice/list/1287167121.yml +67 -66
  35. data/spec/vcr/invoice/lookup/1287167121.yml +50 -49
  36. data/spec/vcr/plan/all.yml +29 -17
  37. data/spec/vcr/plan/delete/1286677585.yml +21 -21
  38. data/spec/vcr/plan/find.yml +42 -18
  39. data/spec/vcr/plan/update.yml +17 -17
  40. data/spec/vcr/subscription/addons/add/1292420980.yml +479 -0
  41. data/spec/vcr/subscription/addons/create/1292420980.yml +318 -0
  42. data/spec/vcr/subscription/addons/remove/1292420980.yml +448 -0
  43. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +93 -69
  44. data/spec/vcr/subscription/cancel/1287455769.yml +80 -58
  45. data/spec/vcr/subscription/change1/1287455769.yml +77 -55
  46. data/spec/vcr/subscription/change2/1287455769.yml +77 -55
  47. data/spec/vcr/subscription/create/1287455769.yml +43 -27
  48. data/spec/vcr/subscription/find/1287455769.yml +54 -36
  49. data/spec/vcr/subscription/reactivate/1287455769.yml +83 -61
  50. data/spec/vcr/subscription/refund-full/1287455769.yml +69 -51
  51. data/spec/vcr/subscription/refund-none/1287455769.yml +70 -52
  52. data/spec/vcr/subscription/refund-partial/1287455769.yml +70 -52
  53. data/spec/vcr/transaction/all/1289558212.yml +46 -46
  54. data/spec/vcr/transaction/create-no-account/1289558212.yml +11 -11
  55. data/spec/vcr/transaction/create-with-account/1289558212.yml +27 -26
  56. data/spec/vcr/transaction/list-filled/1289558212.yml +54 -53
  57. data/spec/vcr/transaction/list-initial/1289558212.yml +27 -26
  58. data/spec/vcr/transaction/lookup/1289558212.yml +64 -63
  59. data/spec/vcr/transaction/refund/1289558212.yml +35 -34
  60. data/spec/vcr/transaction/void/1289558212.yml +71 -70
  61. metadata +34 -20
@@ -7,8 +7,9 @@
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
- <account-code>account-list-num-0-1288381765</account-code>
10
+ <account-code>account-list-num-0-1294473761</account-code>
11
11
  <last-name>Test</last-name>
12
+ <accept-language type="yaml" nil="true"></accept-language>
12
13
  <email>verena@test.com</email>
13
14
  <first-name>Verena</first-name>
14
15
  </account>
@@ -28,30 +29,30 @@
28
29
  message: Created
29
30
  headers:
30
31
  location:
31
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-0-1288381765
32
+ - https://recurlytest3-test.recurly.com/accounts/account-list-num-0-1294473761
32
33
  connection:
33
34
  - close
34
35
  content-type:
35
36
  - application/xml; charset=utf-8
36
37
  x-runtime:
37
- - "271"
38
+ - "347"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:02:50 GMT
40
+ - Sat, 08 Jan 2011 08:02:53 GMT
40
41
  server:
41
- - nginx/0.7.65
42
+ - nginx/0.8.53
42
43
  content-length:
43
44
  - "591"
44
45
  set-cookie:
45
- - account_credentials=e0bdd63f44c636db5c9611f3ed40b1ac0096dadb4aa39f824f020633c717510e1afc5fb9fd23a83b9ececb006ec57fb16782d5a53979600c3717ab466883f26b%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=9b970fd69c6d1eb77274e212e9b6842ddedfe2f0a189ea5d3c5a63e95319baa6a8834c003895ceda22b7904facc808217fd6f62d2ac4eba83b0b0b7fba549e06%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=90f4d1e342aff89ba3eae11b9aeff42c; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=e2ffd5db2f0b0fa1580164d9fa10e7ee; domain=.recurly.com; path=/; secure; HttpOnly
48
49
  cache-control:
49
50
  - no-cache
50
51
  body: |
51
52
  <?xml version="1.0" encoding="UTF-8"?>
52
53
  <account>
53
- <id>account-list-num-0-1288381765</id>
54
- <account_code>account-list-num-0-1288381765</account_code>
54
+ <id>account-list-num-0-1294473761</id>
55
+ <account_code>account-list-num-0-1294473761</account_code>
55
56
  <username></username>
56
57
  <email>verena@test.com</email>
57
58
  <first_name>Verena</first_name>
@@ -59,8 +60,8 @@
59
60
  <company_name>Recurly Ruby Gem</company_name>
60
61
  <balance_in_cents type="integer">0</balance_in_cents>
61
62
  <closed type="boolean">false</closed>
62
- <hosted_login_token>6ce0b276183d40dbb8a623c245883f8e</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:02:50Z</created_at>
63
+ <hosted_login_token>7f2a7f848049422ea2028d1e36967aa6</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:02:53Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -73,8 +74,9 @@
73
74
  <?xml version="1.0" encoding="UTF-8"?>
74
75
  <account>
75
76
  <company-name>Recurly Ruby Gem</company-name>
76
- <account-code>account-list-num-1-1288381765</account-code>
77
+ <account-code>account-list-num-1-1294473761</account-code>
77
78
  <last-name>Test</last-name>
79
+ <accept-language type="yaml" nil="true"></accept-language>
78
80
  <email>verena@test.com</email>
79
81
  <first-name>Verena</first-name>
80
82
  </account>
@@ -94,30 +96,30 @@
94
96
  message: Created
95
97
  headers:
96
98
  location:
97
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-1-1288381765
99
+ - https://recurlytest3-test.recurly.com/accounts/account-list-num-1-1294473761
98
100
  connection:
99
101
  - close
100
102
  content-type:
101
103
  - application/xml; charset=utf-8
102
104
  x-runtime:
103
- - "273"
105
+ - "432"
104
106
  date:
105
- - Tue, 16 Nov 2010 07:02:52 GMT
107
+ - Sat, 08 Jan 2011 08:02:55 GMT
106
108
  server:
107
- - nginx/0.7.65
109
+ - nginx/0.8.53
108
110
  content-length:
109
111
  - "591"
110
112
  set-cookie:
111
- - account_credentials=562348efb5f7ccad953dc80daf4e21b342af1c8d703555595320ff2d46d6b34835393eb8d9606a4c65a3b2cff59bf99400e92e7919c12da484b968c58d8094ac%3A%3A; domain=.recurly.com; path=/
113
+ - account_credentials=afb02a310b43a3090371cd8a7c9a7571d68327426b39b80ac479b8f32c095ac0ba31f6f6bc2cc07847b2c996e8d27ce832bc8058c226208ed3aeed4d1abb51e4%3A%3A; domain=.recurly.com; path=/
112
114
  - ""
113
- - _recurly_session=5e5e45a46241ca32edd649e302a6a0b0; domain=.recurly.com; path=/; secure; HttpOnly
115
+ - _recurly_session=4503b913c5b5ceafc7e7f5c711a7c596; domain=.recurly.com; path=/; secure; HttpOnly
114
116
  cache-control:
115
117
  - no-cache
116
118
  body: |
117
119
  <?xml version="1.0" encoding="UTF-8"?>
118
120
  <account>
119
- <id>account-list-num-1-1288381765</id>
120
- <account_code>account-list-num-1-1288381765</account_code>
121
+ <id>account-list-num-1-1294473761</id>
122
+ <account_code>account-list-num-1-1294473761</account_code>
121
123
  <username></username>
122
124
  <email>verena@test.com</email>
123
125
  <first_name>Verena</first_name>
@@ -125,8 +127,8 @@
125
127
  <company_name>Recurly Ruby Gem</company_name>
126
128
  <balance_in_cents type="integer">0</balance_in_cents>
127
129
  <closed type="boolean">false</closed>
128
- <hosted_login_token>dca1e2cf5fd14e44b439b41f735279a6</hosted_login_token>
129
- <created_at type="datetime">2010-11-16T07:02:52Z</created_at>
130
+ <hosted_login_token>8c9bede0096240119361c1d36511706b</hosted_login_token>
131
+ <created_at type="datetime">2011-01-08T08:02:55Z</created_at>
130
132
  <state>active</state>
131
133
  </account>
132
134
 
@@ -139,8 +141,9 @@
139
141
  <?xml version="1.0" encoding="UTF-8"?>
140
142
  <account>
141
143
  <company-name>Recurly Ruby Gem</company-name>
142
- <account-code>account-list-num-2-1288381765</account-code>
144
+ <account-code>account-list-num-2-1294473761</account-code>
143
145
  <last-name>Test</last-name>
146
+ <accept-language type="yaml" nil="true"></accept-language>
144
147
  <email>verena@test.com</email>
145
148
  <first-name>Verena</first-name>
146
149
  </account>
@@ -160,30 +163,30 @@
160
163
  message: Created
161
164
  headers:
162
165
  location:
163
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-2-1288381765
166
+ - https://recurlytest3-test.recurly.com/accounts/account-list-num-2-1294473761
164
167
  connection:
165
168
  - close
166
169
  content-type:
167
170
  - application/xml; charset=utf-8
168
171
  x-runtime:
169
- - "275"
172
+ - "349"
170
173
  date:
171
- - Tue, 16 Nov 2010 07:02:51 GMT
174
+ - Sat, 08 Jan 2011 08:02:56 GMT
172
175
  server:
173
- - nginx/0.7.65
176
+ - nginx/0.8.53
174
177
  content-length:
175
178
  - "591"
176
179
  set-cookie:
177
- - account_credentials=e048da4acb52e9f3a41f098a1b37c4eff4e38696370275d8d96cd78a8408aae52386b22c5f3705e1161747ecf44cf14927731e327ce9e3b8d7783ac2115e3285%3A%3A; domain=.recurly.com; path=/
180
+ - account_credentials=9ebb2560e51ea6d26f81fe465d4c99aaaafcf4ce803c3c46fe748a2fefd3d906808317b976cd35ccc715c08e0fa07dfe692db064a09f8dad6ca2459b435903c6%3A%3A; domain=.recurly.com; path=/
178
181
  - ""
179
- - _recurly_session=65577355b68b7fb9d630fa28a073d121; domain=.recurly.com; path=/; secure; HttpOnly
182
+ - _recurly_session=2362050e6cc2c26260f1c72c423d6cb8; domain=.recurly.com; path=/; secure; HttpOnly
180
183
  cache-control:
181
184
  - no-cache
182
185
  body: |
183
186
  <?xml version="1.0" encoding="UTF-8"?>
184
187
  <account>
185
- <id>account-list-num-2-1288381765</id>
186
- <account_code>account-list-num-2-1288381765</account_code>
188
+ <id>account-list-num-2-1294473761</id>
189
+ <account_code>account-list-num-2-1294473761</account_code>
187
190
  <username></username>
188
191
  <email>verena@test.com</email>
189
192
  <first_name>Verena</first_name>
@@ -191,8 +194,8 @@
191
194
  <company_name>Recurly Ruby Gem</company_name>
192
195
  <balance_in_cents type="integer">0</balance_in_cents>
193
196
  <closed type="boolean">false</closed>
194
- <hosted_login_token>cb22545b693b45939927157b56f2f53e</hosted_login_token>
195
- <created_at type="datetime">2010-11-16T07:02:51Z</created_at>
197
+ <hosted_login_token>be38813b84394802bb02420f63890e59</hosted_login_token>
198
+ <created_at type="datetime">2011-01-08T08:02:56Z</created_at>
196
199
  <state>active</state>
197
200
  </account>
198
201
 
@@ -205,8 +208,9 @@
205
208
  <?xml version="1.0" encoding="UTF-8"?>
206
209
  <account>
207
210
  <company-name>Recurly Ruby Gem</company-name>
208
- <account-code>account-list-num-3-1288381765</account-code>
211
+ <account-code>account-list-num-3-1294473761</account-code>
209
212
  <last-name>Test</last-name>
213
+ <accept-language type="yaml" nil="true"></accept-language>
210
214
  <email>verena@test.com</email>
211
215
  <first-name>Verena</first-name>
212
216
  </account>
@@ -226,30 +230,30 @@
226
230
  message: Created
227
231
  headers:
228
232
  location:
229
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-3-1288381765
233
+ - https://recurlytest3-test.recurly.com/accounts/account-list-num-3-1294473761
230
234
  connection:
231
235
  - close
232
236
  content-type:
233
237
  - application/xml; charset=utf-8
234
238
  x-runtime:
235
- - "272"
239
+ - "343"
236
240
  date:
237
- - Tue, 16 Nov 2010 07:02:54 GMT
241
+ - Sat, 08 Jan 2011 08:02:58 GMT
238
242
  server:
239
- - nginx/0.7.65
243
+ - nginx/0.8.53
240
244
  content-length:
241
245
  - "591"
242
246
  set-cookie:
243
- - account_credentials=acad1eb0a4d7c90065099bc4a2ce88e2fc7a26e3262956fca1a05b4b59e5980abfeab66b6047c747451b48e2b3bb96a9f8d5f6a55358af0907bc9a39ea11a74c%3A%3A; domain=.recurly.com; path=/
247
+ - account_credentials=0c4d706eeec4afe081a7508f024cd691ea7a0d512b9b388ad27cf2fed2e0110cd29dd47238e5c88d83310617ed4abf6c72ee21bf650d4c098029239af0b73781%3A%3A; domain=.recurly.com; path=/
244
248
  - ""
245
- - _recurly_session=f9f99bc6894be2d73cf7acb9d82ca772; domain=.recurly.com; path=/; secure; HttpOnly
249
+ - _recurly_session=13271072dc9a9d05eff6fb7a2b3619f6; domain=.recurly.com; path=/; secure; HttpOnly
246
250
  cache-control:
247
251
  - no-cache
248
252
  body: |
249
253
  <?xml version="1.0" encoding="UTF-8"?>
250
254
  <account>
251
- <id>account-list-num-3-1288381765</id>
252
- <account_code>account-list-num-3-1288381765</account_code>
255
+ <id>account-list-num-3-1294473761</id>
256
+ <account_code>account-list-num-3-1294473761</account_code>
253
257
  <username></username>
254
258
  <email>verena@test.com</email>
255
259
  <first_name>Verena</first_name>
@@ -257,8 +261,8 @@
257
261
  <company_name>Recurly Ruby Gem</company_name>
258
262
  <balance_in_cents type="integer">0</balance_in_cents>
259
263
  <closed type="boolean">false</closed>
260
- <hosted_login_token>7a897bf000294edd997c27a8b559522e</hosted_login_token>
261
- <created_at type="datetime">2010-11-16T07:02:54Z</created_at>
264
+ <hosted_login_token>8b89c24559344df2aeb395b9e23524f6</hosted_login_token>
265
+ <created_at type="datetime">2011-01-08T08:02:58Z</created_at>
262
266
  <state>active</state>
263
267
  </account>
264
268
 
@@ -271,8 +275,9 @@
271
275
  <?xml version="1.0" encoding="UTF-8"?>
272
276
  <account>
273
277
  <company-name>Recurly Ruby Gem</company-name>
274
- <account-code>account-list-num-4-1288381765</account-code>
278
+ <account-code>account-list-num-4-1294473761</account-code>
275
279
  <last-name>Test</last-name>
280
+ <accept-language type="yaml" nil="true"></accept-language>
276
281
  <email>verena@test.com</email>
277
282
  <first-name>Verena</first-name>
278
283
  </account>
@@ -292,30 +297,30 @@
292
297
  message: Created
293
298
  headers:
294
299
  location:
295
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-4-1288381765
300
+ - https://recurlytest3-test.recurly.com/accounts/account-list-num-4-1294473761
296
301
  connection:
297
302
  - close
298
303
  content-type:
299
304
  - application/xml; charset=utf-8
300
305
  x-runtime:
301
- - "271"
306
+ - "352"
302
307
  date:
303
- - Tue, 16 Nov 2010 07:02:53 GMT
308
+ - Sat, 08 Jan 2011 08:02:59 GMT
304
309
  server:
305
- - nginx/0.7.65
310
+ - nginx/0.8.53
306
311
  content-length:
307
312
  - "591"
308
313
  set-cookie:
309
- - account_credentials=ee394d8f35f5ea1e36b6ef1db1717e6ebd56651aa58cf9efcf4f3fde5e92053b61e0bd0216c817b9f2daf755b76bdb6d674586afe71ad5aec23d9b2e6c4f54ec%3A%3A; domain=.recurly.com; path=/
314
+ - account_credentials=05fbde9f860613ea9ad52892a73bf4a646f210dc71f098d7c037bda42a433a209a9bd798ad1fbb5b048f407ac6d4207eb5b9e3cf38308e3d3a22ff768f3ff90e%3A%3A; domain=.recurly.com; path=/
310
315
  - ""
311
- - _recurly_session=daa9e6af766e2db99ce31bbde9f3b93a; domain=.recurly.com; path=/; secure; HttpOnly
316
+ - _recurly_session=17553cc1651bdb7eb4267575d40c3a5b; domain=.recurly.com; path=/; secure; HttpOnly
312
317
  cache-control:
313
318
  - no-cache
314
319
  body: |
315
320
  <?xml version="1.0" encoding="UTF-8"?>
316
321
  <account>
317
- <id>account-list-num-4-1288381765</id>
318
- <account_code>account-list-num-4-1288381765</account_code>
322
+ <id>account-list-num-4-1294473761</id>
323
+ <account_code>account-list-num-4-1294473761</account_code>
319
324
  <username></username>
320
325
  <email>verena@test.com</email>
321
326
  <first_name>Verena</first_name>
@@ -323,8 +328,8 @@
323
328
  <company_name>Recurly Ruby Gem</company_name>
324
329
  <balance_in_cents type="integer">0</balance_in_cents>
325
330
  <closed type="boolean">false</closed>
326
- <hosted_login_token>407f9456412b41d69bedcc57e164cf3a</hosted_login_token>
327
- <created_at type="datetime">2010-11-16T07:02:53Z</created_at>
331
+ <hosted_login_token>e24c759819dd4ca7ad5316211500a041</hosted_login_token>
332
+ <created_at type="datetime">2011-01-08T08:02:59Z</created_at>
328
333
  <state>active</state>
329
334
  </account>
330
335
 
@@ -337,8 +342,9 @@
337
342
  <?xml version="1.0" encoding="UTF-8"?>
338
343
  <account>
339
344
  <company-name>Recurly Ruby Gem</company-name>
340
- <account-code>account-list-num-5-1288381765</account-code>
345
+ <account-code>account-list-num-5-1294473761</account-code>
341
346
  <last-name>Test</last-name>
347
+ <accept-language type="yaml" nil="true"></accept-language>
342
348
  <email>verena@test.com</email>
343
349
  <first-name>Verena</first-name>
344
350
  </account>
@@ -358,30 +364,30 @@
358
364
  message: Created
359
365
  headers:
360
366
  location:
361
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-5-1288381765
367
+ - https://recurlytest3-test.recurly.com/accounts/account-list-num-5-1294473761
362
368
  connection:
363
369
  - close
364
370
  content-type:
365
371
  - application/xml; charset=utf-8
366
372
  x-runtime:
367
- - "272"
373
+ - "346"
368
374
  date:
369
- - Tue, 16 Nov 2010 07:02:56 GMT
375
+ - Sat, 08 Jan 2011 08:03:01 GMT
370
376
  server:
371
- - nginx/0.7.65
377
+ - nginx/0.8.53
372
378
  content-length:
373
379
  - "591"
374
380
  set-cookie:
375
- - account_credentials=09882f68a8ff5b871d74032035b56f112e6d80902ba071006bbcb1a1fc0c91da304620abfbaf0b0aa4f9e085a9257c7335c9761b595f0199fd3dd365569ddd90%3A%3A; domain=.recurly.com; path=/
381
+ - account_credentials=4eb2c3b90adb99ea8b9bb6db5723913abf15f2f268ab53e96f58e1ed6d3b1410d1e8880c0a5fa53bf9c9bf591925a814668b5d538f2a19c93fe9f3fdfad39d12%3A%3A; domain=.recurly.com; path=/
376
382
  - ""
377
- - _recurly_session=9a690d1aa2c02e7ba0c946a238a904bb; domain=.recurly.com; path=/; secure; HttpOnly
383
+ - _recurly_session=468836a44b688893cab4b573fd5a2524; domain=.recurly.com; path=/; secure; HttpOnly
378
384
  cache-control:
379
385
  - no-cache
380
386
  body: |
381
387
  <?xml version="1.0" encoding="UTF-8"?>
382
388
  <account>
383
- <id>account-list-num-5-1288381765</id>
384
- <account_code>account-list-num-5-1288381765</account_code>
389
+ <id>account-list-num-5-1294473761</id>
390
+ <account_code>account-list-num-5-1294473761</account_code>
385
391
  <username></username>
386
392
  <email>verena@test.com</email>
387
393
  <first_name>Verena</first_name>
@@ -389,8 +395,8 @@
389
395
  <company_name>Recurly Ruby Gem</company_name>
390
396
  <balance_in_cents type="integer">0</balance_in_cents>
391
397
  <closed type="boolean">false</closed>
392
- <hosted_login_token>28a0cb9d1c81416baca90d916cc901d8</hosted_login_token>
393
- <created_at type="datetime">2010-11-16T07:02:56Z</created_at>
398
+ <hosted_login_token>2a8c544e13bd4daa816b62454ad66006</hosted_login_token>
399
+ <created_at type="datetime">2011-01-08T08:03:00Z</created_at>
394
400
  <state>active</state>
395
401
  </account>
396
402
 
@@ -403,8 +409,9 @@
403
409
  <?xml version="1.0" encoding="UTF-8"?>
404
410
  <account>
405
411
  <company-name>Recurly Ruby Gem</company-name>
406
- <account-code>account-list-num-6-1288381765</account-code>
412
+ <account-code>account-list-num-6-1294473761</account-code>
407
413
  <last-name>Test</last-name>
414
+ <accept-language type="yaml" nil="true"></accept-language>
408
415
  <email>verena@test.com</email>
409
416
  <first-name>Verena</first-name>
410
417
  </account>
@@ -424,30 +431,30 @@
424
431
  message: Created
425
432
  headers:
426
433
  location:
427
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-6-1288381765
434
+ - https://recurlytest3-test.recurly.com/accounts/account-list-num-6-1294473761
428
435
  connection:
429
436
  - close
430
437
  content-type:
431
438
  - application/xml; charset=utf-8
432
439
  x-runtime:
433
- - "273"
440
+ - "348"
434
441
  date:
435
- - Tue, 16 Nov 2010 07:02:55 GMT
442
+ - Sat, 08 Jan 2011 08:03:02 GMT
436
443
  server:
437
- - nginx/0.7.65
444
+ - nginx/0.8.53
438
445
  content-length:
439
446
  - "591"
440
447
  set-cookie:
441
- - account_credentials=93528d00548f1befa5979583584e7fa6020caa9855b36554d3d81507a697f394930d2b6c7fed717e485717d7a5e4c374257b00fcbfbe2a6f9943ed5b55bb894f%3A%3A; domain=.recurly.com; path=/
448
+ - account_credentials=c7e347b57e550ac725f410f6d9433821de6008d759dfddce853e5d0be366d4c12a7e84c600a047a61a41e7338e582748ac74cddabfa94a4099369016851a7433%3A%3A; domain=.recurly.com; path=/
442
449
  - ""
443
- - _recurly_session=ae2ff90fae034af180f5188eff62ed14; domain=.recurly.com; path=/; secure; HttpOnly
450
+ - _recurly_session=ea543768d5cd6a5e940ee46e85485ecd; domain=.recurly.com; path=/; secure; HttpOnly
444
451
  cache-control:
445
452
  - no-cache
446
453
  body: |
447
454
  <?xml version="1.0" encoding="UTF-8"?>
448
455
  <account>
449
- <id>account-list-num-6-1288381765</id>
450
- <account_code>account-list-num-6-1288381765</account_code>
456
+ <id>account-list-num-6-1294473761</id>
457
+ <account_code>account-list-num-6-1294473761</account_code>
451
458
  <username></username>
452
459
  <email>verena@test.com</email>
453
460
  <first_name>Verena</first_name>
@@ -455,8 +462,8 @@
455
462
  <company_name>Recurly Ruby Gem</company_name>
456
463
  <balance_in_cents type="integer">0</balance_in_cents>
457
464
  <closed type="boolean">false</closed>
458
- <hosted_login_token>4a2961f855af478bbcb5f368c74ab94d</hosted_login_token>
459
- <created_at type="datetime">2010-11-16T07:02:55Z</created_at>
465
+ <hosted_login_token>6aab4f0df1434427bcca3c04d6d02244</hosted_login_token>
466
+ <created_at type="datetime">2011-01-08T08:03:02Z</created_at>
460
467
  <state>active</state>
461
468
  </account>
462
469
 
@@ -469,8 +476,9 @@
469
476
  <?xml version="1.0" encoding="UTF-8"?>
470
477
  <account>
471
478
  <company-name>Recurly Ruby Gem</company-name>
472
- <account-code>account-list-num-7-1288381765</account-code>
479
+ <account-code>account-list-num-7-1294473761</account-code>
473
480
  <last-name>Test</last-name>
481
+ <accept-language type="yaml" nil="true"></accept-language>
474
482
  <email>verena@test.com</email>
475
483
  <first-name>Verena</first-name>
476
484
  </account>
@@ -490,30 +498,30 @@
490
498
  message: Created
491
499
  headers:
492
500
  location:
493
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-7-1288381765
501
+ - https://recurlytest3-test.recurly.com/accounts/account-list-num-7-1294473761
494
502
  connection:
495
503
  - close
496
504
  content-type:
497
505
  - application/xml; charset=utf-8
498
506
  x-runtime:
499
- - "271"
507
+ - "342"
500
508
  date:
501
- - Tue, 16 Nov 2010 07:02:57 GMT
509
+ - Sat, 08 Jan 2011 08:03:04 GMT
502
510
  server:
503
- - nginx/0.7.65
511
+ - nginx/0.8.53
504
512
  content-length:
505
513
  - "591"
506
514
  set-cookie:
507
- - account_credentials=3aabf94154c75dfaa005bc8c905d39743bd5d9a4dc056f7492754e9b78cde8142d4826bf763c191df7dc7e4bbfc51186d42f37dd5ac7317d08f9bb51aac93735%3A%3A; domain=.recurly.com; path=/
515
+ - account_credentials=f920cd3f256937c62fe06f2750de82af5047ea95d4ef8a348db7ad0b1e924d85d8cbaae76252b16cb4c58a1b10d08301aadf945e112dd166f417864fd033e852%3A%3A; domain=.recurly.com; path=/
508
516
  - ""
509
- - _recurly_session=9a99c2d9002e9f644e9601ef8efbbe77; domain=.recurly.com; path=/; secure; HttpOnly
517
+ - _recurly_session=3b44bde3ea600a5ef42d11076a47f694; domain=.recurly.com; path=/; secure; HttpOnly
510
518
  cache-control:
511
519
  - no-cache
512
520
  body: |
513
521
  <?xml version="1.0" encoding="UTF-8"?>
514
522
  <account>
515
- <id>account-list-num-7-1288381765</id>
516
- <account_code>account-list-num-7-1288381765</account_code>
523
+ <id>account-list-num-7-1294473761</id>
524
+ <account_code>account-list-num-7-1294473761</account_code>
517
525
  <username></username>
518
526
  <email>verena@test.com</email>
519
527
  <first_name>Verena</first_name>
@@ -521,8 +529,8 @@
521
529
  <company_name>Recurly Ruby Gem</company_name>
522
530
  <balance_in_cents type="integer">0</balance_in_cents>
523
531
  <closed type="boolean">false</closed>
524
- <hosted_login_token>aa0e6107ffa540c2a3d1c5bcc0af1bb1</hosted_login_token>
525
- <created_at type="datetime">2010-11-16T07:02:57Z</created_at>
532
+ <hosted_login_token>6c2d3225e28a40e8829e499129ee2687</hosted_login_token>
533
+ <created_at type="datetime">2011-01-08T08:03:04Z</created_at>
526
534
  <state>active</state>
527
535
  </account>
528
536
 
@@ -547,21 +555,21 @@
547
555
  x-ua-compatible:
548
556
  - IE=Edge
549
557
  etag:
550
- - "\"31910d9b30fecc5e62f25a1ce00278e0\""
558
+ - "\"47a9e8e85691ef0600a2dd39f113a21e\""
551
559
  connection:
552
560
  - close
553
561
  content-type:
554
562
  - application/xml; charset=utf-8
555
563
  x-runtime:
556
- - "13"
564
+ - "15"
557
565
  date:
558
- - Tue, 16 Nov 2010 07:02:56 GMT
566
+ - Sat, 08 Jan 2011 08:03:05 GMT
559
567
  server:
560
- - nginx/0.7.65
568
+ - nginx/0.8.53
561
569
  content-length:
562
- - "1150"
570
+ - "1564"
563
571
  set-cookie:
564
- - _recurly_session=3f8bdd7bfb9f145d227a3a0665ad2976; domain=.recurly.com; path=/; secure; HttpOnly
572
+ - _recurly_session=0b5bf68b05b18d404471196672826daa; domain=.recurly.com; path=/; secure; HttpOnly
565
573
  cache-control:
566
574
  - private, max-age=0, must-revalidate
567
575
  body: |
@@ -587,38 +595,51 @@
587
595
  <plan_interval_unit>months</plan_interval_unit>
588
596
  <trial_interval_length type="integer">0</trial_interval_length>
589
597
  <trial_interval_unit>months</trial_interval_unit>
590
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
598
+ <created_at type="datetime">2010-12-10T19:19:03Z</created_at>
591
599
  </latest_version>
600
+ <add_ons type="collection">
601
+ <add_on>
602
+ <add_on_code>special</add_on_code>
603
+ <default_unit_amount_in_cents>1000</default_unit_amount_in_cents>
604
+ <default_quantity>1</default_quantity>
605
+ </add_on>
606
+ <add_on>
607
+ <add_on_code>special2</add_on_code>
608
+ <default_unit_amount_in_cents>1500</default_unit_amount_in_cents>
609
+ <default_quantity>1</default_quantity>
610
+ </add_on>
611
+ </add_ons>
592
612
  </plan>
593
613
 
594
614
  http_version: "1.1"
595
615
  - !ruby/struct:VCR::HTTPInteraction
596
616
  request: !ruby/struct:VCR::Request
597
617
  method: :post
598
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-0-1288381765/subscription.xml
618
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-0-1294473761/subscription.xml
599
619
  body: |
600
620
  <?xml version="1.0" encoding="UTF-8"?>
601
621
  <subscription>
602
622
  <quantity type="integer">1</quantity>
603
623
  <plan-code>paid</plan-code>
604
624
  <account>
605
- <created-at type="datetime">2010-11-16T07:02:50Z</created-at>
606
- <hosted-login-token>6ce0b276183d40dbb8a623c245883f8e</hosted-login-token>
625
+ <created-at type="datetime">2011-01-08T08:02:53Z</created-at>
626
+ <hosted-login-token>7f2a7f848049422ea2028d1e36967aa6</hosted-login-token>
607
627
  <company-name>Recurly Ruby Gem</company-name>
608
- <account-code>account-list-num-0-1288381765</account-code>
628
+ <account-code>account-list-num-0-1294473761</account-code>
609
629
  <closed type="boolean">false</closed>
610
630
  <username type="yaml" nil="true"></username>
611
- <id>account-list-num-0-1288381765</id>
631
+ <id>account-list-num-0-1294473761</id>
612
632
  <last-name>Test</last-name>
633
+ <accept-language type="yaml" nil="true"></accept-language>
613
634
  <billing-info>
614
- <city>San Francisco</city>
615
635
  <address1>123 Test St</address1>
636
+ <city>San Francisco</city>
616
637
  <zip>94115</zip>
617
638
  <country>US</country>
618
639
  <credit-card>
619
640
  <number>1</number>
620
- <month type="integer">11</month>
621
- <year type="integer">2011</year>
641
+ <month type="integer">1</month>
642
+ <year type="integer">2012</year>
622
643
  <verification-value>123</verification-value>
623
644
  </credit-card>
624
645
  <last-name>Test</last-name>
@@ -651,22 +672,22 @@
651
672
  content-type:
652
673
  - application/xml; charset=utf-8
653
674
  x-runtime:
654
- - "310"
675
+ - "379"
655
676
  date:
656
- - Tue, 16 Nov 2010 07:02:59 GMT
677
+ - Sat, 08 Jan 2011 08:03:07 GMT
657
678
  server:
658
- - nginx/0.7.65
679
+ - nginx/0.8.53
659
680
  content-length:
660
- - "868"
681
+ - "906"
661
682
  set-cookie:
662
- - _recurly_session=d63f8074a1a263fd27ce43d882260dda; domain=.recurly.com; path=/; secure; HttpOnly
683
+ - _recurly_session=c9c8ad5dd53f86519b2afa148a62c0be; domain=.recurly.com; path=/; secure; HttpOnly
663
684
  cache-control:
664
685
  - no-cache
665
686
  body: |
666
687
  <?xml version="1.0" encoding="UTF-8"?>
667
688
  <subscription>
668
- <id>account-list-num-0-1288381765</id>
669
- <account_code>account-list-num-0-1288381765</account_code>
689
+ <id>account-list-num-0-1294473761</id>
690
+ <account_code>account-list-num-0-1294473761</account_code>
670
691
  <plan>
671
692
  <plan_code>paid</plan_code>
672
693
  <name>Paid</name>
@@ -674,13 +695,15 @@
674
695
  <state>active</state>
675
696
  <quantity type="integer">1</quantity>
676
697
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
677
- <activated_at type="datetime">2010-11-16T07:02:59Z</activated_at>
698
+ <activated_at type="datetime">2011-01-08T08:03:07Z</activated_at>
678
699
  <canceled_at nil="true" type="datetime"></canceled_at>
679
700
  <expires_at nil="true" type="datetime"></expires_at>
680
- <current_period_started_at type="datetime">2010-11-16T07:02:59Z</current_period_started_at>
681
- <current_period_ends_at type="datetime">2010-12-16T07:02:59Z</current_period_ends_at>
701
+ <current_period_started_at type="datetime">2011-01-08T08:03:07Z</current_period_started_at>
702
+ <current_period_ends_at type="datetime">2011-02-08T08:03:07Z</current_period_ends_at>
682
703
  <trial_started_at nil="true" type="datetime"></trial_started_at>
683
704
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
705
+ <add_ons type="array">
706
+ </add_ons>
684
707
  </subscription>
685
708
 
686
709
  http_version: "1.1"
@@ -704,21 +727,21 @@
704
727
  x-ua-compatible:
705
728
  - IE=Edge
706
729
  etag:
707
- - "\"31910d9b30fecc5e62f25a1ce00278e0\""
730
+ - "\"47a9e8e85691ef0600a2dd39f113a21e\""
708
731
  connection:
709
732
  - close
710
733
  content-type:
711
734
  - application/xml; charset=utf-8
712
735
  x-runtime:
713
- - "11"
736
+ - "18"
714
737
  date:
715
- - Tue, 16 Nov 2010 07:02:57 GMT
738
+ - Sat, 08 Jan 2011 08:03:08 GMT
716
739
  server:
717
- - nginx/0.7.65
740
+ - nginx/0.8.53
718
741
  content-length:
719
- - "1150"
742
+ - "1564"
720
743
  set-cookie:
721
- - _recurly_session=ee7857dc3cf14358d989980089379f34; domain=.recurly.com; path=/; secure; HttpOnly
744
+ - _recurly_session=3e2613a1b97d1a5f3f97c6fd0bb57660; domain=.recurly.com; path=/; secure; HttpOnly
722
745
  cache-control:
723
746
  - private, max-age=0, must-revalidate
724
747
  body: |
@@ -744,38 +767,51 @@
744
767
  <plan_interval_unit>months</plan_interval_unit>
745
768
  <trial_interval_length type="integer">0</trial_interval_length>
746
769
  <trial_interval_unit>months</trial_interval_unit>
747
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
770
+ <created_at type="datetime">2010-12-10T19:19:03Z</created_at>
748
771
  </latest_version>
772
+ <add_ons type="collection">
773
+ <add_on>
774
+ <add_on_code>special</add_on_code>
775
+ <default_unit_amount_in_cents>1000</default_unit_amount_in_cents>
776
+ <default_quantity>1</default_quantity>
777
+ </add_on>
778
+ <add_on>
779
+ <add_on_code>special2</add_on_code>
780
+ <default_unit_amount_in_cents>1500</default_unit_amount_in_cents>
781
+ <default_quantity>1</default_quantity>
782
+ </add_on>
783
+ </add_ons>
749
784
  </plan>
750
785
 
751
786
  http_version: "1.1"
752
787
  - !ruby/struct:VCR::HTTPInteraction
753
788
  request: !ruby/struct:VCR::Request
754
789
  method: :post
755
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-1-1288381765/subscription.xml
790
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-1-1294473761/subscription.xml
756
791
  body: |
757
792
  <?xml version="1.0" encoding="UTF-8"?>
758
793
  <subscription>
759
794
  <quantity type="integer">1</quantity>
760
795
  <plan-code>paid</plan-code>
761
796
  <account>
762
- <created-at type="datetime">2010-11-16T07:02:52Z</created-at>
763
- <hosted-login-token>dca1e2cf5fd14e44b439b41f735279a6</hosted-login-token>
797
+ <created-at type="datetime">2011-01-08T08:02:55Z</created-at>
798
+ <hosted-login-token>8c9bede0096240119361c1d36511706b</hosted-login-token>
764
799
  <company-name>Recurly Ruby Gem</company-name>
765
- <account-code>account-list-num-1-1288381765</account-code>
800
+ <account-code>account-list-num-1-1294473761</account-code>
766
801
  <closed type="boolean">false</closed>
767
802
  <username type="yaml" nil="true"></username>
768
- <id>account-list-num-1-1288381765</id>
803
+ <id>account-list-num-1-1294473761</id>
769
804
  <last-name>Test</last-name>
805
+ <accept-language type="yaml" nil="true"></accept-language>
770
806
  <billing-info>
771
- <city>San Francisco</city>
772
807
  <address1>123 Test St</address1>
808
+ <city>San Francisco</city>
773
809
  <zip>94115</zip>
774
810
  <country>US</country>
775
811
  <credit-card>
776
812
  <number>1</number>
777
- <month type="integer">11</month>
778
- <year type="integer">2011</year>
813
+ <month type="integer">1</month>
814
+ <year type="integer">2012</year>
779
815
  <verification-value>123</verification-value>
780
816
  </credit-card>
781
817
  <last-name>Test</last-name>
@@ -808,22 +844,22 @@
808
844
  content-type:
809
845
  - application/xml; charset=utf-8
810
846
  x-runtime:
811
- - "317"
847
+ - "481"
812
848
  date:
813
- - Tue, 16 Nov 2010 07:03:00 GMT
849
+ - Sat, 08 Jan 2011 08:03:10 GMT
814
850
  server:
815
- - nginx/0.7.65
851
+ - nginx/0.8.53
816
852
  content-length:
817
- - "868"
853
+ - "906"
818
854
  set-cookie:
819
- - _recurly_session=032df76c4735da7886c296fd9c784028; domain=.recurly.com; path=/; secure; HttpOnly
855
+ - _recurly_session=0841be5abfad787797ffc31d1d7a6780; domain=.recurly.com; path=/; secure; HttpOnly
820
856
  cache-control:
821
857
  - no-cache
822
858
  body: |
823
859
  <?xml version="1.0" encoding="UTF-8"?>
824
860
  <subscription>
825
- <id>account-list-num-1-1288381765</id>
826
- <account_code>account-list-num-1-1288381765</account_code>
861
+ <id>account-list-num-1-1294473761</id>
862
+ <account_code>account-list-num-1-1294473761</account_code>
827
863
  <plan>
828
864
  <plan_code>paid</plan_code>
829
865
  <name>Paid</name>
@@ -831,13 +867,15 @@
831
867
  <state>active</state>
832
868
  <quantity type="integer">1</quantity>
833
869
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
834
- <activated_at type="datetime">2010-11-16T07:03:00Z</activated_at>
870
+ <activated_at type="datetime">2011-01-08T08:03:09Z</activated_at>
835
871
  <canceled_at nil="true" type="datetime"></canceled_at>
836
872
  <expires_at nil="true" type="datetime"></expires_at>
837
- <current_period_started_at type="datetime">2010-11-16T07:03:00Z</current_period_started_at>
838
- <current_period_ends_at type="datetime">2010-12-16T07:03:00Z</current_period_ends_at>
873
+ <current_period_started_at type="datetime">2011-01-08T08:03:09Z</current_period_started_at>
874
+ <current_period_ends_at type="datetime">2011-02-08T08:03:09Z</current_period_ends_at>
839
875
  <trial_started_at nil="true" type="datetime"></trial_started_at>
840
876
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
877
+ <add_ons type="array">
878
+ </add_ons>
841
879
  </subscription>
842
880
 
843
881
  http_version: "1.1"
@@ -861,21 +899,21 @@
861
899
  x-ua-compatible:
862
900
  - IE=Edge
863
901
  etag:
864
- - "\"31910d9b30fecc5e62f25a1ce00278e0\""
902
+ - "\"47a9e8e85691ef0600a2dd39f113a21e\""
865
903
  connection:
866
904
  - close
867
905
  content-type:
868
906
  - application/xml; charset=utf-8
869
907
  x-runtime:
870
- - "11"
908
+ - "15"
871
909
  date:
872
- - Tue, 16 Nov 2010 07:02:59 GMT
910
+ - Sat, 08 Jan 2011 08:03:10 GMT
873
911
  server:
874
- - nginx/0.7.65
912
+ - nginx/0.8.53
875
913
  content-length:
876
- - "1150"
914
+ - "1564"
877
915
  set-cookie:
878
- - _recurly_session=29eb2c17d4e2202f9611db5ddf22e936; domain=.recurly.com; path=/; secure; HttpOnly
916
+ - _recurly_session=087c0d8d470a79db1ce7127076502fc9; domain=.recurly.com; path=/; secure; HttpOnly
879
917
  cache-control:
880
918
  - private, max-age=0, must-revalidate
881
919
  body: |
@@ -901,38 +939,51 @@
901
939
  <plan_interval_unit>months</plan_interval_unit>
902
940
  <trial_interval_length type="integer">0</trial_interval_length>
903
941
  <trial_interval_unit>months</trial_interval_unit>
904
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
942
+ <created_at type="datetime">2010-12-10T19:19:03Z</created_at>
905
943
  </latest_version>
944
+ <add_ons type="collection">
945
+ <add_on>
946
+ <add_on_code>special</add_on_code>
947
+ <default_unit_amount_in_cents>1000</default_unit_amount_in_cents>
948
+ <default_quantity>1</default_quantity>
949
+ </add_on>
950
+ <add_on>
951
+ <add_on_code>special2</add_on_code>
952
+ <default_unit_amount_in_cents>1500</default_unit_amount_in_cents>
953
+ <default_quantity>1</default_quantity>
954
+ </add_on>
955
+ </add_ons>
906
956
  </plan>
907
957
 
908
958
  http_version: "1.1"
909
959
  - !ruby/struct:VCR::HTTPInteraction
910
960
  request: !ruby/struct:VCR::Request
911
961
  method: :post
912
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-2-1288381765/subscription.xml
962
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-2-1294473761/subscription.xml
913
963
  body: |
914
964
  <?xml version="1.0" encoding="UTF-8"?>
915
965
  <subscription>
916
966
  <quantity type="integer">1</quantity>
917
967
  <plan-code>paid</plan-code>
918
968
  <account>
919
- <created-at type="datetime">2010-11-16T07:02:51Z</created-at>
920
- <hosted-login-token>cb22545b693b45939927157b56f2f53e</hosted-login-token>
969
+ <created-at type="datetime">2011-01-08T08:02:56Z</created-at>
970
+ <hosted-login-token>be38813b84394802bb02420f63890e59</hosted-login-token>
921
971
  <company-name>Recurly Ruby Gem</company-name>
922
- <account-code>account-list-num-2-1288381765</account-code>
972
+ <account-code>account-list-num-2-1294473761</account-code>
923
973
  <closed type="boolean">false</closed>
924
974
  <username type="yaml" nil="true"></username>
925
- <id>account-list-num-2-1288381765</id>
975
+ <id>account-list-num-2-1294473761</id>
926
976
  <last-name>Test</last-name>
977
+ <accept-language type="yaml" nil="true"></accept-language>
927
978
  <billing-info>
928
- <city>San Francisco</city>
929
979
  <address1>123 Test St</address1>
980
+ <city>San Francisco</city>
930
981
  <zip>94115</zip>
931
982
  <country>US</country>
932
983
  <credit-card>
933
984
  <number>1</number>
934
- <month type="integer">11</month>
935
- <year type="integer">2011</year>
985
+ <month type="integer">1</month>
986
+ <year type="integer">2012</year>
936
987
  <verification-value>123</verification-value>
937
988
  </credit-card>
938
989
  <last-name>Test</last-name>
@@ -965,22 +1016,22 @@
965
1016
  content-type:
966
1017
  - application/xml; charset=utf-8
967
1018
  x-runtime:
968
- - "304"
1019
+ - "413"
969
1020
  date:
970
- - Tue, 16 Nov 2010 07:03:01 GMT
1021
+ - Sat, 08 Jan 2011 08:03:12 GMT
971
1022
  server:
972
- - nginx/0.7.65
1023
+ - nginx/0.8.53
973
1024
  content-length:
974
- - "868"
1025
+ - "906"
975
1026
  set-cookie:
976
- - _recurly_session=fe74b31cc2a2c07f81e81e7a6f3062dc; domain=.recurly.com; path=/; secure; HttpOnly
1027
+ - _recurly_session=9252d3dfd2eaa8154a8414f56b7ed4ac; domain=.recurly.com; path=/; secure; HttpOnly
977
1028
  cache-control:
978
1029
  - no-cache
979
1030
  body: |
980
1031
  <?xml version="1.0" encoding="UTF-8"?>
981
1032
  <subscription>
982
- <id>account-list-num-2-1288381765</id>
983
- <account_code>account-list-num-2-1288381765</account_code>
1033
+ <id>account-list-num-2-1294473761</id>
1034
+ <account_code>account-list-num-2-1294473761</account_code>
984
1035
  <plan>
985
1036
  <plan_code>paid</plan_code>
986
1037
  <name>Paid</name>
@@ -988,13 +1039,15 @@
988
1039
  <state>active</state>
989
1040
  <quantity type="integer">1</quantity>
990
1041
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
991
- <activated_at type="datetime">2010-11-16T07:03:01Z</activated_at>
1042
+ <activated_at type="datetime">2011-01-08T08:03:11Z</activated_at>
992
1043
  <canceled_at nil="true" type="datetime"></canceled_at>
993
1044
  <expires_at nil="true" type="datetime"></expires_at>
994
- <current_period_started_at type="datetime">2010-11-16T07:03:01Z</current_period_started_at>
995
- <current_period_ends_at type="datetime">2010-12-16T07:03:01Z</current_period_ends_at>
1045
+ <current_period_started_at type="datetime">2011-01-08T08:03:11Z</current_period_started_at>
1046
+ <current_period_ends_at type="datetime">2011-02-08T08:03:11Z</current_period_ends_at>
996
1047
  <trial_started_at nil="true" type="datetime"></trial_started_at>
997
1048
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
1049
+ <add_ons type="array">
1050
+ </add_ons>
998
1051
  </subscription>
999
1052
 
1000
1053
  http_version: "1.1"
@@ -1018,21 +1071,21 @@
1018
1071
  x-ua-compatible:
1019
1072
  - IE=Edge
1020
1073
  etag:
1021
- - "\"31910d9b30fecc5e62f25a1ce00278e0\""
1074
+ - "\"47a9e8e85691ef0600a2dd39f113a21e\""
1022
1075
  connection:
1023
1076
  - close
1024
1077
  content-type:
1025
1078
  - application/xml; charset=utf-8
1026
1079
  x-runtime:
1027
- - "12"
1080
+ - "14"
1028
1081
  date:
1029
- - Tue, 16 Nov 2010 07:03:00 GMT
1082
+ - Sat, 08 Jan 2011 08:03:12 GMT
1030
1083
  server:
1031
- - nginx/0.7.65
1084
+ - nginx/0.8.53
1032
1085
  content-length:
1033
- - "1150"
1086
+ - "1564"
1034
1087
  set-cookie:
1035
- - _recurly_session=6123a034c53772d1277ae2ddac533852; domain=.recurly.com; path=/; secure; HttpOnly
1088
+ - _recurly_session=22dd4b8323bf7ed5b0b25e9083ada2e4; domain=.recurly.com; path=/; secure; HttpOnly
1036
1089
  cache-control:
1037
1090
  - private, max-age=0, must-revalidate
1038
1091
  body: |
@@ -1058,38 +1111,51 @@
1058
1111
  <plan_interval_unit>months</plan_interval_unit>
1059
1112
  <trial_interval_length type="integer">0</trial_interval_length>
1060
1113
  <trial_interval_unit>months</trial_interval_unit>
1061
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
1114
+ <created_at type="datetime">2010-12-10T19:19:03Z</created_at>
1062
1115
  </latest_version>
1116
+ <add_ons type="collection">
1117
+ <add_on>
1118
+ <add_on_code>special</add_on_code>
1119
+ <default_unit_amount_in_cents>1000</default_unit_amount_in_cents>
1120
+ <default_quantity>1</default_quantity>
1121
+ </add_on>
1122
+ <add_on>
1123
+ <add_on_code>special2</add_on_code>
1124
+ <default_unit_amount_in_cents>1500</default_unit_amount_in_cents>
1125
+ <default_quantity>1</default_quantity>
1126
+ </add_on>
1127
+ </add_ons>
1063
1128
  </plan>
1064
1129
 
1065
1130
  http_version: "1.1"
1066
1131
  - !ruby/struct:VCR::HTTPInteraction
1067
1132
  request: !ruby/struct:VCR::Request
1068
1133
  method: :post
1069
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-3-1288381765/subscription.xml
1134
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-3-1294473761/subscription.xml
1070
1135
  body: |
1071
1136
  <?xml version="1.0" encoding="UTF-8"?>
1072
1137
  <subscription>
1073
1138
  <quantity type="integer">1</quantity>
1074
1139
  <plan-code>paid</plan-code>
1075
1140
  <account>
1076
- <created-at type="datetime">2010-11-16T07:02:54Z</created-at>
1077
- <hosted-login-token>7a897bf000294edd997c27a8b559522e</hosted-login-token>
1141
+ <created-at type="datetime">2011-01-08T08:02:58Z</created-at>
1142
+ <hosted-login-token>8b89c24559344df2aeb395b9e23524f6</hosted-login-token>
1078
1143
  <company-name>Recurly Ruby Gem</company-name>
1079
- <account-code>account-list-num-3-1288381765</account-code>
1144
+ <account-code>account-list-num-3-1294473761</account-code>
1080
1145
  <closed type="boolean">false</closed>
1081
1146
  <username type="yaml" nil="true"></username>
1082
- <id>account-list-num-3-1288381765</id>
1147
+ <id>account-list-num-3-1294473761</id>
1083
1148
  <last-name>Test</last-name>
1149
+ <accept-language type="yaml" nil="true"></accept-language>
1084
1150
  <billing-info>
1085
- <city>San Francisco</city>
1086
1151
  <address1>123 Test St</address1>
1152
+ <city>San Francisco</city>
1087
1153
  <zip>94115</zip>
1088
1154
  <country>US</country>
1089
1155
  <credit-card>
1090
1156
  <number>1</number>
1091
- <month type="integer">11</month>
1092
- <year type="integer">2011</year>
1157
+ <month type="integer">1</month>
1158
+ <year type="integer">2012</year>
1093
1159
  <verification-value>123</verification-value>
1094
1160
  </credit-card>
1095
1161
  <last-name>Test</last-name>
@@ -1122,22 +1188,22 @@
1122
1188
  content-type:
1123
1189
  - application/xml; charset=utf-8
1124
1190
  x-runtime:
1125
- - "317"
1191
+ - "475"
1126
1192
  date:
1127
- - Tue, 16 Nov 2010 07:03:03 GMT
1193
+ - Sat, 08 Jan 2011 08:03:14 GMT
1128
1194
  server:
1129
- - nginx/0.7.65
1195
+ - nginx/0.8.53
1130
1196
  content-length:
1131
- - "868"
1197
+ - "906"
1132
1198
  set-cookie:
1133
- - _recurly_session=24705746d236a1dd0694a21d1cf0a8ba; domain=.recurly.com; path=/; secure; HttpOnly
1199
+ - _recurly_session=de7acd5ad8da675f3afe1e96dcd98d45; domain=.recurly.com; path=/; secure; HttpOnly
1134
1200
  cache-control:
1135
1201
  - no-cache
1136
1202
  body: |
1137
1203
  <?xml version="1.0" encoding="UTF-8"?>
1138
1204
  <subscription>
1139
- <id>account-list-num-3-1288381765</id>
1140
- <account_code>account-list-num-3-1288381765</account_code>
1205
+ <id>account-list-num-3-1294473761</id>
1206
+ <account_code>account-list-num-3-1294473761</account_code>
1141
1207
  <plan>
1142
1208
  <plan_code>paid</plan_code>
1143
1209
  <name>Paid</name>
@@ -1145,13 +1211,15 @@
1145
1211
  <state>active</state>
1146
1212
  <quantity type="integer">1</quantity>
1147
1213
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
1148
- <activated_at type="datetime">2010-11-16T07:03:02Z</activated_at>
1214
+ <activated_at type="datetime">2011-01-08T08:03:13Z</activated_at>
1149
1215
  <canceled_at nil="true" type="datetime"></canceled_at>
1150
1216
  <expires_at nil="true" type="datetime"></expires_at>
1151
- <current_period_started_at type="datetime">2010-11-16T07:03:02Z</current_period_started_at>
1152
- <current_period_ends_at type="datetime">2010-12-16T07:03:02Z</current_period_ends_at>
1217
+ <current_period_started_at type="datetime">2011-01-08T08:03:13Z</current_period_started_at>
1218
+ <current_period_ends_at type="datetime">2011-02-08T08:03:13Z</current_period_ends_at>
1153
1219
  <trial_started_at nil="true" type="datetime"></trial_started_at>
1154
1220
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
1221
+ <add_ons type="array">
1222
+ </add_ons>
1155
1223
  </subscription>
1156
1224
 
1157
1225
  http_version: "1.1"
@@ -1175,21 +1243,21 @@
1175
1243
  x-ua-compatible:
1176
1244
  - IE=Edge
1177
1245
  etag:
1178
- - "\"6281eeb8611547c7762cab4322603503\""
1246
+ - "\"df1820b7571c7dabda7d668feb229838\""
1179
1247
  connection:
1180
1248
  - close
1181
1249
  content-type:
1182
1250
  - application/xml; charset=utf-8
1183
1251
  x-runtime:
1184
- - "97"
1252
+ - "46"
1185
1253
  date:
1186
- - Tue, 16 Nov 2010 07:03:01 GMT
1254
+ - Sat, 08 Jan 2011 08:03:14 GMT
1187
1255
  server:
1188
- - nginx/0.7.65
1256
+ - nginx/0.8.53
1189
1257
  content-length:
1190
- - "3729"
1258
+ - "4372"
1191
1259
  set-cookie:
1192
- - _recurly_session=e9925205de25e037c822794a42005b06; domain=.recurly.com; path=/; secure; HttpOnly
1260
+ - _recurly_session=e8feaeac2a1ee358553df449a3f21eaa; domain=.recurly.com; path=/; secure; HttpOnly
1193
1261
  cache-control:
1194
1262
  - private, max-age=0, must-revalidate
1195
1263
  body: |
@@ -1197,9 +1265,9 @@
1197
1265
  <accounts type="collection">
1198
1266
  <current_page type="integer">1</current_page>
1199
1267
  <per_page type="integer">20</per_page>
1200
- <total_entries type="integer">11</total_entries>
1268
+ <total_entries type="integer">13</total_entries>
1201
1269
  <account>
1202
- <account_code>account-create-1288381765</account_code>
1270
+ <account_code>account-create-1294473761</account_code>
1203
1271
  <username></username>
1204
1272
  <email>verena@test.com</email>
1205
1273
  <first_name>Verena</first_name>
@@ -1208,7 +1276,7 @@
1208
1276
  <balance_in_cents type="integer">0</balance_in_cents>
1209
1277
  </account>
1210
1278
  <account>
1211
- <account_code>account-get-1288381765</account_code>
1279
+ <account_code>account-french-1294473117</account_code>
1212
1280
  <username></username>
1213
1281
  <email>verena@test.com</email>
1214
1282
  <first_name>Verena</first_name>
@@ -1217,7 +1285,7 @@
1217
1285
  <balance_in_cents type="integer">0</balance_in_cents>
1218
1286
  </account>
1219
1287
  <account>
1220
- <account_code>account-list-num-0-1288381765</account_code>
1288
+ <account_code>account-get-1294473761</account_code>
1221
1289
  <username></username>
1222
1290
  <email>verena@test.com</email>
1223
1291
  <first_name>Verena</first_name>
@@ -1226,7 +1294,7 @@
1226
1294
  <balance_in_cents type="integer">0</balance_in_cents>
1227
1295
  </account>
1228
1296
  <account>
1229
- <account_code>account-list-num-1-1288381765</account_code>
1297
+ <account_code>account-list-num-0-1294473761</account_code>
1230
1298
  <username></username>
1231
1299
  <email>verena@test.com</email>
1232
1300
  <first_name>Verena</first_name>
@@ -1235,7 +1303,7 @@
1235
1303
  <balance_in_cents type="integer">0</balance_in_cents>
1236
1304
  </account>
1237
1305
  <account>
1238
- <account_code>account-list-num-2-1288381765</account_code>
1306
+ <account_code>account-list-num-1-1294473761</account_code>
1239
1307
  <username></username>
1240
1308
  <email>verena@test.com</email>
1241
1309
  <first_name>Verena</first_name>
@@ -1244,7 +1312,7 @@
1244
1312
  <balance_in_cents type="integer">0</balance_in_cents>
1245
1313
  </account>
1246
1314
  <account>
1247
- <account_code>account-list-num-3-1288381765</account_code>
1315
+ <account_code>account-list-num-2-1294473761</account_code>
1248
1316
  <username></username>
1249
1317
  <email>verena@test.com</email>
1250
1318
  <first_name>Verena</first_name>
@@ -1253,7 +1321,7 @@
1253
1321
  <balance_in_cents type="integer">0</balance_in_cents>
1254
1322
  </account>
1255
1323
  <account>
1256
- <account_code>account-list-num-4-1288381765</account_code>
1324
+ <account_code>account-list-num-3-1294473761</account_code>
1257
1325
  <username></username>
1258
1326
  <email>verena@test.com</email>
1259
1327
  <first_name>Verena</first_name>
@@ -1262,7 +1330,7 @@
1262
1330
  <balance_in_cents type="integer">0</balance_in_cents>
1263
1331
  </account>
1264
1332
  <account>
1265
- <account_code>account-list-num-5-1288381765</account_code>
1333
+ <account_code>account-list-num-4-1294473761</account_code>
1266
1334
  <username></username>
1267
1335
  <email>verena@test.com</email>
1268
1336
  <first_name>Verena</first_name>
@@ -1271,7 +1339,7 @@
1271
1339
  <balance_in_cents type="integer">0</balance_in_cents>
1272
1340
  </account>
1273
1341
  <account>
1274
- <account_code>account-list-num-6-1288381765</account_code>
1342
+ <account_code>account-list-num-5-1294473761</account_code>
1275
1343
  <username></username>
1276
1344
  <email>verena@test.com</email>
1277
1345
  <first_name>Verena</first_name>
@@ -1280,7 +1348,7 @@
1280
1348
  <balance_in_cents type="integer">0</balance_in_cents>
1281
1349
  </account>
1282
1350
  <account>
1283
- <account_code>account-list-num-7-1288381765</account_code>
1351
+ <account_code>account-list-num-6-1294473761</account_code>
1284
1352
  <username></username>
1285
1353
  <email>verena@test.com</email>
1286
1354
  <first_name>Verena</first_name>
@@ -1289,7 +1357,25 @@
1289
1357
  <balance_in_cents type="integer">0</balance_in_cents>
1290
1358
  </account>
1291
1359
  <account>
1292
- <account_code>d00d-1288381765</account_code>
1360
+ <account_code>account-list-num-7-1294473761</account_code>
1361
+ <username></username>
1362
+ <email>verena@test.com</email>
1363
+ <first_name>Verena</first_name>
1364
+ <last_name>Test</last_name>
1365
+ <company_name>Recurly Ruby Gem</company_name>
1366
+ <balance_in_cents type="integer">0</balance_in_cents>
1367
+ </account>
1368
+ <account>
1369
+ <account_code>account1-french-1294473653</account_code>
1370
+ <username></username>
1371
+ <email>verena@test.com</email>
1372
+ <first_name>Verena</first_name>
1373
+ <last_name>Test</last_name>
1374
+ <company_name>Recurly Ruby Gem</company_name>
1375
+ <balance_in_cents type="integer">0</balance_in_cents>
1376
+ </account>
1377
+ <account>
1378
+ <account_code>d00d-1294473761</account_code>
1293
1379
  <username></username>
1294
1380
  <email></email>
1295
1381
  <first_name></first_name>
@@ -1303,7 +1389,7 @@
1303
1389
  - !ruby/struct:VCR::HTTPInteraction
1304
1390
  request: !ruby/struct:VCR::Request
1305
1391
  method: :get
1306
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml?show=paid
1392
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml?show=active_subscribers
1307
1393
  body:
1308
1394
  headers:
1309
1395
  accept:
@@ -1320,21 +1406,21 @@
1320
1406
  x-ua-compatible:
1321
1407
  - IE=Edge
1322
1408
  etag:
1323
- - "\"6281eeb8611547c7762cab4322603503\""
1409
+ - "\"0655d0dba4fdcf3fd9527980160ead29\""
1324
1410
  connection:
1325
1411
  - close
1326
1412
  content-type:
1327
1413
  - application/xml; charset=utf-8
1328
1414
  x-runtime:
1329
- - "39"
1415
+ - "36"
1330
1416
  date:
1331
- - Tue, 16 Nov 2010 07:03:04 GMT
1417
+ - Sat, 08 Jan 2011 08:03:15 GMT
1332
1418
  server:
1333
- - nginx/0.7.65
1419
+ - nginx/0.8.53
1334
1420
  content-length:
1335
- - "3729"
1421
+ - "1840"
1336
1422
  set-cookie:
1337
- - _recurly_session=0c73ad7ddc2e00a22a018551d78aee73; domain=.recurly.com; path=/; secure; HttpOnly
1423
+ - _recurly_session=e2acba3de6e756c633af11c01d58cfe5; domain=.recurly.com; path=/; secure; HttpOnly
1338
1424
  cache-control:
1339
1425
  - private, max-age=0, must-revalidate
1340
1426
  body: |
@@ -1342,27 +1428,9 @@
1342
1428
  <accounts type="collection">
1343
1429
  <current_page type="integer">1</current_page>
1344
1430
  <per_page type="integer">20</per_page>
1345
- <total_entries type="integer">11</total_entries>
1346
- <account>
1347
- <account_code>account-create-1288381765</account_code>
1348
- <username></username>
1349
- <email>verena@test.com</email>
1350
- <first_name>Verena</first_name>
1351
- <last_name>Test</last_name>
1352
- <company_name>Recurly Ruby Gem</company_name>
1353
- <balance_in_cents type="integer">0</balance_in_cents>
1354
- </account>
1355
- <account>
1356
- <account_code>account-get-1288381765</account_code>
1357
- <username></username>
1358
- <email>verena@test.com</email>
1359
- <first_name>Verena</first_name>
1360
- <last_name>Test</last_name>
1361
- <company_name>Recurly Ruby Gem</company_name>
1362
- <balance_in_cents type="integer">0</balance_in_cents>
1363
- </account>
1431
+ <total_entries type="integer">5</total_entries>
1364
1432
  <account>
1365
- <account_code>account-list-num-0-1288381765</account_code>
1433
+ <account_code>account-french-1294473117</account_code>
1366
1434
  <username></username>
1367
1435
  <email>verena@test.com</email>
1368
1436
  <first_name>Verena</first_name>
@@ -1371,7 +1439,7 @@
1371
1439
  <balance_in_cents type="integer">0</balance_in_cents>
1372
1440
  </account>
1373
1441
  <account>
1374
- <account_code>account-list-num-1-1288381765</account_code>
1442
+ <account_code>account-list-num-0-1294473761</account_code>
1375
1443
  <username></username>
1376
1444
  <email>verena@test.com</email>
1377
1445
  <first_name>Verena</first_name>
@@ -1380,7 +1448,7 @@
1380
1448
  <balance_in_cents type="integer">0</balance_in_cents>
1381
1449
  </account>
1382
1450
  <account>
1383
- <account_code>account-list-num-2-1288381765</account_code>
1451
+ <account_code>account-list-num-1-1294473761</account_code>
1384
1452
  <username></username>
1385
1453
  <email>verena@test.com</email>
1386
1454
  <first_name>Verena</first_name>
@@ -1389,7 +1457,7 @@
1389
1457
  <balance_in_cents type="integer">0</balance_in_cents>
1390
1458
  </account>
1391
1459
  <account>
1392
- <account_code>account-list-num-3-1288381765</account_code>
1460
+ <account_code>account-list-num-2-1294473761</account_code>
1393
1461
  <username></username>
1394
1462
  <email>verena@test.com</email>
1395
1463
  <first_name>Verena</first_name>
@@ -1398,7 +1466,7 @@
1398
1466
  <balance_in_cents type="integer">0</balance_in_cents>
1399
1467
  </account>
1400
1468
  <account>
1401
- <account_code>account-list-num-4-1288381765</account_code>
1469
+ <account_code>account-list-num-3-1294473761</account_code>
1402
1470
  <username></username>
1403
1471
  <email>verena@test.com</email>
1404
1472
  <first_name>Verena</first_name>
@@ -1406,42 +1474,6 @@
1406
1474
  <company_name>Recurly Ruby Gem</company_name>
1407
1475
  <balance_in_cents type="integer">0</balance_in_cents>
1408
1476
  </account>
1409
- <account>
1410
- <account_code>account-list-num-5-1288381765</account_code>
1411
- <username></username>
1412
- <email>verena@test.com</email>
1413
- <first_name>Verena</first_name>
1414
- <last_name>Test</last_name>
1415
- <company_name>Recurly Ruby Gem</company_name>
1416
- <balance_in_cents type="integer">0</balance_in_cents>
1417
- </account>
1418
- <account>
1419
- <account_code>account-list-num-6-1288381765</account_code>
1420
- <username></username>
1421
- <email>verena@test.com</email>
1422
- <first_name>Verena</first_name>
1423
- <last_name>Test</last_name>
1424
- <company_name>Recurly Ruby Gem</company_name>
1425
- <balance_in_cents type="integer">0</balance_in_cents>
1426
- </account>
1427
- <account>
1428
- <account_code>account-list-num-7-1288381765</account_code>
1429
- <username></username>
1430
- <email>verena@test.com</email>
1431
- <first_name>Verena</first_name>
1432
- <last_name>Test</last_name>
1433
- <company_name>Recurly Ruby Gem</company_name>
1434
- <balance_in_cents type="integer">0</balance_in_cents>
1435
- </account>
1436
- <account>
1437
- <account_code>d00d-1288381765</account_code>
1438
- <username></username>
1439
- <email></email>
1440
- <first_name></first_name>
1441
- <last_name></last_name>
1442
- <company_name></company_name>
1443
- <balance_in_cents type="integer">0</balance_in_cents>
1444
- </account>
1445
1477
  </accounts>
1446
1478
 
1447
1479
  http_version: "1.1"
@@ -1465,21 +1497,21 @@
1465
1497
  x-ua-compatible:
1466
1498
  - IE=Edge
1467
1499
  etag:
1468
- - "\"128c4bec599bbad2b8af98e4f9d68bf9\""
1500
+ - "\"5a608b4e7872bc3aee5eb36f5f023a7a\""
1469
1501
  connection:
1470
1502
  - close
1471
1503
  content-type:
1472
1504
  - application/xml; charset=utf-8
1473
1505
  x-runtime:
1474
- - "46"
1506
+ - "47"
1475
1507
  date:
1476
- - Tue, 16 Nov 2010 07:03:02 GMT
1508
+ - Sat, 08 Jan 2011 08:03:16 GMT
1477
1509
  server:
1478
- - nginx/0.7.65
1510
+ - nginx/0.8.53
1479
1511
  content-length:
1480
- - "2428"
1512
+ - "2750"
1481
1513
  set-cookie:
1482
- - _recurly_session=c9b85c5df73041f9f3789e8b48e9fb73; domain=.recurly.com; path=/; secure; HttpOnly
1514
+ - _recurly_session=000f16635c51c5ddec8f5e90db2a728b; domain=.recurly.com; path=/; secure; HttpOnly
1483
1515
  cache-control:
1484
1516
  - private, max-age=0, must-revalidate
1485
1517
  body: |
@@ -1487,9 +1519,18 @@
1487
1519
  <accounts type="collection">
1488
1520
  <current_page type="integer">1</current_page>
1489
1521
  <per_page type="integer">20</per_page>
1490
- <total_entries type="integer">7</total_entries>
1522
+ <total_entries type="integer">8</total_entries>
1523
+ <account>
1524
+ <account_code>account-create-1294473761</account_code>
1525
+ <username></username>
1526
+ <email>verena@test.com</email>
1527
+ <first_name>Verena</first_name>
1528
+ <last_name>Test</last_name>
1529
+ <company_name>Recurly Ruby Gem</company_name>
1530
+ <balance_in_cents type="integer">0</balance_in_cents>
1531
+ </account>
1491
1532
  <account>
1492
- <account_code>account-create-1288381765</account_code>
1533
+ <account_code>account-get-1294473761</account_code>
1493
1534
  <username></username>
1494
1535
  <email>verena@test.com</email>
1495
1536
  <first_name>Verena</first_name>
@@ -1498,7 +1539,7 @@
1498
1539
  <balance_in_cents type="integer">0</balance_in_cents>
1499
1540
  </account>
1500
1541
  <account>
1501
- <account_code>account-get-1288381765</account_code>
1542
+ <account_code>account-list-num-4-1294473761</account_code>
1502
1543
  <username></username>
1503
1544
  <email>verena@test.com</email>
1504
1545
  <first_name>Verena</first_name>
@@ -1507,7 +1548,7 @@
1507
1548
  <balance_in_cents type="integer">0</balance_in_cents>
1508
1549
  </account>
1509
1550
  <account>
1510
- <account_code>account-list-num-4-1288381765</account_code>
1551
+ <account_code>account-list-num-5-1294473761</account_code>
1511
1552
  <username></username>
1512
1553
  <email>verena@test.com</email>
1513
1554
  <first_name>Verena</first_name>
@@ -1516,7 +1557,7 @@
1516
1557
  <balance_in_cents type="integer">0</balance_in_cents>
1517
1558
  </account>
1518
1559
  <account>
1519
- <account_code>account-list-num-5-1288381765</account_code>
1560
+ <account_code>account-list-num-6-1294473761</account_code>
1520
1561
  <username></username>
1521
1562
  <email>verena@test.com</email>
1522
1563
  <first_name>Verena</first_name>
@@ -1525,7 +1566,7 @@
1525
1566
  <balance_in_cents type="integer">0</balance_in_cents>
1526
1567
  </account>
1527
1568
  <account>
1528
- <account_code>account-list-num-6-1288381765</account_code>
1569
+ <account_code>account-list-num-7-1294473761</account_code>
1529
1570
  <username></username>
1530
1571
  <email>verena@test.com</email>
1531
1572
  <first_name>Verena</first_name>
@@ -1534,7 +1575,7 @@
1534
1575
  <balance_in_cents type="integer">0</balance_in_cents>
1535
1576
  </account>
1536
1577
  <account>
1537
- <account_code>account-list-num-7-1288381765</account_code>
1578
+ <account_code>account1-french-1294473653</account_code>
1538
1579
  <username></username>
1539
1580
  <email>verena@test.com</email>
1540
1581
  <first_name>Verena</first_name>
@@ -1543,7 +1584,7 @@
1543
1584
  <balance_in_cents type="integer">0</balance_in_cents>
1544
1585
  </account>
1545
1586
  <account>
1546
- <account_code>d00d-1288381765</account_code>
1587
+ <account_code>d00d-1294473761</account_code>
1547
1588
  <username></username>
1548
1589
  <email></email>
1549
1590
  <first_name></first_name>