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
- - "588"
37
+ - "272"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:21:57 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
  - "577"
44
44
  set-cookie:
45
- - account_credentials=58195d0b9170555ea9b7554cc97c75690c9b2dfe2b5b300caa9fd2ad9f15abcc00962ef59d6387fc8338e7c560a7a657ba6293a4c89a1df6e582088763f495b2%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=f7689b8d83f8e190fc9323460ccdfefe532ab7402ad498760064bf76c8d2b3f3885a644eb211a5375365e1a79fb8e98b002d05fe6c002f45f594398d07074aa3%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=0e462c1a832146dbf7cc4ec0704f506b; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=3e479fe7b4a22a5161e2ab702446e409; 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>605a1f6bf04d4ab498dfac2ffa456f37</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:21:57Z</created_at>
62
+ <hosted_login_token>b182bf2e59f444b9bc2904219e166e1d</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,27 +95,28 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "64"
98
+ - "107"
99
99
  date:
100
- - Tue, 19 Oct 2010 05:21:57 GMT
100
+ - Tue, 16 Nov 2010 07:03:43 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
- - "439"
104
+ - "501"
105
105
  set-cookie:
106
- - _recurly_session=248f19a3c3e0db26e28362828c64e4e2; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=c72867a35290acd83ae66f884f0b925c; 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>3c1ae6ccab41419bbb25884c660346d7</id>
112
+ <id>ad336d6d02ad427f80f48571a981ddaa</id>
113
113
  <account_code>credit-list-1287461400</account_code>
114
114
  <amount_in_cents type="integer">-100</amount_in_cents>
115
- <start_date type="datetime">2010-10-19T05:21:57Z</start_date>
115
+ <start_date type="datetime">2010-11-16T07:03:43Z</start_date>
116
116
  <end_date nil="true" type="datetime"></end_date>
117
+ <invoice_number nil="true" type="integer"></invoice_number>
117
118
  <description>one</description>
118
- <created_at type="datetime">2010-10-19T05:21:57Z</created_at>
119
+ <created_at type="datetime">2010-11-16T07:03:43Z</created_at>
119
120
  </credit>
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
- - "65"
153
+ - "54"
153
154
  date:
154
- - Tue, 19 Oct 2010 05:21:58 GMT
155
+ - Tue, 16 Nov 2010 07:03:41 GMT
155
156
  server:
156
157
  - nginx/0.7.65
157
158
  content-length:
158
- - "439"
159
+ - "501"
159
160
  set-cookie:
160
- - _recurly_session=0250efd8ff86e126b967205c2a317be8; domain=.recurly.com; path=/; Secure; HttpOnly
161
+ - _recurly_session=bcf59fe9a3e86155da52c86dbd0ce928; 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
  <credit type="credit">
166
- <id>d55c0a3b7e7448a38bfd36e955fa5dd8</id>
167
+ <id>01fc9742817041bc80547bfb739bedbf</id>
167
168
  <account_code>credit-list-1287461400</account_code>
168
169
  <amount_in_cents type="integer">-200</amount_in_cents>
169
- <start_date type="datetime">2010-10-19T05:21:58Z</start_date>
170
+ <start_date type="datetime">2010-11-16T07:03:41Z</start_date>
170
171
  <end_date nil="true" type="datetime"></end_date>
172
+ <invoice_number nil="true" type="integer"></invoice_number>
171
173
  <description>two</description>
172
- <created_at type="datetime">2010-10-19T05:21:58Z</created_at>
174
+ <created_at type="datetime">2010-11-16T07:03:41Z</created_at>
173
175
  </credit>
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
- - "45"
208
+ - "105"
207
209
  date:
208
- - Tue, 19 Oct 2010 05:21:59 GMT
210
+ - Tue, 16 Nov 2010 07:03:44 GMT
209
211
  server:
210
212
  - nginx/0.7.65
211
213
  content-length:
212
- - "441"
214
+ - "503"
213
215
  set-cookie:
214
- - _recurly_session=3f72268f0c80fbd1ae714e98369ffbde; domain=.recurly.com; path=/; Secure; HttpOnly
216
+ - _recurly_session=ff5405c1d6f637ecf0387e4e77d6b4b1; 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
  <credit type="credit">
220
- <id>7e74edaa91204b1f8380a8ed5c7c9b80</id>
222
+ <id>ca2137dca63543ce81e0a16454b76340</id>
221
223
  <account_code>credit-list-1287461400</account_code>
