recurly 0.2.4 → 0.2.5

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

Potentially problematic release.


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

Files changed (62) hide show
  1. data/lib/recurly/charge.rb +5 -6
  2. data/lib/recurly/version.rb +1 -1
  3. data/spec/integration/charge_spec.rb +1 -0
  4. data/spec/vcr/account/close/1287167046.yml +15 -15
  5. data/spec/vcr/account/create-blank/1287167046.yml +3 -3
  6. data/spec/vcr/account/create-duplicate/1287167046.yml +9 -9
  7. data/spec/vcr/account/create-min/1287167046.yml +6 -6
  8. data/spec/vcr/account/create/1287167046.yml +6 -6
  9. data/spec/vcr/account/find/1287167046.yml +14 -14
  10. data/spec/vcr/account/list/1287167046.yml +100 -100
  11. data/spec/vcr/account/update/1287167046.yml +26 -26
  12. data/spec/vcr/billing/create/1286682213.yml +16 -16
  13. data/spec/vcr/billing/destroy/1286682213.yml +24 -24
  14. data/spec/vcr/billing/find/1286682213.yml +20 -20
  15. data/spec/vcr/billing/update/1286682213.yml +21 -21
  16. data/spec/vcr/charge/create/{1286681273.yml → 1287465632.yml} +35 -35
  17. data/spec/vcr/charge/delete-uninvoiced/{1287460783.yml → 1287465632.yml} +102 -56
  18. data/spec/vcr/charge/list-all/{1286681273.yml → 1287465632.yml} +51 -51
  19. data/spec/vcr/charge/list-invoiced/{1286681273.yml → 1287465632.yml} +80 -80
  20. data/spec/vcr/charge/list-pending/{1286681273.yml → 1287465632.yml} +51 -51
  21. data/spec/vcr/charge/lookup/{1286681273.yml → 1287465632.yml} +27 -27
  22. data/spec/vcr/credit/create/{1287461340.yml → 1287461400.yml} +25 -25
  23. data/spec/vcr/credit/{delete-uninvoiced/1287460732.yml → delete/1287461400.yml} +34 -34
  24. data/spec/vcr/credit/list/{1287460732.yml → 1287461400.yml} +50 -50
  25. data/spec/vcr/credit/lookup/{1287461340.yml → 1287461400.yml} +26 -26
  26. data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
  27. data/spec/vcr/invoice/create/1287167121.yml +36 -36
  28. data/spec/vcr/invoice/list/1287167121.yml +51 -51
  29. data/spec/vcr/invoice/lookup/1287167121.yml +37 -37
  30. data/spec/vcr/plan/all.yml +9 -9
  31. data/spec/vcr/plan/delete/1286677585.yml +16 -16
  32. data/spec/vcr/plan/find.yml +9 -9
  33. data/spec/vcr/plan/update.yml +9 -9
  34. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +51 -51
  35. data/spec/vcr/subscription/cancel/1287455769.yml +42 -42
  36. data/spec/vcr/subscription/change1/1287455769.yml +38 -38
  37. data/spec/vcr/subscription/change2/1287455769.yml +38 -38
  38. data/spec/vcr/subscription/create/1287455769.yml +17 -17
  39. data/spec/vcr/subscription/find/1287455769.yml +24 -24
  40. data/spec/vcr/subscription/reactivate/1287455769.yml +44 -44
  41. data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
  42. data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
  43. data/spec/vcr/subscription/refund-partial/1287455769.yml +36 -36
  44. data/spec/vcr/transaction/all/1287186411.yml +45 -45
  45. data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
  46. data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
  47. data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
  48. data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
  49. data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
  50. data/spec/vcr/transaction/refund/1287186411.yml +24 -24
  51. data/spec/vcr/transaction/void/1287186411.yml +61 -61
  52. metadata +23 -43
  53. data/spec/vcr/credit/create/1286681343.yml +0 -171
  54. data/spec/vcr/credit/create/1287460732.yml +0 -171
  55. data/spec/vcr/credit/delete-invoiced/1287460732.yml +0 -233
  56. data/spec/vcr/credit/delete-invoiced/1287461340.yml +0 -283
  57. data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +0 -246
  58. data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +0 -221
  59. data/spec/vcr/credit/list/1286681343.yml +0 -299
  60. data/spec/vcr/credit/list/1287461340.yml +0 -299
  61. data/spec/vcr/credit/lookup/1286681343.yml +0 -171
  62. data/spec/vcr/credit/lookup/1287460732.yml +0 -171
