recurly 0.2.9 → 0.3.0

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 (86) hide show
  1. data/lib/recurly.rb +13 -5
  2. data/lib/recurly/rails3/railtie.rb +1 -8
  3. data/lib/recurly/version.rb +1 -1
  4. data/spec/vcr/account/close/1288381765.yml +15 -15
  5. data/spec/vcr/account/create-blank/1288381765.yml +3 -3
  6. data/spec/vcr/account/create-duplicate/1288381765.yml +27 -12
  7. data/spec/vcr/account/create-min/1288381765.yml +6 -6
  8. data/spec/vcr/account/create/1288381765.yml +6 -6
  9. data/spec/vcr/account/find/1288381765.yml +14 -14
  10. data/spec/vcr/account/list/1288381765.yml +251 -530
  11. data/spec/vcr/account/update/1288381765.yml +26 -26
  12. data/spec/vcr/billing/create/1286682213.yml +20 -20
  13. data/spec/vcr/billing/destroy/1286682213.yml +29 -29
  14. data/spec/vcr/billing/find/1286682213.yml +25 -25
  15. data/spec/vcr/billing/update/1286682213.yml +27 -27
  16. data/spec/vcr/charge/create/1287465632.yml +31 -29
  17. data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +33 -31
  18. data/spec/vcr/charge/list-all/1287465632.yml +43 -40
  19. data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -66
  20. data/spec/vcr/charge/list-pending/1287465632.yml +43 -40
  21. data/spec/vcr/charge/lookup/1287465632.yml +24 -22
  22. data/spec/vcr/credit/create/1287461400.yml +24 -22
  23. data/spec/vcr/credit/delete/1287461400.yml +31 -29
  24. data/spec/vcr/credit/list/1287461400.yml +47 -41
  25. data/spec/vcr/credit/lookup/1287461400.yml +23 -21
  26. data/spec/vcr/invoice/create-no-charges/1287167121.yml +16 -16
  27. data/spec/vcr/invoice/create/1287167121.yml +42 -40
  28. data/spec/vcr/invoice/list/1287167121.yml +59 -57
  29. data/spec/vcr/invoice/lookup/1287167121.yml +42 -41
  30. data/spec/vcr/plan/all.yml +9 -9
  31. data/spec/vcr/plan/delete/1286677585.yml +16 -16
  32. data/spec/vcr/plan/find.yml +9 -9
  33. data/spec/vcr/plan/update.yml +12 -12
  34. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +52 -52
  35. data/spec/vcr/subscription/cancel/1287455769.yml +43 -43
  36. data/spec/vcr/subscription/change1/1287455769.yml +39 -39
  37. data/spec/vcr/subscription/change2/1287455769.yml +39 -39
  38. data/spec/vcr/subscription/create/1287455769.yml +18 -18
  39. data/spec/vcr/subscription/find/1287455769.yml +25 -25
  40. data/spec/vcr/subscription/reactivate/1287455769.yml +45 -45
  41. data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
  42. data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
  43. data/spec/vcr/subscription/refund-partial/1287455769.yml +37 -37
  44. data/spec/vcr/transaction/all/1289558212.yml +363 -54
  45. data/spec/vcr/transaction/create-no-account/1289558212.yml +25 -27
  46. data/spec/vcr/transaction/create-with-account/1289558212.yml +63 -69
  47. data/spec/vcr/transaction/list-filled/1289558212.yml +191 -148
  48. data/spec/vcr/transaction/list-initial/1289558212.yml +86 -84
  49. data/spec/vcr/transaction/lookup/1289558212.yml +222 -214
  50. data/spec/vcr/transaction/refund/1289558212.yml +82 -90
  51. data/spec/vcr/transaction/void/1289558212.yml +377 -143
  52. metadata +4 -72
  53. data/spec/vcr/account/close/1287167046.yml +0 -159
  54. data/spec/vcr/account/close/1288381369.yml +0 -159
  55. data/spec/vcr/account/close/1288381447.yml +0 -159
  56. data/spec/vcr/account/create-blank/1287167046.yml +0 -49
  57. data/spec/vcr/account/create-blank/1288381369.yml +0 -49
  58. data/spec/vcr/account/create-blank/1288381447.yml +0 -49
  59. data/spec/vcr/account/create-duplicate/1287167046.yml +0 -110
  60. data/spec/vcr/account/create-duplicate/1288381369.yml +0 -95
  61. data/spec/vcr/account/create-duplicate/1288381447.yml +0 -95
  62. data/spec/vcr/account/create-min/1287167046.yml +0 -63
  63. data/spec/vcr/account/create-min/1288381369.yml +0 -63
  64. data/spec/vcr/account/create-min/1288381447.yml +0 -63
  65. data/spec/vcr/account/create/1287167046.yml +0 -67
  66. data/spec/vcr/account/create/1288381369.yml +0 -67
  67. data/spec/vcr/account/create/1288381447.yml +0 -67
  68. data/spec/vcr/account/find-all/1288381369.yml +0 -52
  69. data/spec/vcr/account/find-all/1288381447.yml +0 -1383
  70. data/spec/vcr/account/find/1287167046.yml +0 -160
  71. data/spec/vcr/account/find/1288381369.yml +0 -160
  72. data/spec/vcr/account/find/1288381447.yml +0 -160
  73. data/spec/vcr/account/list/1287167046.yml +0 -1538
  74. data/spec/vcr/account/list/1288381369.yml +0 -1835
  75. data/spec/vcr/account/list/1288381447.yml +0 -1835
  76. data/spec/vcr/account/update/1287167046.yml +0 -250
  77. data/spec/vcr/account/update/1288381369.yml +0 -250
  78. data/spec/vcr/account/update/1288381447.yml +0 -250
  79. data/spec/vcr/transaction/all/1287186411.yml +0 -387
  80. data/spec/vcr/transaction/create-no-account/1287186411.yml +0 -91
  81. data/spec/vcr/transaction/create-with-account/1287186411.yml +0 -220
  82. data/spec/vcr/transaction/list-empty/1287186411.yml +0 -212
  83. data/spec/vcr/transaction/list-filled/1287186411.yml +0 -476
  84. data/spec/vcr/transaction/lookup/1287186411.yml +0 -548
  85. data/spec/vcr/transaction/refund/1287186411.yml +0 -282
  86. data/spec/vcr/transaction/void/1287186411.yml +0 -600
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "593"
37
+ - "277"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:21:36 GMT
39
+ - Tue, 16 Nov 2010 07:03:22 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "593"
44
44
  set-cookie:
45
- - account_credentials=a3ae0ad4daae2a5b788470b1ed5e42a1cf11ceb870f2ab9ab042c8050e7a2078b238212b8454655c62258a814ca20f306f439f1026ab9f564dfb7ad557ab1cec%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=299eb88c0713f8795f86ef34725493da9500efbfb0550777c0e55ce9e2e25f20f689cb4033157946abc5f789b4d9942801d589bead5320b10e828e4a1794cb65%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=ab59794e22109d603ffb100efadc0e52; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=919a23b59594dc9b62c4b0f84259dc98; 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>41dbeb1485494abc9068588405005e76</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:21:36Z</created_at>
62
+ <hosted_login_token>3e7ecec876644339b6b9a42f7248659d</hosted_login_token>
63
+ <created_at type="datetime">2010-11-16T07:03:22Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -95,27 +95,28 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "68"
98
+ - "47"
99
99
  date:
100
- - Tue, 19 Oct 2010 05:21:36 GMT
100
+ - Tue, 16 Nov 2010 07:03:24 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
- - "462"
104
+ - "524"
105
105
  set-cookie:
106
- - _recurly_session=e469fefd847742feeefc72818463e886; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=57554597616963a144156f5e2d13e49f; 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>40afa37c5a664d22946318bd6c9e4a4b</id>
112
+ <id>db9face9f8444351a4e1b6e3776fe04c</id>
113
113
  <account_code>charge-list-pending-1287465632</account_code>
114
114
  <amount_in_cents type="integer">1000</amount_in_cents>
115
- <start_date type="datetime">2010-10-19T05:21:36Z</start_date>
115
+ <start_date type="datetime">2010-11-16T07:03:24Z</start_date>
116
116
  <end_date nil="true" type="datetime"></end_date>
117
+ <invoice_number nil="true" type="integer"></invoice_number>
117
118
  <description>charge description</description>