222
224
  <amount_in_cents type="integer">-300</amount_in_cents>
223
- <start_date type="datetime">2010-10-19T05:21:59Z</start_date>
225
+ <start_date type="datetime">2010-11-16T07:03:44Z</start_date>
224
226
  <end_date nil="true" type="datetime"></end_date>
227
+ <invoice_number nil="true" type="integer"></invoice_number>
225
228
  <description>three</description>
226
- <created_at type="datetime">2010-10-19T05:21:59Z</created_at>
229
+ <created_at type="datetime">2010-11-16T07:03:44Z</created_at>
227
230
  </credit>
228
231
 
229
232
  http_version: "1.1"
@@ -247,52 +250,55 @@
247
250
  x-ua-compatible:
248
251
  - IE=Edge
249
252
  etag:
250
- - "\"918764094a6bdfcddd5b3e0d5834ca04\""
253
+ - "\"180d69cb4ffe67713eb2ac41f8d81ab5\""
251
254
  connection:
252
255
  - close
253
256
  content-type:
254
257
  - application/xml; charset=utf-8
255
258
  x-runtime:
256
- - "18"
259
+ - "14"
257
260
  date:
258
- - Tue, 19 Oct 2010 05:21:59 GMT
261
+ - Tue, 16 Nov 2010 07:03:42 GMT
259
262
  server:
260
263
  - nginx/0.7.65
261
264
  content-length:
262
- - "1329"
265
+ - "1521"
263
266
  set-cookie:
264
- - _recurly_session=fe22fbf10f992a5e86e3f7ae31f70f92; domain=.recurly.com; path=/; Secure; HttpOnly
267
+ - _recurly_session=4de206213bcbaab28a333e9b191936b4; 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
  <credits type="array">
270
273
  <credit type="credit">
271
- <id>7e74edaa91204b1f8380a8ed5c7c9b80</id>
274
+ <id>ca2137dca63543ce81e0a16454b76340</id>
272
275
  <account_code>credit-list-1287461400</account_code>
273
276
  <amount_in_cents type="integer">-300</amount_in_cents>
274
- <start_date type="datetime">2010-10-19T05:21:59Z</start_date>
277
+ <start_date type="datetime">2010-11-16T07:03:44Z</start_date>
275
278
  <end_date nil="true" type="datetime"></end_date>
279
+ <invoice_number nil="true" type="integer"></invoice_number>
276
280
  <description>three</description>
277
- <created_at type="datetime">2010-10-19T05:21:59Z</created_at>
281
+ <created_at type="datetime">2010-11-16T07:03:44Z</created_at>
278
282
  </credit>
279
283
  <credit type="credit">
280
- <id>d55c0a3b7e7448a38bfd36e955fa5dd8</id>
284
+ <id>01fc9742817041bc80547bfb739bedbf</id>
281
285
  <account_code>credit-list-1287461400</account_code>
282
286
  <amount_in_cents type="integer">-200</amount_in_cents>
283
- <start_date type="datetime">2010-10-19T05:21:58Z</start_date>
287
+ <start_date type="datetime">2010-11-16T07:03:41Z</start_date>
284
288
  <end_date nil="true" type="datetime"></end_date>
289
+ <invoice_number nil="true" type="integer"></invoice_number>
285
290
  <description>two</description>
286
- <created_at type="datetime">2010-10-19T05:21:58Z</created_at>
291
+ <created_at type="datetime">2010-11-16T07:03:41Z</created_at>
287
292
  </credit>
288
293
  <credit type="credit">
289
- <id>3c1ae6ccab41419bbb25884c660346d7</id>
294
+ <id>ad336d6d02ad427f80f48571a981ddaa</id>
290
295
  <account_code>credit-list-1287461400</account_code>
291
296
  <amount_in_cents type="integer">-100</amount_in_cents>
292
- <start_date type="datetime">2010-10-19T05:21:57Z</start_date>
297
+ <start_date type="datetime">2010-11-16T07:03:43Z</start_date>
293
298
  <end_date nil="true" type="datetime"></end_date>
299
+ <invoice_number nil="true" type="integer"></invoice_number>
294
300
  <description>one</description>
295
- <created_at type="datetime">2010-10-19T05:21:57Z</created_at>
301
+ <created_at type="datetime">2010-11-16T07:03:43Z</created_at>
296
302
  </credit>
297
303
  </credits>
298
304
 
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "617"
37
+ - "328"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:22:01 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
  - "581"
44
44
  set-cookie:
45
- - account_credentials=4a22bed1102e71bdd0d10bdbe46d0eb9b1f06a9e22ad8e59a56b6b41dda2f4007678621739bd622836fbdc675dcdf72ab5405f9163b395680ff5f01aa947b8ee%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=b0f84e5c496225cb9833ed73fa86ba643ec60a98bea87a1f4228cfe0e9753b7115a049f654b148f9d3db7d4618ecedd9852e78f9dc0342bd9681528f437e64b8%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=0c5684c7846822c0425f81eb965b9e24; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=e3020c7a45ceb1e39f0947ac49dc111d; 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>aff83a1f738e4f8ea73491c7f974803c</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:22:01Z</created_at>
62
+ <hosted_login_token>c7e19d6db88f4c8c949fe02bb8d7556b</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
- - "197"
98
+ - "44"
99
99
  date:
100
- - Tue, 19 Oct 2010 05:22:01 GMT
100
+ - Tue, 16 Nov 2010 07:03:44 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
- - "454"
104
+ - "516"
105
105
  set-cookie:
106
- - _recurly_session=e5d1944455f77450a8be231e49961334; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=b26a9c493777be6341f4e0132bdc8649; 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>7df2d5acab0549d5b1ef179d5631b8a8</id>
112
+ <id>cbef4350c4b2480c92ca51cf48bee4cd</id>
113
113
  <account_code>credit-lookup-1287461400</account_code>
114
114
  <amount_in_cents type="integer">-1315</amount_in_cents>
115
- <start_date type="datetime">2010-10-19T05:22:01Z</start_date>
115
+ <start_date type="datetime">2010-11-16T07:03:44Z</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:01Z</created_at>
119
+ <created_at type="datetime">2010-11-16T07:03:44Z</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-lookup-1287461400/credits/7df2d5acab0549d5b1ef179d5631b8a8.xml
126
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-lookup-1287461400/credits/cbef4350c4b2480c92ca51cf48bee4cd.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
- - "\"413e2554e83381767fd2cae1c8af08af\""
143
+ - "\"b423bc1e746f42e3be3d689a391c6012\""
143
144
  connection:
144
145
  - close
145
146
  content-type:
@@ -147,25 +148,26 @@
147
148
  x-runtime:
148
149
  - "15"
149
150
  date:
150
- - Tue, 19 Oct 2010 05:22:02 GMT
151
+ - Tue, 16 Nov 2010 07:03:47 GMT
151
152
  server:
152
153
  - nginx/0.7.65
153
154
  content-length:
154
- - "454"
155
+ - "516"
155
156
  set-cookie:
156
- - _recurly_session=5195012d47f2598e8c87eae2a631328b; domain=.recurly.com; path=/; Secure; HttpOnly
157
+ - _recurly_session=4d253152c263a47ebedd31d30880a1a8; 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>7df2d5acab0549d5b1ef179d5631b8a8</id>
163
+ <id>cbef4350c4b2480c92ca51cf48bee4cd</id>
163
164
  <account_code>credit-lookup-1287461400</account_code>
164
165
  <amount_in_cents type="integer">-1315</amount_in_cents>
165
- <start_date type="datetime">2010-10-19T05:22:01Z</start_date>
166
+ <start_date type="datetime">2010-11-16T07:03:44Z</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:01Z</created_at>
170
+ <created_at type="datetime">2010-11-16T07:03:44Z</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
- - "584"
37
+ - "273"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:22:10 GMT
39
+ - Tue, 16 Nov 2010 07:03:52 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "605"
44
44
  set-cookie:
45
- - account_credentials=2fc0c018220a7e1010a1df7fbdeed74ef79f3d45590cbbdca0a5835df649de652b85a0578253009fb3fc0e3bb9d1c8b4c37570378b08a8a6c8010ab261336bc5%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=5679a83c50fcf232f7b0ff1278c0285478f14eeee46a88eb3262813291b072c93bff20ab0a823faa72b813b276bf4db31744788e11fe522353d45bdca8a51d2d%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=843b35151c1ba8ec5a757d4cc5d6f24d; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=4222e114e0ddab9e8aa14f75f9ee6fdf; 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>3240805a51d24afba113f009f32477cd</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:22:10Z</created_at>
62
+ <hosted_login_token>d476f758072e4f72b231475dc66afa6a</hosted_login_token>
63
+ <created_at type="datetime">2010-11-16T07:03:52Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -79,7 +79,7 @@
79
79
  <country>US</country>