@@ -7,7 +7,7 @@
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
- <account-code>charge-list-pending-1286681273</account-code>
10
+ <account-code>charge-list-pending-1287465632</account-code>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
13
13
  <first-name>Verena</first-name>
@@ -28,30 +28,30 @@
28
28
  message: Created
29
29
  headers:
30
30
  location:
31
- - https://recurlytest3-test.recurly.com/accounts/charge-list-pending-1286681273
31
+ - https://recurlytest3-test.recurly.com/accounts/charge-list-pending-1287465632
32
32
  connection:
33
33
  - close
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "613"
37
+ - "593"
38
38
  date:
39
- - Tue, 19 Oct 2010 03:19:20 GMT
39
+ - Tue, 19 Oct 2010 05:21:36 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "593"
44
44
  set-cookie:
45
- - account_credentials=7701ec3932b711b75a7c72acecff595616682e2bcb36abb9080631322f9d3127f21dd3288b84bc00fe00259a40a5ae5ac87b7a686adb7fcb053d1d28484f24a9%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=a3ae0ad4daae2a5b788470b1ed5e42a1cf11ceb870f2ab9ab042c8050e7a2078b238212b8454655c62258a814ca20f306f439f1026ab9f564dfb7ad557ab1cec%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=c94f12e41c8aa464e6e7fcecfae2021f; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=ab59794e22109d603ffb100efadc0e52; domain=.recurly.com; path=/; Secure; HttpOnly
48
48
  cache-control:
49
49
  - no-cache
50
50
  body: |
51
51
  <?xml version="1.0" encoding="UTF-8"?>
52
52
  <account>
53
- <id>charge-list-pending-1286681273</id>
54
- <account_code>charge-list-pending-1286681273</account_code>
53
+ <id>charge-list-pending-1287465632</id>
54
+ <account_code>charge-list-pending-1287465632</account_code>
55
55
  <username></username>
56
56
  <email>verena@test.com</email>
57
57
  <first_name>Verena</first_name>
@@ -59,8 +59,8 @@
59
59
  <company_name>Recurly Ruby Gem</company_name>
60
60
  <balance_in_cents type="integer">0</balance_in_cents>
61
61
  <closed type="boolean">false</closed>
62
- <hosted_login_token>147fa81a0fc740c982e091bfde09d119</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T03:19:20Z</created_at>
62
+ <hosted_login_token>41dbeb1485494abc9068588405005e76</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T05:21:36Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -68,7 +68,7 @@
68
68
  - !ruby/struct:VCR::HTTPInteraction
69
69
  request: !ruby/struct:VCR::Request
70
70
  method: :post
71
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1286681273/charges.xml
71
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1287465632/charges.xml
72
72
  body: |
73
73
  <?xml version="1.0" encoding="UTF-8"?>
74
74
  <charge>
@@ -95,34 +95,34 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "47"
98
+ - "68"
99
99
  date:
100
- - Tue, 19 Oct 2010 03:19:21 GMT
100
+ - Tue, 19 Oct 2010 05:21:36 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
104
  - "462"
105
105
  set-cookie:
106
- - _recurly_session=a53f97cb823ebf48b81b61f4c23f6316; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=e469fefd847742feeefc72818463e886; 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>f9bb57d67360420ea81e046a794f1c86</id>
113
- <account_code>charge-list-pending-1286681273</account_code>
112
+ <id>40afa37c5a664d22946318bd6c9e4a4b</id>
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-19T03:19:21Z</start_date>
115
+ <start_date type="datetime">2010-10-19T05:21:36Z</start_date>
116
116
  <end_date nil="true" type="datetime"></end_date>
117
117
  <description>charge description</description>
118
- <created_at type="datetime">2010-10-19T03:19:21Z</created_at>
118
+ <created_at type="datetime">2010-10-19T05:21:36Z</created_at>
119
119
  </charge>
120
120
 
121
121
  http_version: "1.1"
122
122
  - !ruby/struct:VCR::HTTPInteraction
123
123
  request: !ruby/struct:VCR::Request
124
124
  method: :post
125
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1286681273/charges.xml
125
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1287465632/charges.xml
126
126
  body: |
