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
@@ -36,15 +36,15 @@
36
36
  server:
37
37
  - nginx/0.7.65
38
38
  date:
39
- - Tue, 19 Oct 2010 05:21:50 GMT
39
+ - Tue, 16 Nov 2010 07:03:37 GMT
40
40
  x-runtime:
41
- - "759"
41
+ - "272"
42
42
  content-length:
43
43
  - "601"
44
44
  set-cookie:
45
- - account_credentials=34f7eaa969cc909a99f3cbb252eadf18dfe32ccff5de784f03fea5adea87f9382099237b255fa8fe492a52dbb1151a6026cc6ccbae7705dbfc56359edc679d9a%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=9d203bb0e2a72123e0b52e844e29ce506dba43599f732e5b46d06c569ca04fb4703f5a45eabd2d9249d4a90faa52fbd2ed1bf6e96b069be597ca3537fc891372%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=26cb0e848ef0cc1885562046be3473cf; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=d497433c8f8209ec9e892063445616f3; 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>3f61f4f64f9d4be1adb84971741a0c35</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:21:50Z</created_at>
62
+ <hosted_login_token>38bca534d5b5464eae58f75ce17266f1</hosted_login_token>
63
+ <created_at type="datetime">2010-11-16T07:03:37Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -97,32 +97,33 @@
97
97
  server:
98
98
  - nginx/0.7.65
99
99
  date:
100
- - Tue, 19 Oct 2010 05:21:51 GMT
100
+ - Tue, 16 Nov 2010 07:03:35 GMT
101
101
  x-runtime:
102
- - "45"
102
+ - "100"
103
103
  content-length:
104
- - "465"
104
+ - "527"
105
105
  set-cookie:
106
- - _recurly_session=9d4e457741be3c2eb1703c6ad5d7c012; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=627025052da9b5e68148a2100428e585; 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>f2f01aeefcde4e63b04093e2a6cd8a4f</id>
112
+ <id>283d8a1f88734cbcaecb9fc619c950e3</id>
113
113
  <account_code>charge-delete-uinvoiced-1287465632</account_code>
114
114
  <amount_in_cents type="integer">1315</amount_in_cents>
115
- <start_date type="datetime">2010-10-19T05:21:51Z</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:51Z</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-delete-uinvoiced-1287465632/charges/f2f01aeefcde4e63b04093e2a6cd8a4f.xml
126
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-delete-uinvoiced-1287465632/charges/283d8a1f88734cbcaecb9fc619c950e3.xml
126
127
  body:
127
128
  headers:
128
129
  accept:
@@ -139,7 +140,7 @@
139
140
  x-ua-compatible:
140
141
  - IE=Edge
141
142
  etag:
142
- - "\"440067d02afde32934f01a76724c432b\""
143
+ - "\"140c5b112d42862d589b47dca5744240\""
143
144
  content-type:
144
145
  - application/xml; charset=utf-8
145
146
  connection:
@@ -147,32 +148,33 @@
147
148
  server:
148
149
  - nginx/0.7.65
149
150
  date:
150
- - Tue, 19 Oct 2010 05:21:51 GMT
151
+ - Tue, 16 Nov 2010 07:03:38 GMT
151
152
  x-runtime:
152
153
  - "15"
153
154
  content-length:
154
- - "465"
155
+ - "527"
155
156
  set-cookie:
156
- - _recurly_session=053f8157ca9bd0e7606fb24b7cc3dd10; domain=.recurly.com; path=/; Secure; HttpOnly
157
+ - _recurly_session=1d71fb3aeca9ab9426b4f6f2407ec3f5; 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>f2f01aeefcde4e63b04093e2a6cd8a4f</id>
163
+ <id>283d8a1f88734cbcaecb9fc619c950e3</id>
163
164
  <account_code>charge-delete-uinvoiced-1287465632</account_code>
164
165
  <amount_in_cents type="integer">1315</amount_in_cents>