80
80
  <credit-card>
81
81
  <number>1</number>
82
- <month type="integer">10</month>
82
+ <month type="integer">11</month>
83
83
  <year type="integer">2011</year>
84
84
  <verification-value>123</verification-value>
85
85
  </credit-card>
@@ -105,21 +105,21 @@
105
105
  x-ua-compatible:
106
106
  - IE=Edge
107
107
  etag:
108
- - "\"eafab8957e8ddde3632070f56da8b349\""
108
+ - "\"9424cfc226204aa7275f114e6b5a9dd2\""
109
109
  connection:
110
110
  - close
111
111
  content-type:
112
112
  - application/xml; charset=utf-8
113
113
  x-runtime:
114
- - "58"
114
+ - "53"
115
115
  date:
116
- - Tue, 19 Oct 2010 05:22:11 GMT
116
+ - Tue, 16 Nov 2010 07:03:54 GMT
117
117
  server:
118
118
  - nginx/0.7.65
119
119
  content-length:
120
120
  - "650"
121
121
  set-cookie:
122
- - _recurly_session=90d82ba9184e2083317a521198e0c758; domain=.recurly.com; path=/; Secure; HttpOnly
122
+ - _recurly_session=d4782a089ab92bb829e6a8258f322791; domain=.recurly.com; path=/; secure; HttpOnly
123
123
  cache-control:
124
124
  - private, max-age=0, must-revalidate
125
125
  body: |
@@ -140,10 +140,10 @@
140
140
  <credit_card>
141
141
  <type>bogus</type>
142
142
  <last_four>1</last_four>
143
- <month type="integer">10</month>
143
+ <month type="integer">11</month>
144
144
  <year type="integer">2011</year>
145
145
  </credit_card>
146
- <updated_at type="datetime">2010-10-19T05:22:11Z</updated_at>
146
+ <updated_at type="datetime">2010-11-16T07:03:54Z</updated_at>
147
147
  </billing_info>
148
148
 
149
149
  http_version: "1.1"
@@ -175,15 +175,15 @@
175
175
  content-type:
176
176
  - application/xml; charset=utf-8
177
177
  x-runtime:
178
- - "166"
178
+ - "13"
179
179
  date:
180
- - Tue, 19 Oct 2010 05:22:12 GMT
180
+ - Tue, 16 Nov 2010 07:03:53 GMT
181
181
  server:
182
182
  - nginx/0.7.65
183
183
  content-length:
184
184
  - "98"
185
185
  set-cookie:
186
- - _recurly_session=fa3884c8935784969e9a57772e2ba1b6; domain=.recurly.com; path=/; Secure; HttpOnly
186
+ - _recurly_session=b5d282a5c719f071cfc45d20e18f60a5; domain=.recurly.com; path=/; secure; HttpOnly
187
187
  cache-control:
188
188
  - no-cache
189
189
  body: |
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "587"
37
+ - "271"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:22:07 GMT
39
+ - Tue, 16 Nov 2010 07:03:50 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "583"
44
44
  set-cookie:
45
- - account_credentials=d7d85843d8f3242cba6553eb41e3220a1a6c63ca502e22bb88b374511596fc21407a3c5872e347daffb20096c6e064b05e0c5178cd5d647b65b643553b629301%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=e065ace9b51044a2891096f6dace1ac60df0d3db56994d488b563b74bf3ab60ce10ee922a8f14f65bc54c84153db5d0696c039e8cdacdf614ca99ef7ff36e84a%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=65b9d3f58f854f3fe4a1534c4ba725d4; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=e7b35e6cce3e29adeb3c5d3a89a76214; 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>448c465031fd44af9e0989f3ac974f54</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:22:07Z</created_at>
62
+ <hosted_login_token>c6a6c82d42324eff99fe581c99e26959</hosted_login_token>
63
+ <created_at type="datetime">2010-11-16T07:03:50Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -79,7 +79,7 @@
79
79
  <country>US</country>
80
80
  <credit-card>
81
81
  <number>1</number>
82
- <month type="integer">10</month>
82
+ <month type="integer">11</month>
83
83
  <year type="integer">2011</year>
84
84
  <verification-value>123</verification-value>
85
85
  </credit-card>
@@ -105,21 +105,21 @@
105
105
  x-ua-compatible:
106
106
  - IE=Edge
107
107
  etag:
108
- - "\"344e66ab778c8426df669787ffe981ac\""
108
+ - "\"99d457bed8db723ae9437cb137b4c01f\""
109
109
  connection:
110
110
  - close
111
111
  content-type:
112
112
  - application/xml; charset=utf-8
113
113
  x-runtime:
114
- - "83"
114
+ - "55"
115
115
  date:
116
- - Tue, 19 Oct 2010 05:22:07 GMT
116
+ - Tue, 16 Nov 2010 07:03:49 GMT
117
117
  server:
118
118
  - nginx/0.7.65
119
119
  content-length:
120
120
  - "639"
121
121
  set-cookie:
122
- - _recurly_session=2fb27e99a88a574510d62862b99812e6; domain=.recurly.com; path=/; Secure; HttpOnly
122
+ - _recurly_session=8243fd12ef5697cfa548d73e57c6ba69; domain=.recurly.com; path=/; secure; HttpOnly
123
123
  cache-control:
124
124
  - private, max-age=0, must-revalidate
125
125
  body: |
@@ -140,10 +140,10 @@
140
140
  <credit_card>
141
141
  <type>bogus</type>
142
142
  <last_four>1</last_four>
143
- <month type="integer">10</month>
143
+ <month type="integer">11</month>
144
144
  <year type="integer">2011</year>
145
145
  </credit_card>
146
- <updated_at type="datetime">2010-10-19T05:22:07Z</updated_at>
146
+ <updated_at type="datetime">2010-11-16T07:03:49Z</updated_at>
147
147
  </billing_info>
148
148
 
149
149
  http_version: "1.1"
@@ -177,27 +177,28 @@
177
177
  content-type:
178
178
  - application/xml; charset=utf-8
179
179
  x-runtime:
180
- - "48"
180
+ - "44"
181
181
  date:
182
- - Tue, 19 Oct 2010 05:22:08 GMT
182
+ - Tue, 16 Nov 2010 07:03:52 GMT
183
183
  server:
184
184
  - nginx/0.7.65
185
185
  content-length:
186
- - "457"
186
+ - "519"
187
187
  set-cookie:
188
- - _recurly_session=160de5edf068f71d7c9e086efc49e382; domain=.recurly.com; path=/; Secure; HttpOnly
188
+ - _recurly_session=c6b7d17095acc73811776d14110f886a; domain=.recurly.com; path=/; secure; HttpOnly
189
189
  cache-control:
190
190
  - no-cache
191
191
  body: |
192
192
  <?xml version="1.0" encoding="UTF-8"?>
193
193
  <charge type="charge">
194
- <id>501c7d8e64d145ec998651dd4e962f92</id>
194
+ <id>71b7368fc7514fb19d72afdf346f4d48</id>
195
195
  <account_code>invoice-create-1287167121</account_code>
196
196
  <amount_in_cents type="integer">1000</amount_in_cents>
197
- <start_date type="datetime">2010-10-19T05:22:08Z</start_date>
197
+ <start_date type="datetime">2010-11-16T07:03:52Z</start_date>
198
198
  <end_date nil="true" type="datetime"></end_date>
199
+ <invoice_number nil="true" type="integer"></invoice_number>
199
200
  <description>charge description</description>
200
- <created_at type="datetime">2010-10-19T05:22:08Z</created_at>
201
+ <created_at type="datetime">2010-11-16T07:03:52Z</created_at>
201
202
  </charge>
202
203
 
203
204
  http_version: "1.1"
@@ -231,27 +232,28 @@
231
232
  content-type:
232
233
  - application/xml; charset=utf-8
233
234
  x-runtime:
234
- - "47"
235
+ - "60"
235
236
  date:
236
- - Tue, 19 Oct 2010 05:22:09 GMT
237
+ - Tue, 16 Nov 2010 07:03:50 GMT
237
238
  server:
238
239
  - nginx/0.7.65
239
240
  content-length:
240
- - "457"
241
+ - "519"
241
242
  set-cookie:
242
- - _recurly_session=3139691003bc1d41667f6ddb4c0dfbcc; domain=.recurly.com; path=/; Secure; HttpOnly
243
+ - _recurly_session=550ca80a44cf964b7daf27046ae332cd; domain=.recurly.com; path=/; secure; HttpOnly
243
244
  cache-control:
244
245
  - no-cache
245
246
  body: |
246
247
  <?xml version="1.0" encoding="UTF-8"?>
247
248
  <charge type="charge">
248
- <id>273b0d7386ea42129c0cb27be8ed59f8</id>
249
+ <id>ce52f13faded48299bff6a50ff2622f9</id>
249
250
  <account_code>invoice-create-1287167121</account_code>