127
127
  <?xml version="1.0" encoding="UTF-8"?>
128
128
  <charge>
@@ -149,34 +149,34 @@
149
149
  content-type:
150
150
  - application/xml; charset=utf-8
151
151
  x-runtime:
152
- - "46"
152
+ - "62"
153
153
  date:
154
- - Tue, 19 Oct 2010 03:19:22 GMT
154
+ - Tue, 19 Oct 2010 05:21:37 GMT
155
155
  server:
156
156
  - nginx/0.7.65
157
157
  content-length:
158
158
  - "462"
159
159
  set-cookie:
160
- - _recurly_session=f9cbbbad837c8983a8e78bbc6687356c; domain=.recurly.com; path=/; Secure; HttpOnly
160
+ - _recurly_session=8110f8e17d7249a8c3837190bef13c62; domain=.recurly.com; path=/; Secure; HttpOnly
161
161
  cache-control:
162
162
  - no-cache
163
163
  body: |
164
164
  <?xml version="1.0" encoding="UTF-8"?>
165
165
  <charge type="charge">
166
- <id>ab8d9321e3004988a7ffd41cdc2147de</id>
167
- <account_code>charge-list-pending-1286681273</account_code>
166
+ <id>8c107d4730ab40ee825eb6b498d3163f</id>
167
+ <account_code>charge-list-pending-1287465632</account_code>
168
168
  <amount_in_cents type="integer">1000</amount_in_cents>
169
- <start_date type="datetime">2010-10-19T03:19:22Z</start_date>
169
+ <start_date type="datetime">2010-10-19T05:21:37Z</start_date>
170
170
  <end_date nil="true" type="datetime"></end_date>
171
171
  <description>charge description</description>
172
- <created_at type="datetime">2010-10-19T03:19:22Z</created_at>
172
+ <created_at type="datetime">2010-10-19T05:21:37Z</created_at>
173
173
  </charge>
174
174
 
175
175
  http_version: "1.1"
176
176
  - !ruby/struct:VCR::HTTPInteraction
177
177
  request: !ruby/struct:VCR::Request
178
178
  method: :post
179
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1286681273/charges.xml
179
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1287465632/charges.xml
180
180
  body: |
181
181
  <?xml version="1.0" encoding="UTF-8"?>
182
182
  <charge>
@@ -203,34 +203,34 @@
203
203
  content-type:
204
204
  - application/xml; charset=utf-8
205
205
  x-runtime:
206
- - "208"
206
+ - "64"
207
207
  date:
208
- - Tue, 19 Oct 2010 03:19:22 GMT
208
+ - Tue, 19 Oct 2010 05:21:38 GMT
209
209
  server:
210
210
  - nginx/0.7.65
211
211
  content-length:
212
212
  - "462"
213
213
  set-cookie:
214
- - _recurly_session=e4eceb0e7ec39a2fb1700c0cdff758eb; domain=.recurly.com; path=/; Secure; HttpOnly
214
+ - _recurly_session=64256b7f6db0b15f7db9df3f33704652; domain=.recurly.com; path=/; Secure; HttpOnly
215
215
  cache-control:
216
216
  - no-cache
217
217
  body: |
218
218
  <?xml version="1.0" encoding="UTF-8"?>
219
219
  <charge type="charge">
220
- <id>083c82fd0ca44cfe8da4df68afc90d5f</id>
221
- <account_code>charge-list-pending-1286681273</account_code>
220
+ <id>b292c24b75bf455fbad14ac0d0c7ed21</id>
221
+ <account_code>charge-list-pending-1287465632</account_code>
222
222
  <amount_in_cents type="integer">1000</amount_in_cents>
223
- <start_date type="datetime">2010-10-19T03:19:22Z</start_date>
223
+ <start_date type="datetime">2010-10-19T05:21:38Z</start_date>
224
224
  <end_date nil="true" type="datetime"></end_date>
225
225
  <description>charge description</description>
226
- <created_at type="datetime">2010-10-19T03:19:22Z</created_at>
226
+ <created_at type="datetime">2010-10-19T05:21:38Z</created_at>
227
227
  </charge>
228
228
 
229
229
  http_version: "1.1"
230
230
  - !ruby/struct:VCR::HTTPInteraction
231
231
  request: !ruby/struct:VCR::Request
232
232
  method: :get