165
- <start_date type="datetime">2010-10-19T05:21:51Z</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:51Z</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"
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/charge-delete-uinvoiced-1287465632/charges/f2f01aeefcde4e63b04093e2a6cd8a4f.xml
177
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-delete-uinvoiced-1287465632/charges/283d8a1f88734cbcaecb9fc619c950e3.xml
176
178
  body:
177
179
  headers:
178
180
  accept:
@@ -195,13 +197,13 @@
195
197
  server:
196
198
  - nginx/0.7.65
197
199
  date:
198
- - Tue, 19 Oct 2010 05:21:52 GMT
200
+ - Tue, 16 Nov 2010 07:03:36 GMT
199
201
  x-runtime:
200
- - "62"
202
+ - "41"
201
203
  content-length:
202
204
  - "1"
203
205
  set-cookie:
204
- - _recurly_session=08cf02ac2b1b166602963a9730c24139; domain=.recurly.com; path=/; Secure; HttpOnly
206
+ - _recurly_session=da0e74e3009430b647821084de9433c3; 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/charge-delete-uinvoiced-1287465632/charges/f2f01aeefcde4e63b04093e2a6cd8a4f.xml
214
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-delete-uinvoiced-1287465632/charges/283d8a1f88734cbcaecb9fc619c950e3.xml
213
215
  body:
214
216
  headers:
215
217
  accept:
@@ -230,11 +232,11 @@
230
232
  server:
231
233
  - nginx/0.7.65
232
234
  date:
233
- - Tue, 19 Oct 2010 05:21:52 GMT
235
+ - Tue, 16 Nov 2010 07:03:39 GMT
234
236
  content-length:
235
237
  - "92"
236
238
  set-cookie:
237
- - _recurly_session=d9121be56f332dbdee8d0f0a2324bd09; domain=.recurly.com; path=/; Secure; HttpOnly
239
+ - _recurly_session=7e39a4b406e5c93fb597165c0831b56a; domain=.recurly.com; path=/; secure; HttpOnly
238
240
  cache-control:
239
241
  - no-cache
240
242
  body: |
@@ -272,15 +274,15 @@
272
274
  content-type:
273
275
  - application/xml; charset=utf-8
274
276
  x-runtime:
275
- - "14"
277
+ - "12"
276
278
  date:
277
- - Tue, 19 Oct 2010 05:21:53 GMT
279
+ - Tue, 16 Nov 2010 07:03:37 GMT
278
280
  server:
279
281
  - nginx/0.7.65
280
282
  content-length:
281
283
  - "98"
282
284
  set-cookie:
283
- - _recurly_session=1069c6ca43501968aeaad400bcce3845; domain=.recurly.com; path=/; Secure; HttpOnly
285
+ - _recurly_session=1a0c03601319a7bc0358bab9c4c24a1e; domain=.recurly.com; path=/; secure; HttpOnly
284
286
  cache-control:
285
287
  - no-cache
286
288
  body: |
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "785"
37
+ - "270"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:21:32 GMT
39
+ - Tue, 16 Nov 2010 07:03:21 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "585"
44
44
  set-cookie:
45
- - account_credentials=5bf57f375eca39fa3c55bb3a4b76d4a0f31bbcca3c9e21781923384bd2d7329ace9a259366aad9720121426355a4b5e9fd0c2750d697c9f20348a34cb9a8a665%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=4868affde53da82a451fd2b14606460f7396f83f203f07b529d864ce83c564809e75e3d4261f0a0411110e351f23a4ca043063d46db47e45bc119d25119bc425%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=b14899fc13a0a93ade603aaf76cb9af2; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=2d841d8f48c15477a648b7e78e133d5d; 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>8cab662023434e1ca0d9f187e0f0afa5</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:21:32Z</created_at>
62
+ <hosted_login_token>acc01e20f7974db7beb282756a00646d</hosted_login_token>
63
+ <created_at type="datetime">2010-11-16T07:03:21Z</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
- - "66"
98
+ - "45"
99
99
  date:
100
- - Tue, 19 Oct 2010 05:21:33 GMT
100
+ - Tue, 16 Nov 2010 07:03:19 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=fa3f0c226cd2c15dfc62746c0e38c386; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=abd6932410976d492f118a7870aa283e; 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>7b090dd55b36479db910baa160bc3473</id>
112
+ <id>f18ebf4917774743b518906723aef4f4</id>
113
113
  <account_code>charge-list-all-1287465632</account_code>
114
114
  <amount_in_cents type="integer">1000</amount_in_cents>
115
- <start_date type="datetime">2010-10-19T05:21:33Z</start_date>
115
+ <start_date type="datetime">2010-11-16T07:03:19Z</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:33Z</created_at>
119
+ <created_at type="datetime">2010-11-16T07:03:19Z</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
- - "60"
153
+ - "44"
153
154
  date:
154
- - Tue, 19 Oct 2010 05:21:33 GMT
155
+ - Tue, 16 Nov 2010 07:03:22 GMT
155
156
  server:
156
157
  - nginx/0.7.65
157
158
  content-length:
158
- - "458"
159
+ - "520"
159
160
  set-cookie:
160
- - _recurly_session=48f6cbad7bd3c1c20c78cf84c9ed4bd9; domain=.recurly.com; path=/; Secure; HttpOnly
161
+ - _recurly_session=73b62df0c0da27a09546450bbc94f8e5; 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>1c3feaa8810a4c2eb9946320c8848761</id>
167
+ <id>27e1731405ba4590a424eb5faeb9fa24</id>
167
168
  <account_code>charge-list-all-1287465632</account_code>
168
169
  <amount_in_cents type="integer">1000</amount_in_cents>
169
- <start_date type="datetime">2010-10-19T05:21:33Z</start_date>
170
+ <start_date type="datetime">2010-11-16T07:03:22Z</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:33Z</created_at>
174
+ <created_at type="datetime">2010-11-16T07:03:22Z</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
- - "187"
208
+ - "43"
207
209
  date:
208
- - Tue, 19 Oct 2010 05:21:34 GMT
210
+ - Tue, 16 Nov 2010 07:03:20 GMT
209
211
  server:
210
212
  - nginx/0.7.65
211
213
  content-length:
212
- - "458"
214
+ - "520"
213
215
  set-cookie:
214
- - _recurly_session=504b2ca7c66a1669a6f9fafb7bbca706; domain=.recurly.com; path=/; Secure; HttpOnly
216
+ - _recurly_session=bbaa01f3cf5d96a3837453ee44128f32; 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>ad22bf40847e4cdfae424585f2cc3dd6</id>
222
+ <id>e6117bd655924602881fb13b6168b2c8</id>
221
223
  <account_code>charge-list-all-1287465632</account_code>
222
224
  <amount_in_cents type="integer">1000</amount_in_cents>
223
- <start_date type="datetime">2010-10-19T05:21:34Z</start_date>
225
+ <start_date type="datetime">2010-11-16T07:03:20Z</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:34Z</created_at>
229
+ <created_at type="datetime">2010-11-16T07:03:20Z</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
- - "\"8438f8d5f52c73d2921f59d46b0670c8\""
253
+ - "\"8935df06c14fdb73737e9649fc426dcf\""
251
254
  connection:
252
255
  - close
253
256
  content-type:
254
257
  - application/xml; charset=utf-8
255
258
  x-runtime:
256
- - "19"
259
+ - "14"
257
260
  date:
258
- - Tue, 19 Oct 2010 05:21:35 GMT
261
+ - Tue, 16 Nov 2010 07:03:23 GMT
259
262
  server:
260
263
  - nginx/0.7.65
261
264
  content-length:
262
265
  - "1576"
263
266
  set-cookie:
264
- - _recurly_session=0e322185b03d364d7bd79cd1ba6ebd90; domain=.recurly.com; path=/; Secure; HttpOnly
267
+ - _recurly_session=359d1a52031b8bb3039395dc9f007d5d; 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>ad22bf40847e4cdfae424585f2cc3dd6</id>
274
+ <id>e6117bd655924602881fb13b6168b2c8</id>
272
275
  <account_code>charge-list-all-1287465632</account_code>