118
- <created_at type="datetime">2010-10-19T05:21:36Z</created_at>
119
+ <created_at type="datetime">2010-11-16T07:03:24Z</created_at>
119
120
  </charge>
120
121
 
121
122
  http_version: "1.1"
@@ -149,27 +150,28 @@
149
150
  content-type:
150
151
  - application/xml; charset=utf-8
151
152
  x-runtime:
152
- - "62"
153
+ - "95"
153
154
  date:
154
- - Tue, 19 Oct 2010 05:21:37 GMT
155
+ - Tue, 16 Nov 2010 07:03:23 GMT
155
156
  server:
156
157
  - nginx/0.7.65
157
158
  content-length:
158
- - "462"
159
+ - "524"
159
160
  set-cookie:
160
- - _recurly_session=8110f8e17d7249a8c3837190bef13c62; domain=.recurly.com; path=/; Secure; HttpOnly
161
+ - _recurly_session=e4fbecbab2ee57fc68be03c3c650704b; domain=.recurly.com; path=/; secure; HttpOnly
161
162
  cache-control:
162
163
  - no-cache
163
164
  body: |
164
165
  <?xml version="1.0" encoding="UTF-8"?>
165
166
  <charge type="charge">
166
- <id>8c107d4730ab40ee825eb6b498d3163f</id>
167
+ <id>9ae89e16e55541cfb905b0756a117ccf</id>
167
168
  <account_code>charge-list-pending-1287465632</account_code>
168
169
  <amount_in_cents type="integer">1000</amount_in_cents>
169
- <start_date type="datetime">2010-10-19T05:21:37Z</start_date>
170
+ <start_date type="datetime">2010-11-16T07:03:23Z</start_date>
170
171
  <end_date nil="true" type="datetime"></end_date>
172
+ <invoice_number nil="true" type="integer"></invoice_number>
171
173
  <description>charge description</description>
172
- <created_at type="datetime">2010-10-19T05:21:37Z</created_at>
174
+ <created_at type="datetime">2010-11-16T07:03:23Z</created_at>
173
175
  </charge>
174
176
 
175
177
  http_version: "1.1"
@@ -203,27 +205,28 @@
203
205
  content-type:
204
206
  - application/xml; charset=utf-8
205
207
  x-runtime:
206
- - "64"
208
+ - "44"
207
209
  date:
208
- - Tue, 19 Oct 2010 05:21:38 GMT
210
+ - Tue, 16 Nov 2010 07:03:25 GMT
209
211
  server:
210
212
  - nginx/0.7.65
211
213
  content-length:
212
- - "462"
214
+ - "524"
213
215
  set-cookie:
214
- - _recurly_session=64256b7f6db0b15f7db9df3f33704652; domain=.recurly.com; path=/; Secure; HttpOnly
216
+ - _recurly_session=71a8b223e68f36e969cac556ee21eec5; domain=.recurly.com; path=/; secure; HttpOnly
215
217
  cache-control:
216
218
  - no-cache
217
219
  body: |
218
220
  <?xml version="1.0" encoding="UTF-8"?>
219
221
  <charge type="charge">
220
- <id>b292c24b75bf455fbad14ac0d0c7ed21</id>
222
+ <id>7583de1868e94a31870cf858ff81222a</id>
221
223
  <account_code>charge-list-pending-1287465632</account_code>
222
224
  <amount_in_cents type="integer">1000</amount_in_cents>
223
- <start_date type="datetime">2010-10-19T05:21:38Z</start_date>
225
+ <start_date type="datetime">2010-11-16T07:03:25Z</start_date>
224
226
  <end_date nil="true" type="datetime"></end_date>
227
+ <invoice_number nil="true" type="integer"></invoice_number>
225
228
  <description>charge description</description>
226
- <created_at type="datetime">2010-10-19T05:21:38Z</created_at>
229
+ <created_at type="datetime">2010-11-16T07:03:25Z</created_at>
227
230
  </charge>
228
231
 
229
232
  http_version: "1.1"
@@ -247,55 +250,55 @@
247
250
  x-ua-compatible:
248
251
  - IE=Edge
249
252
  etag:
250
- - "\"fc7871a1e9ccdd603434a1b39dc07c70\""
253
+ - "\"97c0b7cc7ea3f2122c972820758e9e28\""
251
254
  connection:
252
255
  - close
253
256
  content-type:
254
257
  - application/xml; charset=utf-8
255
258
  x-runtime:
256
- - "27"
259
+ - "14"
257
260
  date:
258
- - Tue, 19 Oct 2010 05:21:38 GMT
261
+ - Tue, 16 Nov 2010 07:03:24 GMT
259
262
  server:
260
263
  - nginx/0.7.65
261
264
  content-length:
262
265
  - "1588"
263
266
  set-cookie:
264
- - _recurly_session=33bbd34c605d101e732ff367eb88ba25; domain=.recurly.com; path=/; Secure; HttpOnly
267
+ - _recurly_session=2ea0ce4613b34569f4c525ee94653a06; domain=.recurly.com; path=/; secure; HttpOnly
265
268
  cache-control:
266
269
  - private, max-age=0, must-revalidate
267
270
  body: |
268
271
  <?xml version="1.0" encoding="UTF-8"?>
269
272
  <charges type="array">
270
273
  <charge type="charge">
271
- <id>b292c24b75bf455fbad14ac0d0c7ed21</id>
274
+ <id>7583de1868e94a31870cf858ff81222a</id>
272
275
  <account_code>charge-list-pending-1287465632</account_code>
273
276
  <amount_in_cents type="integer">1000</amount_in_cents>
274
- <start_date type="datetime">2010-10-19T05:21:38Z</start_date>
277
+ <start_date type="datetime">2010-11-16T07:03:25Z</start_date>
275
278
  <end_date nil="true" type="datetime"></end_date>
276
279
  <invoice_number nil="true" type="integer"></invoice_number>
277
280
  <description>charge description</description>
278
- <created_at type="datetime">2010-10-19T05:21:38Z</created_at>
281
+ <created_at type="datetime">2010-11-16T07:03:25Z</created_at>
279
282
  </charge>
280
283
  <charge type="charge">
281
- <id>8c107d4730ab40ee825eb6b498d3163f</id>
284
+ <id>9ae89e16e55541cfb905b0756a117ccf</id>
282
285
  <account_code>charge-list-pending-1287465632</account_code>
283
286
  <amount_in_cents type="integer">1000</amount_in_cents>
284
- <start_date type="datetime">2010-10-19T05:21:37Z</start_date>
287
+ <start_date type="datetime">2010-11-16T07:03:23Z</start_date>
285
288
  <end_date nil="true" type="datetime"></end_date>
286
289
  <invoice_number nil="true" type="integer"></invoice_number>
287
290
  <description>charge description</description>
288
- <created_at type="datetime">2010-10-19T05:21:37Z</created_at>
291
+ <created_at type="datetime">2010-11-16T07:03:23Z</created_at>
289
292
  </charge>
290
293
  <charge type="charge">
291
- <id>40afa37c5a664d22946318bd6c9e4a4b</id>
294
+ <id>db9face9f8444351a4e1b6e3776fe04c</id>
292
295
  <account_code>charge-list-pending-1287465632</account_code>
293
296
  <amount_in_cents type="integer">1000</amount_in_cents>
294
- <start_date type="datetime">2010-10-19T05:21:36Z</start_date>
297
+ <start_date type="datetime">2010-11-16T07:03:24Z</start_date>
295
298
  <end_date nil="true" type="datetime"></end_date>
296
299
  <invoice_number nil="true" type="integer"></invoice_number>
297
300
  <description>charge description</description>
298
- <created_at type="datetime">2010-10-19T05:21:36Z</created_at>
301
+ <created_at type="datetime">2010-11-16T07:03:24Z</created_at>
299
302
  </charge>
300
303
  </charges>
301
304
 
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "609"
37
+ - "271"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:21:48 GMT
39
+ - Tue, 16 Nov 2010 07:03:32 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "581"
44
44
  set-cookie:
45
- - account_credentials=313fdd49b5c54402eea76bd2ebdc12c7679b98a740195432622b225fd23b8f29d2b8ea031239ff32f6d97a9faa1d116ad688d39469a1b6e1228c8bb9de887bde%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=e3c8f79d4c87bde3458fdcb0eb94c147820d69e6fbe9a260c495f1c4420740828f4b422b47a1a2bbc4fbf05106e910f78588a5b27205633f874ae21286955d58%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=a077bd36bc65222191691bfb33143848; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=a34cd7bcf3b2bbad8309ab05b7ba8308; 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>36ac4adc906a42bd8420841845d53c15</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:21:48Z</created_at>
62
+ <hosted_login_token>b8db416f90c9493cad98e17c5ab309ff</hosted_login_token>
63
+ <created_at type="datetime">2010-11-16T07:03:32Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -95,34 +95,35 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "45"
98
+ - "46"
99
99
  date:
100
- - Tue, 19 Oct 2010 05:21:48 GMT
100
+ - Tue, 16 Nov 2010 07:03:35 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
- - "455"
104
+ - "517"
105
105
  set-cookie:
106
- - _recurly_session=ba3baa9e508172dd29b42e6be8a81566; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=4c6b6e5d86d8080ff2238b9c00d6d2ae; 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>93ce4d48e40a4b519d3e1304cf34ab75</id>
112
+ <id>1fac7de40f2f48bcb44de2c4c518ee0b</id>
113
113
  <account_code>charge-lookup-1287465632</account_code>
114
114
  <amount_in_cents type="integer">1315</amount_in_cents>
115
- <start_date type="datetime">2010-10-19T05:21:48Z</start_date>
115
+ <start_date type="datetime">2010-11-16T07:03:35Z</start_date>
116
116
  <end_date nil="true" type="datetime"></end_date>
117
+ <invoice_number nil="true" type="integer"></invoice_number>
117
118
  <description>inconvenience fee</description>
118
- <created_at type="datetime">2010-10-19T05:21:48Z</created_at>
119
+ <created_at type="datetime">2010-11-16T07:03:35Z</created_at>
119
120
  </charge>
120
121
 
121
122
  http_version: "1.1"
122
123
  - !ruby/struct:VCR::HTTPInteraction
123
124
  request: !ruby/struct:VCR::Request
124
125
  method: :get
125
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1287465632/charges/93ce4d48e40a4b519d3e1304cf34ab75.xml
126
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1287465632/charges/1fac7de40f2f48bcb44de2c4c518ee0b.xml
126
127
  body:
127
128
  headers:
128
129
  accept:
@@ -139,33 +140,34 @@
139
140
  x-ua-compatible:
140
141
  - IE=Edge
141
142
  etag:
142
- - "\"8c9d8bb2426badb36f078ae0525d100e\""
143
+ - "\"ee0b957ba90a1da1b57abfbdf2001140\""
143
144
  connection:
144
145
  - close
145
146
  content-type:
146
147
  - application/xml; charset=utf-8
147
148
  x-runtime:
148
- - "33"
149
+ - "14"
149
150
  date:
150
- - Tue, 19 Oct 2010 05:21:49 GMT
151
+ - Tue, 16 Nov 2010 07:03:34 GMT
151
152
  server:
152
153
  - nginx/0.7.65
153
154
  content-length:
154
- - "455"
155
+ - "517"
155
156
  set-cookie:
156
- - _recurly_session=afd2c0dd48434d9dc46b1ab7bf9cb32f; domain=.recurly.com; path=/; Secure; HttpOnly
157
+ - _recurly_session=24010a63b58d5eb1e0a28b126345ef80; domain=.recurly.com; path=/; secure; HttpOnly
157
158
  cache-control:
158
159
  - private, max-age=0, must-revalidate
159
160
  body: |
160
161
  <?xml version="1.0" encoding="UTF-8"?>
161
162
  <charge type="charge">
162
- <id>93ce4d48e40a4b519d3e1304cf34ab75</id>
163
+ <id>1fac7de40f2f48bcb44de2c4c518ee0b</id>
163
164
  <account_code>charge-lookup-1287465632</account_code>
164
165
  <amount_in_cents type="integer">1315</amount_in_cents>
165
- <start_date type="datetime">2010-10-19T05:21:48Z</start_date>
166
+ <start_date type="datetime">2010-11-16T07:03:35Z</start_date>
166
167
  <end_date nil="true" type="datetime"></end_date>