233
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1286681273/charges.xml?show=pending
233
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1287465632/charges.xml?show=pending
234
234
  body:
235
235
  headers:
236
236
  accept:
@@ -247,55 +247,55 @@
247
247
  x-ua-compatible:
248
248
  - IE=Edge
249
249
  etag:
250
- - "\"d47b576ad375d2558ab01458b89233f9\""
250
+ - "\"fc7871a1e9ccdd603434a1b39dc07c70\""
251
251
  connection:
252
252
  - close
253
253
  content-type:
254
254
  - application/xml; charset=utf-8
255
255
  x-runtime:
256
- - "20"
256
+ - "27"
257
257
  date:
258
- - Tue, 19 Oct 2010 03:19:23 GMT
258
+ - Tue, 19 Oct 2010 05:21:38 GMT
259
259
  server:
260
260
  - nginx/0.7.65
261
261
  content-length:
262
262
  - "1588"
263
263
  set-cookie:
264
- - _recurly_session=0ef1f3cdccce8d5de595927efc8e3d48; domain=.recurly.com; path=/; Secure; HttpOnly
264
+ - _recurly_session=33bbd34c605d101e732ff367eb88ba25; domain=.recurly.com; path=/; Secure; HttpOnly
265
265
  cache-control:
266
266
  - private, max-age=0, must-revalidate
267
267
  body: |
268
268
  <?xml version="1.0" encoding="UTF-8"?>
269
269
  <charges type="array">
270
270
  <charge type="charge">
271
- <id>083c82fd0ca44cfe8da4df68afc90d5f</id>
272
- <account_code>charge-list-pending-1286681273</account_code>
271
+ <id>b292c24b75bf455fbad14ac0d0c7ed21</id>
272
+ <account_code>charge-list-pending-1287465632</account_code>
273
273
  <amount_in_cents type="integer">1000</amount_in_cents>
274
- <start_date type="datetime">2010-10-19T03:19:22Z</start_date>
274
+ <start_date type="datetime">2010-10-19T05:21:38Z</start_date>
275
275
  <end_date nil="true" type="datetime"></end_date>
276
276
  <invoice_number nil="true" type="integer"></invoice_number>
277
277
  <description>charge description</description>
278
- <created_at type="datetime">2010-10-19T03:19:22Z</created_at>
278
+ <created_at type="datetime">2010-10-19T05:21:38Z</created_at>
279
279
  </charge>
280
280
  <charge type="charge">
281
- <id>ab8d9321e3004988a7ffd41cdc2147de</id>
282
- <account_code>charge-list-pending-1286681273</account_code>
281
+ <id>8c107d4730ab40ee825eb6b498d3163f</id>
282
+ <account_code>charge-list-pending-1287465632</account_code>
283
283
  <amount_in_cents type="integer">1000</amount_in_cents>
284
- <start_date type="datetime">2010-10-19T03:19:22Z</start_date>
284
+ <start_date type="datetime">2010-10-19T05:21:37Z</start_date>
285
285
  <end_date nil="true" type="datetime"></end_date>
286
286
  <invoice_number nil="true" type="integer"></invoice_number>
287
287
  <description>charge description</description>
288
- <created_at type="datetime">2010-10-19T03:19:22Z</created_at>
288
+ <created_at type="datetime">2010-10-19T05:21:37Z</created_at>
289
289
  </charge>
290
290
  <charge type="charge">
291
- <id>f9bb57d67360420ea81e046a794f1c86</id>
292
- <account_code>charge-list-pending-1286681273</account_code>
291
+ <id>40afa37c5a664d22946318bd6c9e4a4b</id>
292
+ <account_code>charge-list-pending-1287465632</account_code>
293
293
  <amount_in_cents type="integer">1000</amount_in_cents>
294
- <start_date type="datetime">2010-10-19T03:19:21Z</start_date>
294
+ <start_date type="datetime">2010-10-19T05:21:36Z</start_date>
295
295
  <end_date nil="true" type="datetime"></end_date>
296
296
  <invoice_number nil="true" type="integer"></invoice_number>
297
297
  <description>charge description</description>
298
- <created_at type="datetime">2010-10-19T03:19:21Z</created_at>
298
+ <created_at type="datetime">2010-10-19T05:21:36Z</created_at>
299
299
  </charge>
300
300
  </charges>
301
301
 