273
276
  <amount_in_cents type="integer">1000</amount_in_cents>
274
- <start_date type="datetime">2010-10-19T05:21:34Z</start_date>
277
+ <start_date type="datetime">2010-11-16T07:03:20Z</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:34Z</created_at>
281
+ <created_at type="datetime">2010-11-16T07:03:20Z</created_at>
279
282
  </charge>
280
283
  <charge type="charge">
281
- <id>1c3feaa8810a4c2eb9946320c8848761</id>
284
+ <id>27e1731405ba4590a424eb5faeb9fa24</id>
282
285
  <account_code>charge-list-all-1287465632</account_code>
283
286
  <amount_in_cents type="integer">1000</amount_in_cents>
284
- <start_date type="datetime">2010-10-19T05:21:33Z</start_date>
287
+ <start_date type="datetime">2010-11-16T07:03:22Z</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:33Z</created_at>
291
+ <created_at type="datetime">2010-11-16T07:03:22Z</created_at>
289
292
  </charge>
290
293
  <charge type="charge">
291
- <id>7b090dd55b36479db910baa160bc3473</id>
294
+ <id>f18ebf4917774743b518906723aef4f4</id>
292
295
  <account_code>charge-list-all-1287465632</account_code>
293
296
  <amount_in_cents type="integer">1000</amount_in_cents>
294
- <start_date type="datetime">2010-10-19T05:21:33Z</start_date>
297
+ <start_date type="datetime">2010-11-16T07:03:19Z</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:33Z</created_at>
301
+ <created_at type="datetime">2010-11-16T07:03:19Z</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
- - "595"
37
+ - "279"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:21:40 GMT
39
+ - Tue, 16 Nov 2010 07:03:27 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "595"
44
44
  set-cookie:
45
- - account_credentials=a78dc2108f10fa662870ddabb124cd963c691b5ec4c0bc48675c5280643327f1b043c0e4b8adeeaff15fd2d3e8a05c502417a82d6f1aa679183a6b2a612536bd%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=146e4e669f9473a357fcfdd6b21e2d32d0163f875db8b20da9b3a9412f1ec28572c8716c2cfa7e15107503751c1d0567657c99e45904bd1b44afbd5c44be0091%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=9e866bf9dbd3621f94fdde8da3c33ade; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=d1409dae613b9660e39a2fc18c5bc293; 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>28e88afeef0144eeb237b0920fbc7079</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:21:39Z</created_at>
62
+ <hosted_login_token>5f413842c9eb4cf3ba20486f3c7df905</hosted_login_token>
63
+ <created_at type="datetime">2010-11-16T07:03:27Z</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
- - "46"
98
+ - "43"
99
99
  date:
100
- - Tue, 19 Oct 2010 05:21:40 GMT
100
+ - Tue, 16 Nov 2010 07:03:26 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
- - "463"
104
+ - "525"
105
105
  set-cookie:
106
- - _recurly_session=cae476be6eacd8920b4e12f1704a6b9c; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=b76d3b4af9124dd8f783a26a6645ec3b; 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>2f93fb97c4c94738b27f7c232256aa6a</id>
112
+ <id>75d43f60771d43e0a89b82481f1b3aed</id>
113
113
  <account_code>charge-list-invoiced-1287465632</account_code>
114
114
  <amount_in_cents type="integer">1000</amount_in_cents>
115
- <start_date type="datetime">2010-10-19T05:21:40Z</start_date>
115
+ <start_date type="datetime">2010-11-16T07:03:26Z</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:40Z</created_at>
119
+ <created_at type="datetime">2010-11-16T07:03:26Z</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
- - "218"
153
+ - "45"
153
154
  date:
154
- - Tue, 19 Oct 2010 05:21:41 GMT
155
+ - Tue, 16 Nov 2010 07:03:28 GMT
155
156
  server:
156
157
  - nginx/0.7.65
157
158
  content-length:
158
- - "463"
159
+ - "525"
159
160
  set-cookie:
160
- - _recurly_session=56ab087bc51496481305ea005114323e; domain=.recurly.com; path=/; Secure; HttpOnly
161
+ - _recurly_session=17763cb399f1cf6c941a21c0654e96f7; 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>447e0700996745aaa28dc0a149a36043</id>
167
+ <id>d2a076f03b544348bfdae885a76ef79c</id>
167
168
  <account_code>charge-list-invoiced-1287465632</account_code>
168
169
  <amount_in_cents type="integer">1000</amount_in_cents>
169
- <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
170
+ <start_date type="datetime">2010-11-16T07:03:28Z</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:41Z</created_at>
174
+ <created_at type="datetime">2010-11-16T07:03:28Z</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
- - "46"
208
+ - "43"
207
209
  date:
208
- - Tue, 19 Oct 2010 05:21:42 GMT
210
+ - Tue, 16 Nov 2010 07:03:27 GMT
209
211
  server:
210
212
  - nginx/0.7.65
211
213
  content-length:
212
- - "463"
214
+ - "525"
213
215
  set-cookie:
214
- - _recurly_session=c7bd344cc825e5db935430e93240b997; domain=.recurly.com; path=/; Secure; HttpOnly
216
+ - _recurly_session=7c52057e4712f5f18eef84fb57a207e3; 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>9842d2ebd85746a9a5ee70db39489250</id>
222
+ <id>b92276331bc44fbe8e70c2495484a745</id>
221
223
  <account_code>charge-list-invoiced-1287465632</account_code>
222
224
  <amount_in_cents type="integer">1000</amount_in_cents>
223
- <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
225
+ <start_date type="datetime">2010-11-16T07:03:27Z</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:41Z</created_at>
229
+ <created_at type="datetime">2010-11-16T07:03:27Z</created_at>
227
230
  </charge>
228
231
 
229
232
  http_version: "1.1"
@@ -251,30 +254,30 @@
251
254
  message: Created
252
255
  headers:
253
256
  location:
254
- - https://recurlytest3-test.recurly.com/invoices/bd60ecf16f7243278d4f01bb905cec51
257
+ - https://recurlytest3-test.recurly.com/invoices/086f6b73b4174e01a8d422fa512e7cf5
255
258
  connection:
256
259
  - close
257
260
  content-type:
258
261
  - application/xml; charset=utf-8
259
262
  x-runtime:
260
- - "81"
263
+ - "76"
261
264
  date:
262
- - Tue, 19 Oct 2010 05:21:42 GMT
265
+ - Tue, 16 Nov 2010 07:03:29 GMT
263
266
  server:
264
267
  - nginx/0.7.65
265
268
  content-length:
266
269
  - "1934"
267
270
  set-cookie:
268
- - _recurly_session=296caaead839a4fb3090164f0eb79f70; domain=.recurly.com; path=/; Secure; HttpOnly
271
+ - _recurly_session=764ce664d4a34b557b79b8640f9a27e4; domain=.recurly.com; path=/; secure; HttpOnly
269
272
  cache-control:
270
273
  - no-cache
271
274
  body: |
272
275
  <?xml version="1.0" encoding="UTF-8"?>
273
276
  <invoice>
274
- <id>bd60ecf16f7243278d4f01bb905cec51</id>
277
+ <id>086f6b73b4174e01a8d422fa512e7cf5</id>
275
278
  <account_code>charge-list-invoiced-1287465632</account_code>
276
- <date type="datetime">2010-10-19T05:21:42Z</date>
277
- <invoice_number type="integer">2069</invoice_number>
279
+ <date type="datetime">2010-11-16T07:03:29Z</date>
280
+ <invoice_number type="integer">2225</invoice_number>
278
281
  <vat_number></vat_number>
279
282
  <status>open</status>
280
283
  <subtotal_in_cents type="integer">3000</subtotal_in_cents>
@@ -284,31 +287,31 @@
284
287
  <total_due_in_cents type="integer">3000</total_due_in_cents>
285
288
  <line_items type="array">
286
289
  <line_item>
