recurly 0.4.3 → 0.4.4

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

Potentially problematic release.


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

Files changed (64) hide show
  1. data/lib/recurly/base.rb +9 -4
  2. data/lib/recurly/coupon.rb +1 -1
  3. data/lib/recurly/formats/xml_with_errors.rb +2 -2
  4. data/lib/recurly/rails3/recurly.rake +2 -2
  5. data/lib/recurly/version.rb +1 -1
  6. data/spec/integration/account_spec.rb +3 -3
  7. data/spec/vcr/account/accept-language-account/{1297746103.yml → 1301979678.yml} +8 -8
  8. data/spec/vcr/account/close/{1297746103.yml → 1301979678.yml} +19 -19
  9. data/spec/vcr/account/create-blank/{1297746103.yml → 1301979678.yml} +2 -2
  10. data/spec/vcr/account/create-duplicate/{1297746103.yml → 1301979678.yml} +6 -6
  11. data/spec/vcr/account/create-min/{1297746103.yml → 1301979678.yml} +8 -8
  12. data/spec/vcr/account/create/{1297746103.yml → 1301979678.yml} +8 -8
  13. data/spec/vcr/account/find/{1297746103.yml → 1301979678.yml} +17 -17
  14. data/spec/vcr/account/list/{1297746103.yml → 1301979678.yml} +151 -151
  15. data/spec/vcr/account/update/{1297746103.yml → 1301979678.yml} +36 -36
  16. data/spec/vcr/billing/create/1298594128.yml +12 -12
  17. data/spec/vcr/billing/destroy/1298594128.yml +15 -15
  18. data/spec/vcr/billing/find/1298594128.yml +16 -16
  19. data/spec/vcr/billing/update/1298594128.yml +16 -16
  20. data/spec/vcr/charge/create/1297746103.yml +20 -20
  21. data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +23 -23
  22. data/spec/vcr/charge/list-all/1297746103.yml +31 -31
  23. data/spec/vcr/charge/list-invoiced/1297746103.yml +54 -54
  24. data/spec/vcr/charge/list-pending/1297746103.yml +31 -31
  25. data/spec/vcr/charge/lookup/1297746103.yml +16 -16
  26. data/spec/vcr/coupon/create/1299714521.yml +11 -11
  27. data/spec/vcr/coupon/destroy/1299714521.yml +10 -10
  28. data/spec/vcr/credit/create/1299714599.yml +16 -16
  29. data/spec/vcr/credit/delete/1299714599.yml +21 -21
  30. data/spec/vcr/credit/list/1299714599.yml +31 -31
  31. data/spec/vcr/credit/lookup/1299714599.yml +16 -16
  32. data/spec/vcr/invoice/create-no-charges/1297746103.yml +10 -10
  33. data/spec/vcr/invoice/create/1297746103.yml +30 -30
  34. data/spec/vcr/invoice/list/1297746103.yml +45 -45
  35. data/spec/vcr/invoice/lookup/1297746103.yml +31 -31
  36. data/spec/vcr/plan/all.yml +6 -6
  37. data/spec/vcr/plan/find.yml +6 -6
  38. data/spec/vcr/plan/update.yml +6 -6
  39. data/spec/vcr/subscription/addons/add/{1297746103.yml → 1301885121.yml} +49 -49
  40. data/spec/vcr/subscription/addons/create/{1301884213.yml → 1301885121.yml} +31 -31
  41. data/spec/vcr/subscription/addons/remove/{1297746103.yml → 1301885121.yml} +49 -49
  42. data/spec/vcr/subscription/cancel-with-code/1301881900.yml +43 -43
  43. data/spec/vcr/subscription/cancel/1301881900.yml +35 -35
  44. data/spec/vcr/subscription/change1/1301881900.yml +31 -31
  45. data/spec/vcr/subscription/change2/1301881900.yml +31 -31
  46. data/spec/vcr/subscription/create/1301881900.yml +13 -13
  47. data/spec/vcr/subscription/find/1301881900.yml +19 -19
  48. data/spec/vcr/subscription/reactivate/1301881900.yml +36 -36
  49. data/spec/vcr/subscription/refund-full/1301881900.yml +27 -27
  50. data/spec/vcr/subscription/refund-none/1301881900.yml +28 -28
  51. data/spec/vcr/subscription/refund-partial/1301881900.yml +28 -28
  52. data/spec/vcr/transaction/all/1301883347.yml +43 -43
  53. data/spec/vcr/transaction/create-no-account/1301883347.yml +5 -5
  54. data/spec/vcr/transaction/create-with-account/1301883347.yml +13 -13
  55. data/spec/vcr/transaction/list-filled/1301883347.yml +45 -45
  56. data/spec/vcr/transaction/list-initial/1301883347.yml +13 -13
  57. data/spec/vcr/transaction/lookup/1301883347.yml +41 -41
  58. data/spec/vcr/transaction/refund/1301883347.yml +19 -19
  59. data/spec/vcr/transaction/void/1301883347.yml +26 -26
  60. data/spec/vcr/transparent/post-url/1301879142.yml +9 -9
  61. metadata +27 -33
  62. data/spec/vcr/subscription/addons/add/1301884213.yml +0 -480
  63. data/spec/vcr/subscription/addons/create/1297746103.yml +0 -321
  64. data/spec/vcr/subscription/addons/remove/1301884213.yml +0 -449
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/charge-lookup-1297746103
41
41
  x-runtime:
42
- - "363"
42
+ - "277"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "581"
47
47
  set-cookie:
48
- - _recurly_session=3e93cb1c57e9cbb2a361e5a49b4e4080; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=dcf850fb2f06e9dcd611812b6493745d; domain=.recurly.local; path=/; HttpOnly
49
49
  connection:
50
50
  - close
51
51
  server:
@@ -62,8 +62,8 @@
62
62
  <company_name>Recurly Ruby Gem</company_name>
63
63
  <balance_in_cents type="integer">0</balance_in_cents>
64
64
  <closed type="boolean">false</closed>
65
- <hosted_login_token>2c9f7314cc27450a8851e75da4b8b049</hosted_login_token>
66
- <created_at type="datetime">2011-04-04T02:20:38Z</created_at>
65
+ <hosted_login_token>8dc2089ef79544bcbcbaf03a5b3f43db</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T05:15:39Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -98,13 +98,13 @@
98
98
  cache-control:
99
99
  - no-cache
100
100
  x-runtime:
101
- - "321"
101
+ - "83"
102
102
  content-type:
103
103
  - application/xml; charset=utf-8
104
104
  content-length:
105
105
  - "517"
106
106
  set-cookie:
107
- - _recurly_session=3a37bc95bd286dc640fd1c7aaeee9c52; domain=.recurly.local; path=/; HttpOnly
107
+ - _recurly_session=3967eba5f35f3180b4ee268d24ae833f; domain=.recurly.local; path=/; HttpOnly
108
108
  connection:
109
109
  - close
110
110
  server:
@@ -112,21 +112,21 @@
112
112
  body: |
113
113
  <?xml version="1.0" encoding="UTF-8"?>
114
114
  <charge type="charge">
115
- <id>b6ce4ae67e744fa9987fec95311ec457</id>
115
+ <id>5a7906294c344526b3fbfd7b60bdacfe</id>
116
116
  <account_code>charge-lookup-1297746103</account_code>
117
117
  <amount_in_cents type="integer">1315</amount_in_cents>
118
- <start_date type="datetime">2011-04-04T02:20:40Z</start_date>
118
+ <start_date type="datetime">2011-04-05T05:15:41Z</start_date>
119
119
  <end_date nil="true" type="datetime"></end_date>
120
120
  <invoice_number nil="true" type="integer"></invoice_number>
121
121
  <description>inconvenience fee</description>
122
- <created_at type="datetime">2011-04-04T02:20:40Z</created_at>
122
+ <created_at type="datetime">2011-04-05T05:15:41Z</created_at>
123
123
  </charge>
124
124
 
125
125
  http_version: "1.1"
126
126
  - !ruby/struct:VCR::HTTPInteraction
127
127
  request: !ruby/struct:VCR::Request
128
128
  method: :get
129
- uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-lookup-1297746103/charges/b6ce4ae67e744fa9987fec95311ec457.xml
129
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-lookup-1297746103/charges/5a7906294c344526b3fbfd7b60bdacfe.xml
130
130
  body:
131
131
  headers:
132
132
  authorization:
@@ -145,17 +145,17 @@
145
145
  message: OK
146
146
  headers:
147
147
  x-runtime:
148
- - "299"
148
+ - "255"
149
149
  content-type:
150
150
  - application/xml; charset=utf-8
151
151
  etag:
152
- - "\"999881159d4fa28d92679d55732f0ada\""
152
+ - "\"395e25f1ad14c1efa585824658f53a01\""
153
153
  cache-control:
154
154
  - private, max-age=0, must-revalidate
155
155
  content-length:
156
156
  - "517"
157
157
  set-cookie:
158
- - _recurly_session=08f0103930908207fc8cb2450682a4d4; domain=.recurly.local; path=/; HttpOnly
158
+ - _recurly_session=221d10d74835d4cdb5e7835655a0258c; domain=.recurly.local; path=/; HttpOnly
159
159
  connection:
160
160
  - close
161
161
  server:
@@ -163,14 +163,14 @@
163
163
  body: |
164
164
  <?xml version="1.0" encoding="UTF-8"?>
165
165
  <charge type="charge">
166
- <id>b6ce4ae67e744fa9987fec95311ec457</id>
166
+ <id>5a7906294c344526b3fbfd7b60bdacfe</id>
167
167
  <account_code>charge-lookup-1297746103</account_code>
168
168
  <amount_in_cents type="integer">1315</amount_in_cents>
169
- <start_date type="datetime">2011-04-04T02:20:40Z</start_date>
169
+ <start_date type="datetime">2011-04-05T05:15:41Z</start_date>
170
170
  <end_date nil="true" type="datetime"></end_date>
171
171
  <invoice_number nil="true" type="integer"></invoice_number>
172
172
  <description>inconvenience fee</description>
173
- <created_at type="datetime">2011-04-04T02:20:40Z</created_at>
173
+ <created_at type="datetime">2011-04-05T05:15:41Z</created_at>
174
174
  </charge>
175
175
 
176
176
  http_version: "1.1"
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/coupon-create-1299714521
41
41
  x-runtime:
42
- - "388"
42
+ - "276"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "581"
47
47
  set-cookie:
48
- - _recurly_session=a0837cf7e5d861222f39e13f74442653; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=eeb9ed2426b01561014da6a6d0b45aec; domain=.recurly.local; path=/; HttpOnly
49
49
  connection:
50
50
  - close
51
51
  server:
@@ -62,8 +62,8 @@
62
62
  <company_name>Recurly Ruby Gem</company_name>
63
63
  <balance_in_cents type="integer">0</balance_in_cents>
64
64
  <closed type="boolean">false</closed>
65
- <hosted_login_token>8b526d99434f4d16853906f014e68565</hosted_login_token>
66
- <created_at type="datetime">2011-04-04T02:20:59Z</created_at>
65
+ <hosted_login_token>d68c993dd8864a27984a372c4bfd24da</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T05:15:56Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -97,13 +97,13 @@
97
97
  cache-control:
98
98
  - no-cache
99
99
  x-runtime:
100
- - "422"
100
+ - "281"
101
101
  content-type:
102
102
  - application/xml; charset=utf-8
103
103
  content-length:
104
104
  - "520"
105
105
  set-cookie:
106
- - _recurly_session=9521093e7f06a4327d54f82c59510a00; domain=.recurly.local; path=/; HttpOnly
106
+ - _recurly_session=016eec6002ed8d0e434336a422b69d35; domain=.recurly.local; path=/; HttpOnly
107
107
  connection:
108
108
  - close
109
109
  server:
@@ -118,7 +118,7 @@
118
118
  <discount_percent type="integer"></discount_percent>
119
119
  <redemption>
120
120
  <account_code>coupon-create-1299714521</account_code>
121
- <redeemed_at type="datetime">2011-04-04T02:21:02Z</redeemed_at>
121
+ <redeemed_at type="datetime">2011-04-05T05:15:58Z</redeemed_at>
122
122
  <total_discounted_in_cents type="integer">0</total_discounted_in_cents>
123
123
  </redemption>