@@ -7,7 +7,7 @@
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
- <account-code>charge-lookup-1286681273</account-code>
10
+ <account-code>charge-lookup-1287465632</account-code>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
13
13
  <first-name>Verena</first-name>
@@ -28,30 +28,30 @@
28
28
  message: Created
29
29
  headers:
30
30
  location:
31
- - https://recurlytest3-test.recurly.com/accounts/charge-lookup-1286681273
31
+ - https://recurlytest3-test.recurly.com/accounts/charge-lookup-1287465632
32
32
  connection:
33
33
  - close
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "587"
37
+ - "609"
38
38
  date:
39
- - Tue, 19 Oct 2010 03:19:34 GMT
39
+ - Tue, 19 Oct 2010 05:21:48 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "581"
44
44
  set-cookie:
45
- - account_credentials=3ca93bbb81abb0401d2a7ca47a73e935f38b0c6935a54b91494392c0c97964c89aba0c06c0312afffc24a5226115b6ef07da49c551699742a0bba30465196e64%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=313fdd49b5c54402eea76bd2ebdc12c7679b98a740195432622b225fd23b8f29d2b8ea031239ff32f6d97a9faa1d116ad688d39469a1b6e1228c8bb9de887bde%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=ead0babb340133bd65c2b0c84122097e; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=a077bd36bc65222191691bfb33143848; domain=.recurly.com; path=/; Secure; HttpOnly
48
48
  cache-control:
49
49
  - no-cache
50
50
  body: |
51
51
  <?xml version="1.0" encoding="UTF-8"?>
52
52
  <account>
53
- <id>charge-lookup-1286681273</id>
54
- <account_code>charge-lookup-1286681273</account_code>
53
+ <id>charge-lookup-1287465632</id>
54
+ <account_code>charge-lookup-1287465632</account_code>
55
55
  <username></username>
56
56
  <email>verena@test.com</email>
57
57
  <first_name>Verena</first_name>
@@ -59,8 +59,8 @@
59
59
  <company_name>Recurly Ruby Gem</company_name>
60
60
  <balance_in_cents type="integer">0</balance_in_cents>
61
61
  <closed type="boolean">false</closed>
62
- <hosted_login_token>d92c8fe26d7a4d999e4a7f5468f8f144</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T03:19:34Z</created_at>
62
+ <hosted_login_token>36ac4adc906a42bd8420841845d53c15</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T05:21:48Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -68,7 +68,7 @@
68
68
  - !ruby/struct:VCR::HTTPInteraction
69
69
  request: !ruby/struct:VCR::Request
70
70
  method: :post
71
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1286681273/charges.xml
71
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1287465632/charges.xml
72
72
  body: |
73
73
  <?xml version="1.0" encoding="UTF-8"?>
74
74
  <charge>
@@ -95,34 +95,34 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "47"
98
+ - "45"
99
99
  date:
100
- - Tue, 19 Oct 2010 03:19:35 GMT
100
+ - Tue, 19 Oct 2010 05:21:48 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
104
  - "455"
105
105
  set-cookie:
106
- - _recurly_session=c686bcdba4d276d47537615aeb54068a; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=ba3baa9e508172dd29b42e6be8a81566; 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>4aaad5ec5a084f698d1f517745b204dc</id>
113
- <account_code>charge-lookup-1286681273</account_code>
112
+ <id>93ce4d48e40a4b519d3e1304cf34ab75</id>
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-19T03:19:35Z</start_date>
115
+ <start_date type="datetime">2010-10-19T05:21:48Z</start_date>
116
116
  <end_date nil="true" type="datetime"></end_date>
117
117
  <description>inconvenience fee</description>
118
- <created_at type="datetime">2010-10-19T03:19:35Z</created_at>
118
+ <created_at type="datetime">2010-10-19T05:21:48Z</created_at>
119
119
  </charge>
120
120
 
121
121
  http_version: "1.1"
122
122
  - !ruby/struct:VCR::HTTPInteraction
123
123
  request: !ruby/struct:VCR::Request
124
124
  method: :get
125
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1286681273/charges/4aaad5ec5a084f698d1f517745b204dc.xml
125
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1287465632/charges/93ce4d48e40a4b519d3e1304cf34ab75.xml
126
126
  body:
127
127
  headers:
128
128
  accept:
@@ -139,33 +139,33 @@
139
139
  x-ua-compatible:
140
140
  - IE=Edge
141
141
  etag:
142
- - "\"ee1de725583552db253de7137a8839ec\""
142
+ - "\"8c9d8bb2426badb36f078ae0525d100e\""
143
143
  connection:
144
144
  - close
145
145
  content-type:
146
146
  - application/xml; charset=utf-8
147
147
  x-runtime:
148
- - "24"
148
+ - "33"
149
149
  date:
150
- - Tue, 19 Oct 2010 03:19:35 GMT
150
+ - Tue, 19 Oct 2010 05:21:49 GMT
151
151
  server:
152
152
  - nginx/0.7.65
153
153
  content-length:
154
154
  - "455"
155
155
  set-cookie:
156
- - _recurly_session=765b6a733d37020f455fa95875ef85ff; domain=.recurly.com; path=/; Secure; HttpOnly
156
+ - _recurly_session=afd2c0dd48434d9dc46b1ab7bf9cb32f; domain=.recurly.com; path=/; Secure; HttpOnly
157
157
  cache-control:
158
158
  - private, max-age=0, must-revalidate
159
159
  body: |
160
160
  <?xml version="1.0" encoding="UTF-8"?>
161
161
  <charge type="charge">
162
- <id>4aaad5ec5a084f698d1f517745b204dc</id>
163
- <account_code>charge-lookup-1286681273</account_code>
162
+ <id>93ce4d48e40a4b519d3e1304cf34ab75</id>
163
+ <account_code>charge-lookup-1287465632</account_code>
164
164
  <amount_in_cents type="integer">1315</amount_in_cents>
165
- <start_date type="datetime">2010-10-19T03:19:35Z</start_date>
165
+ <start_date type="datetime">2010-10-19T05:21:48Z</start_date>
166
166
  <end_date nil="true" type="datetime"></end_date>
167
167
  <description>inconvenience fee</description>
168
- <created_at type="datetime">2010-10-19T03:19:35Z</created_at>
168
+ <created_at type="datetime">2010-10-19T05:21:48Z</created_at>
169
169
  </charge>
170
170
 
171
171
  http_version: "1.1"
@@ -6,8 +6,8 @@
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
- <account-code>credit-create-1287461340</account-code>
10
9
  <company-name>Recurly Ruby Gem</company-name>
10
+ <account-code>credit-create-1287461400</account-code>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
13
13
  <first-name>Verena</first-name>
@@ -28,7 +28,7 @@
28
28
  message: Created
29
29
  headers:
30
30
  location:
31
- - https://recurlytest3-test.recurly.com/accounts/credit-create-1287461340
31
+ - https://recurlytest3-test.recurly.com/accounts/credit-create-1287461400
32
32
  connection:
33
33
  - close
34
34
  content-type:
@@ -36,22 +36,22 @@
36
36
  x-runtime:
37
37
  - "585"
38
38
  date:
39
- - Tue, 19 Oct 2010 04:09:07 GMT
39
+ - Tue, 19 Oct 2010 05:21:54 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "581"
44
44
  set-cookie:
45
- - account_credentials=5b4960aa47b148b32b2de275ef532b19e89ad7f87c6a9fbd9e2cbdc7c876577c1b9ab62f0eb4c6e585f0e93dcfd9d9107a7dc592ee23adc91ea1eb61f3ef57c9%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=bb4fcc07692e86f072d4f13620514f380dea5ccf2211058f08e700f4375385ddb55888f971aaa9ff25d7d040c87d187ec9527062b1da6cb3f7de3f90672f05e4%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=a571658dd15e51ff338fb953ac64c870; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=75a15610519eeb78113e607c0afe1c45; domain=.recurly.com; path=/; Secure; HttpOnly
48
48
  cache-control:
49
49
  - no-cache
50
50
  body: |
51
51
  <?xml version="1.0" encoding="UTF-8"?>
52
52
  <account>
53
- <id>credit-create-1287461340</id>
54
- <account_code>credit-create-1287461340</account_code>
53
+ <id>credit-create-1287461400</id>
54
+ <account_code>credit-create-1287461400</account_code>
55
55
  <username></username>
56
56
  <email>verena@test.com</email>
57
57
  <first_name>Verena</first_name>
@@ -59,8 +59,8 @@
59
59
  <company_name>Recurly Ruby Gem</company_name>
60
60
  <balance_in_cents type="integer">0</balance_in_cents>
61
61
  <closed type="boolean">false</closed>
62
- <hosted_login_token>f9eed9d5699849bcacc66be717827282</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T04:09:07Z</created_at>
62
+ <hosted_login_token>280a19d886cd4772b5d19d3d566c8753</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T05:21:54Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -68,7 +68,7 @@
68
68
  - !ruby/struct:VCR::HTTPInteraction
69
69
  request: !ruby/struct:VCR::Request
70
70
  method: :post
71
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461340/credits.xml
71
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461400/credits.xml
72
72
  body: |
73
73
  <?xml version="1.0" encoding="UTF-8"?>
74
74
  <credit>
@@ -95,34 +95,34 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "48"
98
+ - "194"
99
99
  date:
100
- - Tue, 19 Oct 2010 04:09:08 GMT
100
+ - Tue, 19 Oct 2010 05:21:55 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
104
  - "450"
105
105
  set-cookie:
106
- - _recurly_session=b953798a96a75a946ae9478101c4e1d3; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=f2a1ebe1a53260708d881463aa9a1802; 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>3a59776e53e14aa3a1b9d99746e9e617</id>
113
- <account_code>credit-create-1287461340</account_code>
112
+ <id>4f898ac5c20c42d8b5f4ba0071da4c28</id>
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-19T04:09:07Z</start_date>
115
+ <start_date type="datetime">2010-10-19T05:21:55Z</start_date>
116
116
  <end_date nil="true" type="datetime"></end_date>
117
117
  <description>free moniez</description>
118
- <created_at type="datetime">2010-10-19T04:09:08Z</created_at>
118
+ <created_at type="datetime">2010-10-19T05:21:55Z</created_at>
119
119
  </credit>
120
120
 
121
121
  http_version: "1.1"
122
122
  - !ruby/struct:VCR::HTTPInteraction
123
123
  request: !ruby/struct:VCR::Request
124
124
  method: :get
125
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461340/credits/3a59776e53e14aa3a1b9d99746e9e617.xml
125
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461400/credits/4f898ac5c20c42d8b5f4ba0071da4c28.xml
126
126
  body:
127
127
  headers:
128
128
  accept:
@@ -139,7 +139,7 @@
139
139
  x-ua-compatible:
140
140
  - IE=Edge
141
141
  etag:
142
- - "\"37f5241ad8242a53d3ec42a259b96888\""
142
+ - "\"ad2f9a741d2a75fa38e5ad9d67a862e5\""
143
143
  connection:
144
144
  - close
145
145
  content-type:
@@ -147,25 +147,25 @@
147
147
  x-runtime:
148
148
  - "23"
149
149
  date:
150
- - Tue, 19 Oct 2010 04:09:08 GMT
150
+ - Tue, 19 Oct 2010 05:21:55 GMT
151
151
  server:
152
152
  - nginx/0.7.65
153
153
  content-length:
154
154
  - "450"
155
155
  set-cookie:
156
- - _recurly_session=a5a17aefff8fd8782864cc9c8b48496d; domain=.recurly.com; path=/; Secure; HttpOnly
156
+ - _recurly_session=1d51ce9c16027daed213d563993534c2; domain=.recurly.com; path=/; Secure; HttpOnly
157
157
  cache-control:
158
158
  - private, max-age=0, must-revalidate
159
159
  body: |
160
160
  <?xml version="1.0" encoding="UTF-8"?>
161
161
  <credit type="credit">
162
- <id>3a59776e53e14aa3a1b9d99746e9e617</id>
163
- <account_code>credit-create-1287461340</account_code>
162
+ <id>4f898ac5c20c42d8b5f4ba0071da4c28</id>
163
+ <account_code>credit-create-1287461400</account_code>
164
164
  <amount_in_cents type="integer">-1005</amount_in_cents>
165
- <start_date type="datetime">2010-10-19T04:09:07Z</start_date>
165
+ <start_date type="datetime">2010-10-19T05:21:55Z</start_date>
166
166
  <end_date nil="true" type="datetime"></end_date>
167
167
  <description>free moniez</description>
168
- <created_at type="datetime">2010-10-19T04:09:08Z</created_at>
168
+ <created_at type="datetime">2010-10-19T05:21:55Z</created_at>
169
169
  </credit>
170
170
 
171
171
  http_version: "1.1"