168
+ <invoice_number nil="true" type="integer"></invoice_number>
167
169
  <description>inconvenience fee</description>
168
- <created_at type="datetime">2010-10-19T05:21:48Z</created_at>
170
+ <created_at type="datetime">2010-11-16T07:03:35Z</created_at>
169
171
  </charge>
170
172
 
171
173
  http_version: "1.1"
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "585"
37
+ - "273"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:21:54 GMT
39
+ - Tue, 16 Nov 2010 07:03:40 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "581"
44
44
  set-cookie:
45
- - account_credentials=bb4fcc07692e86f072d4f13620514f380dea5ccf2211058f08e700f4375385ddb55888f971aaa9ff25d7d040c87d187ec9527062b1da6cb3f7de3f90672f05e4%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=7822bed51c38d79a813fdbaf88ac6790d1e1915b5a7a9c389b032c663bb29694117173667b2b22d79121d9b2ab1c5430a21a90c56019f47a6e8566bd534be279%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=75a15610519eeb78113e607c0afe1c45; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=b8faa40ca59780d9a82cd26976b07355; 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>280a19d886cd4772b5d19d3d566c8753</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:21:54Z</created_at>
62
+ <hosted_login_token>813eda4625b145b48e56c363cafd89b0</hosted_login_token>
63
+ <created_at type="datetime">2010-11-16T07:03:40Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -95,34 +95,35 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "194"
98
+ - "110"
99
99
  date:
100
- - Tue, 19 Oct 2010 05:21:55 GMT
100
+ - Tue, 16 Nov 2010 07:03:39 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
- - "450"
104
+ - "512"
105
105
  set-cookie:
106
- - _recurly_session=f2a1ebe1a53260708d881463aa9a1802; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=3991f1be36c22846b8fd73740673d41d; 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
  <credit type="credit">
112
- <id>4f898ac5c20c42d8b5f4ba0071da4c28</id>
112
+ <id>8c0f22c463f642b28aa8ddcd7dc22e91</id>
113
113
  <account_code>credit-create-1287461400</account_code>
114
114
  <amount_in_cents type="integer">-1005</amount_in_cents>
115
- <start_date type="datetime">2010-10-19T05:21:55Z</start_date>
115
+ <start_date type="datetime">2010-11-16T07:03:39Z</start_date>
116
116
  <end_date nil="true" type="datetime"></end_date>
117
+ <invoice_number nil="true" type="integer"></invoice_number>
117
118
  <description>free moniez</description>
118
- <created_at type="datetime">2010-10-19T05:21:55Z</created_at>
119
+ <created_at type="datetime">2010-11-16T07:03:39Z</created_at>
119
120
  </credit>
120
121
 
121
122
  http_version: "1.1"
122
123
  - !ruby/struct:VCR::HTTPInteraction
123
124
  request: !ruby/struct:VCR::Request
124
125
  method: :get
125
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461400/credits/4f898ac5c20c42d8b5f4ba0071da4c28.xml
126
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461400/credits/8c0f22c463f642b28aa8ddcd7dc22e91.xml
126
127
  body:
127
128
  headers:
128
129
  accept:
@@ -139,33 +140,34 @@
139
140
  x-ua-compatible:
140
141
  - IE=Edge
141
142
  etag:
142
- - "\"ad2f9a741d2a75fa38e5ad9d67a862e5\""
143
+ - "\"66ca506e7677221fa12e8e14396c4942\""
143
144
  connection:
144
145
  - close
145
146
  content-type:
146
147
  - application/xml; charset=utf-8
147
148
  x-runtime:
148
- - "23"
149
+ - "14"
149
150
  date:
150
- - Tue, 19 Oct 2010 05:21:55 GMT
151
+ - Tue, 16 Nov 2010 07:03:41 GMT
151
152
  server:
152
153
  - nginx/0.7.65
153
154
  content-length:
154
- - "450"
155
+ - "512"
155
156
  set-cookie:
156
- - _recurly_session=1d51ce9c16027daed213d563993534c2; domain=.recurly.com; path=/; Secure; HttpOnly
157
+ - _recurly_session=0d39a2a4a1b15408fc7dcbc4317fe1d0; domain=.recurly.com; path=/; secure; HttpOnly
157
158
  cache-control:
158
159
  - private, max-age=0, must-revalidate
159
160
  body: |
160
161
  <?xml version="1.0" encoding="UTF-8"?>
161
162
  <credit type="credit">
162
- <id>4f898ac5c20c42d8b5f4ba0071da4c28</id>
163
+ <id>8c0f22c463f642b28aa8ddcd7dc22e91</id>
163
164
  <account_code>credit-create-1287461400</account_code>
164
165
  <amount_in_cents type="integer">-1005</amount_in_cents>
165
- <start_date type="datetime">2010-10-19T05:21:55Z</start_date>
166
+ <start_date type="datetime">2010-11-16T07:03:39Z</start_date>
166
167
  <end_date nil="true" type="datetime"></end_date>
168
+ <invoice_number nil="true" type="integer"></invoice_number>
167
169
  <description>free moniez</description>
168
- <created_at type="datetime">2010-10-19T05:21:55Z</created_at>
170
+ <created_at type="datetime">2010-11-16T07:03:39Z</created_at>
169
171
  </credit>
170
172
 
171
173
  http_version: "1.1"
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "610"
37
+ - "270"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:22:03 GMT
39
+ - Tue, 16 Nov 2010 07:03:46 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "589"
44
44
  set-cookie:
45
- - account_credentials=c73b2cc81ac93c900fd49465db374d735910de01fdea5c92c83cee5b88eac9e64637c98afbd4b746f9b5783ebd8d782abf660105dbf71a92e5d68342444cf547%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=356ce5d7d051e1254227b051ae661d88c4a04728b3569e0e9b33236e504e769a284d7a544d13bd97d98b9a7fd1f3faee3da4a45dbd0bb5d68f3bb5f7d9c96ba2%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=c90f8313d1bff40c97124a9f388cec98; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=6d2f78ee759dc625d0e032164f0c75f8; 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>7d21b0afecf849f6b66aa8c73286e527</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:22:03Z</created_at>
62
+ <hosted_login_token>88e556cdd57d478b9ebb9b1f6bd061bc</hosted_login_token>
63
+ <created_at type="datetime">2010-11-16T07:03:46Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -95,34 +95,35 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "45"
98
+ - "46"
99
99
  date:
100
- - Tue, 19 Oct 2010 05:22:04 GMT
100
+ - Tue, 16 Nov 2010 07:03:48 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
- - "458"
104
+ - "520"
105
105
  set-cookie:
106
- - _recurly_session=269fb6e58b93300b33423cef3cb67cd3; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=7c473287263b0fbe5848d14b9e028891; 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
  <credit type="credit">
112
- <id>cd87f248904047a1979dc69a7b314031</id>
112
+ <id>1a391000d7d94945a8f5051849cac652</id>
113
113
  <account_code>delete-uninvoiced-1287461400</account_code>
114
114
  <amount_in_cents type="integer">-1315</amount_in_cents>
115
- <start_date type="datetime">2010-10-19T05:22:04Z</start_date>
115
+ <start_date type="datetime">2010-11-16T07:03:48Z</start_date>
116
116
  <end_date nil="true" type="datetime"></end_date>
117
+ <invoice_number nil="true" type="integer"></invoice_number>
117
118
  <description>free moniez 4 u</description>
118
- <created_at type="datetime">2010-10-19T05:22:04Z</created_at>
119
+ <created_at type="datetime">2010-11-16T07:03:48Z</created_at>
119
120
  </credit>
120
121
 
121
122
  http_version: "1.1"
122
123
  - !ruby/struct:VCR::HTTPInteraction
123
124
  request: !ruby/struct:VCR::Request
124
125
  method: :get
125
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/cd87f248904047a1979dc69a7b314031.xml
126
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/1a391000d7d94945a8f5051849cac652.xml
126
127
  body:
127
128
  headers:
128
129
  accept:
@@ -139,40 +140,41 @@
139
140
  x-ua-compatible:
140
141
  - IE=Edge
141
142
  etag:
142
- - "\"630dabb192e8a397dd20453e12d72521\""
143
+ - "\"e9efa3db1852205daedc66f4b6497d3a\""
143
144
  connection:
144
145
  - close
145
146
  content-type:
146
147
  - application/xml; charset=utf-8
147
148
  x-runtime:
148
- - "26"
149
+ - "14"
149
150
  date:
150
- - Tue, 19 Oct 2010 05:22:05 GMT
151
+ - Tue, 16 Nov 2010 07:03:47 GMT
151
152
  server:
152
153
  - nginx/0.7.65
153
154
  content-length:
154
- - "458"
155
+ - "520"
155
156
  set-cookie:
156
- - _recurly_session=dae4d55f94b9d7d36ac5dddd94d6cf86; domain=.recurly.com; path=/; Secure; HttpOnly
157
+ - _recurly_session=45c884b821a63c6cda04597ef5ed3ecc; domain=.recurly.com; path=/; secure; HttpOnly
157
158
  cache-control:
158
159
  - private, max-age=0, must-revalidate
159
160
  body: |
160
161
  <?xml version="1.0" encoding="UTF-8"?>
161
162
  <credit type="credit">
162
- <id>cd87f248904047a1979dc69a7b314031</id>
163
+ <id>1a391000d7d94945a8f5051849cac652</id>
163
164
  <account_code>delete-uninvoiced-1287461400</account_code>
164
165
  <amount_in_cents type="integer">-1315</amount_in_cents>
165
- <start_date type="datetime">2010-10-19T05:22:04Z</start_date>
166
+ <start_date type="datetime">2010-11-16T07:03:48Z</start_date>
166
167
  <end_date nil="true" type="datetime"></end_date>
168
+ <invoice_number nil="true" type="integer"></invoice_number>
167
169
  <description>free moniez 4 u</description>
168
- <created_at type="datetime">2010-10-19T05:22:04Z</created_at>
170
+ <created_at type="datetime">2010-11-16T07:03:48Z</created_at>
169
171
  </credit>
170
172
 
171
173
  http_version: "1.1"
172
174
  - !ruby/struct:VCR::HTTPInteraction
173
175
  request: !ruby/struct:VCR::Request
174
176
  method: :delete
175
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/cd87f248904047a1979dc69a7b314031.xml
177
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/1a391000d7d94945a8f5051849cac652.xml
176
178
  body:
177
179
  headers:
178
180
  accept:
@@ -193,15 +195,15 @@
193
195
  content-type:
194
196
  - application/xml; charset=utf-8
195
197
  x-runtime:
196
- - "63"
198
+ - "42"
197
199
  date:
198
- - Tue, 19 Oct 2010 05:22:05 GMT
200
+ - Tue, 16 Nov 2010 07:03:49 GMT
199
201
  server:
200
202
  - nginx/0.7.65
201
203
  content-length:
202
204
  - "1"
203
205
  set-cookie:
204
- - _recurly_session=b52ad5c86f55e6af837eab38c6986298; domain=.recurly.com; path=/; Secure; HttpOnly
206
+ - _recurly_session=b1eb38a74c13a4e2046816d994582b3c; domain=.recurly.com; path=/; secure; HttpOnly
205
207
  cache-control:
206
208
  - no-cache
207
209
  body: " "
@@ -209,7 +211,7 @@
209
211
  - !ruby/struct:VCR::HTTPInteraction
210
212
  request: !ruby/struct:VCR::Request
211
213
  method: :get
212
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/cd87f248904047a1979dc69a7b314031.xml
214
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/1a391000d7d94945a8f5051849cac652.xml
213
215
  body:
214
216
  headers:
215
217
  accept:
@@ -228,13 +230,13 @@
228
230
  content-type:
229
231
  - application/xml; charset=utf-8
230
232
  date:
231
- - Tue, 19 Oct 2010 05:22:06 GMT
233
+ - Tue, 16 Nov 2010 07:03:48 GMT
232
234
  server:
233
235
  - nginx/0.7.65
234
236
  content-length:
235
237
  - "92"
236
238
  set-cookie:
237
- - _recurly_session=ca895d35f5a4a7e50ed9067102dd702b; domain=.recurly.com; path=/; Secure; HttpOnly
239
+ - _recurly_session=1eecfec84c08fe601a795af838791542; domain=.recurly.com; path=/; secure; HttpOnly
238
240
  cache-control:
239
241
  - no-cache
240
242
  body: |