124
124
  </coupon>
@@ -146,17 +146,17 @@
146
146
  message: OK
147
147
  headers:
148
148
  x-runtime:
149
- - "383"
149
+ - "270"
150
150
  content-type:
151
151
  - application/xml; charset=utf-8
152
152
  etag:
153
- - "\"9991975cebb5761d29ce9aaf0b608ccf\""
153
+ - "\"1f0c21ec9fba77001a6bc15abc6b82da\""
154
154
  cache-control:
155
155
  - private, max-age=0, must-revalidate
156
156
  content-length:
157
157
  - "520"
158
158
  set-cookie:
159
- - _recurly_session=f74dc71f1468cf2daa1945f793046ca6; domain=.recurly.local; path=/; HttpOnly
159
+ - _recurly_session=b190a64bb13c4e45d80d3216b827d3f1; domain=.recurly.local; path=/; HttpOnly
160
160
  connection:
161
161
  - close
162
162
  server:
@@ -171,7 +171,7 @@
171
171
  <discount_percent type="integer"></discount_percent>
172
172
  <redemption>
173
173
  <account_code>coupon-create-1299714521</account_code>
174
- <redeemed_at type="datetime">2011-04-04T02:21:02Z</redeemed_at>
174
+ <redeemed_at type="datetime">2011-04-05T05:15:58Z</redeemed_at>
175
175
  <total_discounted_in_cents type="integer">0</total_discounted_in_cents>
176
176
  </redemption>
177
177
  </coupon>
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/coupon-destroy-1299714521
41
41
  x-runtime:
42
- - "463"
42
+ - "440"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "583"
47
47
  set-cookie:
48
- - _recurly_session=8c3b015a6ef4e33736eff3dcca1228d4; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=b1f89f15d367718708b9428cb7c9a8ab; domain=.recurly.local; path=/; HttpOnly
49
49
  connection:
50
50
  - close
51
51
  server:
@@ -62,8 +62,8 @@
62
62
  <company_name>Recurly Ruby Gem</company_name>
63
63
  <balance_in_cents type="integer">0</balance_in_cents>
64
64
  <closed type="boolean">false</closed>
65
- <hosted_login_token>0ec1441a4c1b4c35ae2c586ec35539a6</hosted_login_token>
66
- <created_at type="datetime">2011-04-04T02:21:07Z</created_at>
65
+ <hosted_login_token>f7eec11339c647bb90a7c6f9f20acecf</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T05:16:02Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -97,13 +97,13 @@
97
97
  cache-control:
98
98
  - no-cache
99
99
  x-runtime:
100
- - "524"
100
+ - "494"
101
101
  content-type:
102
102
  - application/xml; charset=utf-8
103
103
  content-length:
104
104
  - "522"
105
105
  set-cookie:
106
- - _recurly_session=d100496c059f4c4074138b78bc4308d2; domain=.recurly.local; path=/; HttpOnly
106
+ - _recurly_session=dab26df8f120671174013b1a5f6dd26c; domain=.recurly.local; path=/; HttpOnly
107
107
  connection:
108
108
  - close
109
109
  server:
@@ -118,7 +118,7 @@
118
118
  <discount_percent type="integer"></discount_percent>
119
119
  <redemption>
120
120
  <account_code>coupon-destroy-1299714521</account_code>
121
- <redeemed_at type="datetime">2011-04-04T02:21:10Z</redeemed_at>
121
+ <redeemed_at type="datetime">2011-04-05T05:16:04Z</redeemed_at>
122
122
  <total_discounted_in_cents type="integer">0</total_discounted_in_cents>
123
123
  </redemption>
124
124
  </coupon>
@@ -146,13 +146,13 @@
146
146
  cache-control:
147
147
  - no-cache
148
148
  x-runtime:
149
- - "361"
149
+ - "253"
150
150
  content-type:
151
151
  - application/xml; charset=utf-8
152
152
  content-length:
153
153
  - "1"
154
154
  set-cookie:
155
- - _recurly_session=6aa60cc2abf5fb72278fb6122418c9ed; domain=.recurly.local; path=/; HttpOnly
155
+ - _recurly_session=d29e1ae4fb729fba6d509ba99d15b849; domain=.recurly.local; path=/; HttpOnly
156
156
  connection:
157
157
  - close
158
158
  server:
@@ -187,7 +187,7 @@
187
187
  content-length:
188
188
  - "92"
189
189
  set-cookie:
190
- - _recurly_session=79d9165fbbffc699424d0fc53b0c2257; domain=.recurly.local; path=/; HttpOnly
190
+ - _recurly_session=f3a5aee8a87d95e4fabc5930c19afce0; domain=.recurly.local; path=/; HttpOnly
191
191
  connection:
192
192
  - close
193
193
  server:
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/credit-create-1299714599
41
41
  x-runtime:
42
- - "460"
42
+ - "457"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "581"
47
47
  set-cookie:
48
- - _recurly_session=0abe2d11a9801700d3861756643e911c; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=1900f617722ad639c8db1c6d17f0864d; domain=.recurly.local; path=/; HttpOnly
49
49
  connection:
50
50
  - close
51
51
  server:
@@ -62,8 +62,8 @@
62
62
  <company_name>Recurly Ruby Gem</company_name>
63
63
  <balance_in_cents type="integer">0</balance_in_cents>
64
64
  <closed type="boolean">false</closed>
65
- <hosted_login_token>389430349d47481a8c193ed655640440</hosted_login_token>
66
- <created_at type="datetime">2011-04-04T02:21:17Z</created_at>
65
+ <hosted_login_token>5020b545c89149b6a96dbdc548eda329</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T05:16:09Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -98,13 +98,13 @@
98
98
  cache-control:
99
99
  - no-cache
100
100
  x-runtime:
101
- - "380"
101
+ - "246"
102
102
  content-type:
103
103
  - application/xml; charset=utf-8
104
104
  content-length:
105
105
  - "512"
106
106
  set-cookie:
107
- - _recurly_session=152d57d5ecfc11b9ce08ef7e890ea65e; domain=.recurly.local; path=/; HttpOnly
107
+ - _recurly_session=9f2fd56b9cadb334d7b24df9ba871385; domain=.recurly.local; path=/; HttpOnly
108
108
  connection:
109
109
  - close
110
110
  server:
@@ -112,21 +112,21 @@
112
112
  body: |
113
113
  <?xml version="1.0" encoding="UTF-8"?>
114
114
  <credit type="credit">
115
- <id>9da38f9ee4b34fd8b652268271fcb3e0</id>
115
+ <id>c29445991a6545a5856a7003e3120ff8</id>
116
116
  <account_code>credit-create-1299714599</account_code>
117
117
  <amount_in_cents type="integer">-1005</amount_in_cents>
118
- <start_date type="datetime">2011-04-04T02:21:20Z</start_date>
118
+ <start_date type="datetime">2011-04-05T05:16:11Z</start_date>
119
119
  <end_date nil="true" type="datetime"></end_date>
120
120
  <invoice_number nil="true" type="integer"></invoice_number>
121
121
  <description>free moniez</description>
122
- <created_at type="datetime">2011-04-04T02:21:20Z</created_at>
122
+ <created_at type="datetime">2011-04-05T05:16:11Z</created_at>
123
123
  </credit>
124
124
 
125
125
  http_version: "1.1"
126
126
  - !ruby/struct:VCR::HTTPInteraction
127
127
  request: !ruby/struct:VCR::Request
128
128
  method: :get
129
- uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/credit-create-1299714599/credits/9da38f9ee4b34fd8b652268271fcb3e0.xml
129
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/credit-create-1299714599/credits/c29445991a6545a5856a7003e3120ff8.xml
130
130
  body:
131
131
  headers:
132
132
  authorization:
@@ -145,17 +145,17 @@
145
145
  message: OK
146
146
  headers:
147
147
  x-runtime:
148
- - "199"
148
+ - "236"
149
149
  content-type:
150
150
  - application/xml; charset=utf-8
151
151
  etag:
152
- - "\"f2cc56abb03bc2d36e480b0f06fff200\""
152
+ - "\"67ee38ba33f34e1bd792dfadaed6ac7e\""
153
153
  cache-control:
154
154
  - private, max-age=0, must-revalidate
155
155
  content-length:
156
156
  - "512"
157
157
  set-cookie:
158
- - _recurly_session=3122c99d2e1135fd218dda5a84e2a316; domain=.recurly.local; path=/; HttpOnly
158
+ - _recurly_session=c073b578c9216ab440fbafc51d1966ed; domain=.recurly.local; path=/; HttpOnly
159
159
  connection:
160
160
  - close
161
161
  server:
@@ -163,14 +163,14 @@
163
163
  body: |
164
164
  <?xml version="1.0" encoding="UTF-8"?>
165
165
  <credit type="credit">
166
- <id>9da38f9ee4b34fd8b652268271fcb3e0</id>
166
+ <id>c29445991a6545a5856a7003e3120ff8</id>
167
167
  <account_code>credit-create-1299714599</account_code>
168
168
  <amount_in_cents type="integer">-1005</amount_in_cents>
169
- <start_date type="datetime">2011-04-04T02:21:20Z</start_date>
169
+ <start_date type="datetime">2011-04-05T05:16:11Z</start_date>
170
170
  <end_date nil="true" type="datetime"></end_date>
171
171
  <invoice_number nil="true" type="integer"></invoice_number>
172
172
  <description>free moniez</description>
173
- <created_at type="datetime">2011-04-04T02:21:20Z</created_at>
173
+ <created_at type="datetime">2011-04-05T05:16:11Z</created_at>
174
174
  </credit>
175
175
 
176
176
  http_version: "1.1"
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/delete-uninvoiced-1299714599
41
41
  x-runtime:
42
- - "591"
42
+ - "291"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "589"
47
47
  set-cookie:
48
- - _recurly_session=8da067c29deec331c0d3b3f462722591; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=7ff2615264d63e97abd0ba8cd8ea8b7d; domain=.recurly.local; path=/; HttpOnly
49
49
  connection:
50
50
  - close
51
51
  server:
@@ -62,8 +62,8 @@
62
62
  <company_name>Recurly Ruby Gem</company_name>
63
63
  <balance_in_cents type="integer">0</balance_in_cents>
64
64
  <closed type="boolean">false</closed>
65
- <hosted_login_token>0754d602fdd64839bc05a07db035b8d3</hosted_login_token>
66
- <created_at type="datetime">2011-04-04T02:21:46Z</created_at>
65
+ <hosted_login_token>95e2a7503a264162a519bd2d7f803a07</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T05:16:31Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -98,13 +98,13 @@
98
98
  cache-control:
99
99
  - no-cache
100
100
  x-runtime:
101
- - "351"
101
+ - "254"
102
102
  content-type:
103
103
  - application/xml; charset=utf-8
104
104
  content-length:
105
105
  - "520"
106
106
  set-cookie:
107
- - _recurly_session=1d8e369cc2bc57391d60dbe785dc296d; domain=.recurly.local; path=/; HttpOnly
107
+ - _recurly_session=331b2b25b3c42cfeab2f3af3fceb16ca; domain=.recurly.local; path=/; HttpOnly
108
108
  connection:
109
109
  - close
110
110
  server:
@@ -112,21 +112,21 @@
112
112
  body: |
113
113
  <?xml version="1.0" encoding="UTF-8"?>
114
114
  <credit type="credit">
115
- <id>05562b9372a8438899744cf12f7760c1</id>
115
+ <id>ab203de22e6b46cf807cbbd34433fa7f</id>
116
116
  <account_code>delete-uninvoiced-1299714599</account_code>
117
117
  <amount_in_cents type="integer">-1315</amount_in_cents>
118
- <start_date type="datetime">2011-04-04T02:21:48Z</start_date>
118
+ <start_date type="datetime">2011-04-05T05:16:33Z</start_date>
119
119
  <end_date nil="true" type="datetime"></end_date>
120
120
  <invoice_number nil="true" type="integer"></invoice_number>
121
121
  <description>free moniez 4 u</description>
122
- <created_at type="datetime">2011-04-04T02:21:48Z</created_at>
122
+ <created_at type="datetime">2011-04-05T05:16:33Z</created_at>
123
123
  </credit>
124
124
 
125
125
  http_version: "1.1"
126
126
  - !ruby/struct:VCR::HTTPInteraction