287
- <id>2f93fb97c4c94738b27f7c232256aa6a</id>
290
+ <id>75d43f60771d43e0a89b82481f1b3aed</id>
288
291
  <type>charge</type>
289
292
  <amount_in_cents type="integer">1000</amount_in_cents>
290
- <start_date type="datetime">2010-10-19T05:21:40Z</start_date>
293
+ <start_date type="datetime">2010-11-16T07:03:26Z</start_date>
291
294
  <end_date nil="true" type="datetime"></end_date>
292
295
  <description>charge description</description>
293
- <created_at type="datetime">2010-10-19T05:21:40Z</created_at>
296
+ <created_at type="datetime">2010-11-16T07:03:26Z</created_at>
294
297
  </line_item>
295
298
  <line_item>
296
- <id>447e0700996745aaa28dc0a149a36043</id>
299
+ <id>d2a076f03b544348bfdae885a76ef79c</id>
297
300
  <type>charge</type>
298
301
  <amount_in_cents type="integer">1000</amount_in_cents>
299
- <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
302
+ <start_date type="datetime">2010-11-16T07:03:28Z</start_date>
300
303
  <end_date nil="true" type="datetime"></end_date>
301
304
  <description>charge description</description>
302
- <created_at type="datetime">2010-10-19T05:21:41Z</created_at>
305
+ <created_at type="datetime">2010-11-16T07:03:28Z</created_at>
303
306
  </line_item>
304
307
  <line_item>
305
- <id>9842d2ebd85746a9a5ee70db39489250</id>
308
+ <id>b92276331bc44fbe8e70c2495484a745</id>
306
309
  <type>charge</type>
307
310
  <amount_in_cents type="integer">1000</amount_in_cents>
308
- <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
311
+ <start_date type="datetime">2010-11-16T07:03:27Z</start_date>
309
312
  <end_date nil="true" type="datetime"></end_date>
310
313
  <description>charge description</description>
311
- <created_at type="datetime">2010-10-19T05:21:41Z</created_at>
314
+ <created_at type="datetime">2010-11-16T07:03:27Z</created_at>
312
315
  </line_item>
313
316
  </line_items>
314
317
  <payments type="array">
@@ -346,27 +349,28 @@
346
349
  content-type:
347
350
  - application/xml; charset=utf-8
348
351
  x-runtime:
349
- - "65"
352
+ - "107"
350
353
  date:
351
- - Tue, 19 Oct 2010 05:21:43 GMT
354
+ - Tue, 16 Nov 2010 07:03:28 GMT
352
355
  server:
353
356
  - nginx/0.7.65
354
357
  content-length:
355
- - "463"
358
+ - "525"
356
359
  set-cookie:
357
- - _recurly_session=bcce32d95de7b9e14ffc0659c6292a89; domain=.recurly.com; path=/; Secure; HttpOnly
360
+ - _recurly_session=8d47880d627a2a3f62e45283e5394473; domain=.recurly.com; path=/; secure; HttpOnly
358
361
  cache-control:
359
362
  - no-cache
360
363
  body: |
361
364
  <?xml version="1.0" encoding="UTF-8"?>
362
365
  <charge type="charge">
363
- <id>8f433445ff3c432a968c8ee25d45b59d</id>
366
+ <id>bfcc9e21d8374565b96e6db0c86feae4</id>
364
367
  <account_code>charge-list-invoiced-1287465632</account_code>
365
368
  <amount_in_cents type="integer">1000</amount_in_cents>
366
- <start_date type="datetime">2010-10-19T05:21:43Z</start_date>
369
+ <start_date type="datetime">2010-11-16T07:03:28Z</start_date>
367
370
  <end_date nil="true" type="datetime"></end_date>
371
+ <invoice_number nil="true" type="integer"></invoice_number>
368
372
  <description>charge description</description>
369
- <created_at type="datetime">2010-10-19T05:21:43Z</created_at>
373
+ <created_at type="datetime">2010-11-16T07:03:28Z</created_at>
370
374
  </charge>
371
375
 
372
376
  http_version: "1.1"
@@ -390,55 +394,55 @@
390
394
  x-ua-compatible:
391
395
  - IE=Edge
392
396
  etag:
393
- - "\"6b620e5a9d879872118b425fa8e3fc95\""
397
+ - "\"c88270ecbdf3691ade97557bf73f6f0e\""
394
398
  connection:
395
399
  - close
396
400
  content-type:
397
401
  - application/xml; charset=utf-8
398
402
  x-runtime:
399
- - "24"
403
+ - "76"
400
404
  date:
401
- - Tue, 19 Oct 2010 05:21:43 GMT
405
+ - Tue, 16 Nov 2010 07:03:31 GMT
402
406
  server:
403
407
  - nginx/0.7.65
404
408
  content-length:
405
409
  - "1570"
406
410
  set-cookie:
407
- - _recurly_session=6ef9ca6be832cbb52214f7f452ea9113; domain=.recurly.com; path=/; Secure; HttpOnly
411
+ - _recurly_session=b97ddf3e96e4e6ff274d37d08a6a8972; domain=.recurly.com; path=/; secure; HttpOnly
408
412
  cache-control:
409
413
  - private, max-age=0, must-revalidate
410
414
  body: |
411
415
  <?xml version="1.0" encoding="UTF-8"?>
412
416
  <charges type="array">
413
417
  <charge type="charge">
414
- <id>9842d2ebd85746a9a5ee70db39489250</id>
418
+ <id>b92276331bc44fbe8e70c2495484a745</id>
415
419
  <account_code>charge-list-invoiced-1287465632</account_code>
416
420
  <amount_in_cents type="integer">1000</amount_in_cents>
417
- <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
421
+ <start_date type="datetime">2010-11-16T07:03:27Z</start_date>
418
422
  <end_date nil="true" type="datetime"></end_date>
419
- <invoice_nunber type="integer">2069</invoice_nunber>
423
+ <invoice_number type="integer">2225</invoice_number>
420
424
  <description>charge description</description>
421
- <created_at type="datetime">2010-10-19T05:21:41Z</created_at>
425
+ <created_at type="datetime">2010-11-16T07:03:27Z</created_at>
422
426
  </charge>
423
427
  <charge type="charge">
424
- <id>447e0700996745aaa28dc0a149a36043</id>
428
+ <id>d2a076f03b544348bfdae885a76ef79c</id>
425
429
  <account_code>charge-list-invoiced-1287465632</account_code>
426
430
  <amount_in_cents type="integer">1000</amount_in_cents>
427
- <start_date type="datetime">2010-10-19T05:21:41Z</start_date>
431
+ <start_date type="datetime">2010-11-16T07:03:28Z</start_date>
428
432
  <end_date nil="true" type="datetime"></end_date>
429
- <invoice_nunber type="integer">2069</invoice_nunber>
433
+ <invoice_number type="integer">2225</invoice_number>
430
434
  <description>charge description</description>
431
- <created_at type="datetime">2010-10-19T05:21:41Z</created_at>
435
+ <created_at type="datetime">2010-11-16T07:03:28Z</created_at>
432
436
  </charge>
433
437
  <charge type="charge">
434
- <id>2f93fb97c4c94738b27f7c232256aa6a</id>
438
+ <id>75d43f60771d43e0a89b82481f1b3aed</id>
435
439
  <account_code>charge-list-invoiced-1287465632</account_code>
436
440
  <amount_in_cents type="integer">1000</amount_in_cents>
437
- <start_date type="datetime">2010-10-19T05:21:40Z</start_date>
441
+ <start_date type="datetime">2010-11-16T07:03:26Z</start_date>
438
442
  <end_date nil="true" type="datetime"></end_date>
439
- <invoice_nunber type="integer">2069</invoice_nunber>
443
+ <invoice_number type="integer">2225</invoice_number>
440
444
  <description>charge description</description>
441
- <created_at type="datetime">2010-10-19T05:21:40Z</created_at>
445
+ <created_at type="datetime">2010-11-16T07:03:26Z</created_at>
442
446
  </charge>
443
447
  </charges>
444
448