250
251
  <amount_in_cents type="integer">1500</amount_in_cents>
251
- <start_date type="datetime">2010-10-19T05:22:09Z</start_date>
252
+ <start_date type="datetime">2010-11-16T07:03:50Z</start_date>
252
253
  <end_date nil="true" type="datetime"></end_date>
254
+ <invoice_number nil="true" type="integer"></invoice_number>
253
255
  <description>charge description</description>
254
- <created_at type="datetime">2010-10-19T05:22:09Z</created_at>
256
+ <created_at type="datetime">2010-11-16T07:03:50Z</created_at>
255
257
  </charge>
256
258
 
257
259
  http_version: "1.1"
@@ -279,30 +281,30 @@
279
281
  message: Created
280
282
  headers:
281
283
  location:
282
- - https://recurlytest3-test.recurly.com/invoices/830d226d85a042f0934f52c386ae3573
284
+ - https://recurlytest3-test.recurly.com/invoices/62eb8676366c4febbb7ec2c7d94fb58a
283
285
  connection:
284
286
  - close
285
287
  content-type:
286
288
  - application/xml; charset=utf-8
287
289
  x-runtime:
288
- - "101"
290
+ - "66"
289
291
  date:
290
- - Tue, 19 Oct 2010 05:22:09 GMT
292
+ - Tue, 16 Nov 2010 07:03:53 GMT
291
293
  server:
292
294
  - nginx/0.7.65
293
295
  content-length:
294
296
  - "1517"
295
297
  set-cookie:
296
- - _recurly_session=18d70b4909efb2e9c1b4cd6046b90c50; domain=.recurly.com; path=/; Secure; HttpOnly
298
+ - _recurly_session=ae49291fbf06f7aa54711c1795b52243; domain=.recurly.com; path=/; secure; HttpOnly
297
299
  cache-control:
298
300
  - no-cache
299
301
  body: |
300
302
  <?xml version="1.0" encoding="UTF-8"?>
301
303
  <invoice>
302
- <id>830d226d85a042f0934f52c386ae3573</id>
304
+ <id>62eb8676366c4febbb7ec2c7d94fb58a</id>
303
305
  <account_code>invoice-create-1287167121</account_code>
304
- <date type="datetime">2010-10-19T05:22:09Z</date>
305
- <invoice_number type="integer">2070</invoice_number>
306
+ <date type="datetime">2010-11-16T07:03:53Z</date>
307
+ <invoice_number type="integer">2226</invoice_number>
306
308
  <vat_number></vat_number>
307
309
  <status>open</status>
308
310
  <subtotal_in_cents type="integer">2500</subtotal_in_cents>
@@ -312,22 +314,22 @@
312
314
  <total_due_in_cents type="integer">2500</total_due_in_cents>
313
315
  <line_items type="array">
314
316
  <line_item>
315
- <id>501c7d8e64d145ec998651dd4e962f92</id>
317
+ <id>71b7368fc7514fb19d72afdf346f4d48</id>
316
318
  <type>charge</type>
317
319
  <amount_in_cents type="integer">1000</amount_in_cents>
318
- <start_date type="datetime">2010-10-19T05:22:08Z</start_date>
320
+ <start_date type="datetime">2010-11-16T07:03:52Z</start_date>
319
321
  <end_date nil="true" type="datetime"></end_date>
320
322
  <description>charge description</description>
321
- <created_at type="datetime">2010-10-19T05:22:08Z</created_at>
323
+ <created_at type="datetime">2010-11-16T07:03:52Z</created_at>
322
324
  </line_item>
323
325
  <line_item>
324
- <id>273b0d7386ea42129c0cb27be8ed59f8</id>
326
+ <id>ce52f13faded48299bff6a50ff2622f9</id>
325
327
  <type>charge</type>
326
328
  <amount_in_cents type="integer">1500</amount_in_cents>
327
- <start_date type="datetime">2010-10-19T05:22:09Z</start_date>
329
+ <start_date type="datetime">2010-11-16T07:03:50Z</start_date>
328
330
  <end_date nil="true" type="datetime"></end_date>
329
331
  <description>charge description</description>
330
- <created_at type="datetime">2010-10-19T05:22:09Z</created_at>
332
+ <created_at type="datetime">2010-11-16T07:03:50Z</created_at>
331
333
  </line_item>
332
334
  </line_items>
333
335
  <payments type="array">