127
127
  request: !ruby/struct:VCR::Request
128
128
  method: :get
129
- uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/05562b9372a8438899744cf12f7760c1.xml
129
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/ab203de22e6b46cf807cbbd34433fa7f.xml
130
130
  body:
131
131
  headers:
132
132
  authorization:
@@ -145,17 +145,17 @@
145
145
  message: OK
146
146
  headers:
147
147
  x-runtime:
148
- - "326"
148
+ - "71"
149
149
  content-type:
150
150
  - application/xml; charset=utf-8
151
151
  etag:
152
- - "\"8d87bcac78c47729114f197d16d2f7b5\""
152
+ - "\"9ecb3df1dd3d3a683bfb50ccebb50c83\""
153
153
  cache-control:
154
154
  - private, max-age=0, must-revalidate
155
155
  content-length:
156
156
  - "520"
157
157
  set-cookie:
158
- - _recurly_session=f3a561fb717980527a4f5983a2ae22a0; domain=.recurly.local; path=/; HttpOnly
158
+ - _recurly_session=9210dab74c0030f7c4980c1aa28911b3; domain=.recurly.local; path=/; HttpOnly
159
159
  connection:
160
160
  - close
161
161
  server:
@@ -163,21 +163,21 @@
163
163
  body: |
164
164
  <?xml version="1.0" encoding="UTF-8"?>
165
165
  <credit type="credit">
166
- <id>05562b9372a8438899744cf12f7760c1</id>
166
+ <id>ab203de22e6b46cf807cbbd34433fa7f</id>
167
167
  <account_code>delete-uninvoiced-1299714599</account_code>
168
168
  <amount_in_cents type="integer">-1315</amount_in_cents>
169
- <start_date type="datetime">2011-04-04T02:21:48Z</start_date>
169
+ <start_date type="datetime">2011-04-05T05:16:33Z</start_date>
170
170
  <end_date nil="true" type="datetime"></end_date>
171
171
  <invoice_number nil="true" type="integer"></invoice_number>
172
172
  <description>free moniez 4 u</description>
173
- <created_at type="datetime">2011-04-04T02:21:48Z</created_at>
173
+ <created_at type="datetime">2011-04-05T05:16:33Z</created_at>
174
174
  </credit>
175
175
 
176
176
  http_version: "1.1"
177
177
  - !ruby/struct:VCR::HTTPInteraction
178
178
  request: !ruby/struct:VCR::Request
179
179
  method: :delete
180
- uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/05562b9372a8438899744cf12f7760c1.xml
180
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/ab203de22e6b46cf807cbbd34433fa7f.xml
181
181
  body:
182
182
  headers:
183
183
  authorization:
@@ -196,13 +196,13 @@
196
196
  cache-control:
197
197
  - no-cache
198
198
  x-runtime:
199
- - "90"
199
+ - "235"
200
200
  content-type:
201
201
  - application/xml; charset=utf-8
202
202
  content-length:
203
203
  - "1"
204
204
  set-cookie:
205
- - _recurly_session=6a10b85bffa67105269134f0cd154a55; domain=.recurly.local; path=/; HttpOnly
205
+ - _recurly_session=4153d87770e8dce362b1161755012e21; domain=.recurly.local; path=/; HttpOnly
206
206
  connection:
207
207
  - close
208
208
  server:
@@ -212,7 +212,7 @@
212
212
  - !ruby/struct:VCR::HTTPInteraction
213
213
  request: !ruby/struct:VCR::Request
214
214
  method: :get
215
- uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/05562b9372a8438899744cf12f7760c1.xml
215
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/ab203de22e6b46cf807cbbd34433fa7f.xml
216
216
  body:
217
217
  headers:
218
218
  authorization:
@@ -237,7 +237,7 @@
237
237
  content-length:
238
238
  - "92"
239
239
  set-cookie:
240
- - _recurly_session=20826e913be7c06e81225c2e828bdfeb; domain=.recurly.local; path=/; HttpOnly
240
+ - _recurly_session=4d1e15551f2fc2d58fc733061073de78; domain=.recurly.local; path=/; HttpOnly
241
241
  connection:
242
242
  - close
243
243
  server: