recurly 0.2.4 → 0.2.5

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

Potentially problematic release.


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

Files changed (62) hide show
  1. data/lib/recurly/charge.rb +5 -6
  2. data/lib/recurly/version.rb +1 -1
  3. data/spec/integration/charge_spec.rb +1 -0
  4. data/spec/vcr/account/close/1287167046.yml +15 -15
  5. data/spec/vcr/account/create-blank/1287167046.yml +3 -3
  6. data/spec/vcr/account/create-duplicate/1287167046.yml +9 -9
  7. data/spec/vcr/account/create-min/1287167046.yml +6 -6
  8. data/spec/vcr/account/create/1287167046.yml +6 -6
  9. data/spec/vcr/account/find/1287167046.yml +14 -14
  10. data/spec/vcr/account/list/1287167046.yml +100 -100
  11. data/spec/vcr/account/update/1287167046.yml +26 -26
  12. data/spec/vcr/billing/create/1286682213.yml +16 -16
  13. data/spec/vcr/billing/destroy/1286682213.yml +24 -24
  14. data/spec/vcr/billing/find/1286682213.yml +20 -20
  15. data/spec/vcr/billing/update/1286682213.yml +21 -21
  16. data/spec/vcr/charge/create/{1286681273.yml → 1287465632.yml} +35 -35
  17. data/spec/vcr/charge/delete-uninvoiced/{1287460783.yml → 1287465632.yml} +102 -56
  18. data/spec/vcr/charge/list-all/{1286681273.yml → 1287465632.yml} +51 -51
  19. data/spec/vcr/charge/list-invoiced/{1286681273.yml → 1287465632.yml} +80 -80
  20. data/spec/vcr/charge/list-pending/{1286681273.yml → 1287465632.yml} +51 -51
  21. data/spec/vcr/charge/lookup/{1286681273.yml → 1287465632.yml} +27 -27
  22. data/spec/vcr/credit/create/{1287461340.yml → 1287461400.yml} +25 -25
  23. data/spec/vcr/credit/{delete-uninvoiced/1287460732.yml → delete/1287461400.yml} +34 -34
  24. data/spec/vcr/credit/list/{1287460732.yml → 1287461400.yml} +50 -50
  25. data/spec/vcr/credit/lookup/{1287461340.yml → 1287461400.yml} +26 -26
  26. data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
  27. data/spec/vcr/invoice/create/1287167121.yml +36 -36
  28. data/spec/vcr/invoice/list/1287167121.yml +51 -51
  29. data/spec/vcr/invoice/lookup/1287167121.yml +37 -37
  30. data/spec/vcr/plan/all.yml +9 -9
  31. data/spec/vcr/plan/delete/1286677585.yml +16 -16
  32. data/spec/vcr/plan/find.yml +9 -9
  33. data/spec/vcr/plan/update.yml +9 -9
  34. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +51 -51
  35. data/spec/vcr/subscription/cancel/1287455769.yml +42 -42
  36. data/spec/vcr/subscription/change1/1287455769.yml +38 -38
  37. data/spec/vcr/subscription/change2/1287455769.yml +38 -38
  38. data/spec/vcr/subscription/create/1287455769.yml +17 -17
  39. data/spec/vcr/subscription/find/1287455769.yml +24 -24
  40. data/spec/vcr/subscription/reactivate/1287455769.yml +44 -44
  41. data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
  42. data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
  43. data/spec/vcr/subscription/refund-partial/1287455769.yml +36 -36
  44. data/spec/vcr/transaction/all/1287186411.yml +45 -45
  45. data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
  46. data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
  47. data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
  48. data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
  49. data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
  50. data/spec/vcr/transaction/refund/1287186411.yml +24 -24
  51. data/spec/vcr/transaction/void/1287186411.yml +61 -61
  52. metadata +23 -43
  53. data/spec/vcr/credit/create/1286681343.yml +0 -171
  54. data/spec/vcr/credit/create/1287460732.yml +0 -171
  55. data/spec/vcr/credit/delete-invoiced/1287460732.yml +0 -233
  56. data/spec/vcr/credit/delete-invoiced/1287461340.yml +0 -283
  57. data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +0 -246
  58. data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +0 -221
  59. data/spec/vcr/credit/list/1286681343.yml +0 -299
  60. data/spec/vcr/credit/list/1287461340.yml +0 -299
  61. data/spec/vcr/credit/lookup/1286681343.yml +0 -171
  62. data/spec/vcr/credit/lookup/1287460732.yml +0 -171
@@ -6,8 +6,8 @@
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
- <account-code>credit-lookup-1287461340</account-code>
10
9
  <company-name>Recurly Ruby Gem</company-name>
10
+ <account-code>credit-lookup-1287461400</account-code>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
13
13
  <first-name>Verena</first-name>
@@ -28,30 +28,30 @@
28
28
  message: Created
29
29
  headers:
30
30
  location:
31
- - https://recurlytest3-test.recurly.com/accounts/credit-lookup-1287461340
31
+ - https://recurlytest3-test.recurly.com/accounts/credit-lookup-1287461400
32
32
  connection:
33
33
  - close
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "609"
37
+ - "617"
38
38
  date:
39
- - Tue, 19 Oct 2010 04:09:14 GMT
39
+ - Tue, 19 Oct 2010 05:22:01 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "581"
44
44
  set-cookie:
45
- - account_credentials=046bae521e071fa785b8dc73ffb146458b8cd820626ccdc01bebe25abb9244bc0ae686ed4e3ec6f92d201bc1c19a790f3360a130cf319166b16ec2bd0fd17506%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=4a22bed1102e71bdd0d10bdbe46d0eb9b1f06a9e22ad8e59a56b6b41dda2f4007678621739bd622836fbdc675dcdf72ab5405f9163b395680ff5f01aa947b8ee%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=d117ee5f9c732d050ab74887886c19fc; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=0c5684c7846822c0425f81eb965b9e24; domain=.recurly.com; path=/; Secure; HttpOnly
48
48
  cache-control:
49
49
  - no-cache
50
50
  body: |
51
51
  <?xml version="1.0" encoding="UTF-8"?>
52
52
  <account>
53
- <id>credit-lookup-1287461340</id>
54
- <account_code>credit-lookup-1287461340</account_code>
53
+ <id>credit-lookup-1287461400</id>
54
+ <account_code>credit-lookup-1287461400</account_code>
55
55
  <username></username>
56
56
  <email>verena@test.com</email>
57
57
  <first_name>Verena</first_name>
@@ -59,8 +59,8 @@
59
59
  <company_name>Recurly Ruby Gem</company_name>
60
60
  <balance_in_cents type="integer">0</balance_in_cents>
61
61
  <closed type="boolean">false</closed>
62
- <hosted_login_token>cf97dca0555549bfb06fcbedeb650c4d</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T04:09:14Z</created_at>
62
+ <hosted_login_token>aff83a1f738e4f8ea73491c7f974803c</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T05:22:01Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -68,7 +68,7 @@
68
68
  - !ruby/struct:VCR::HTTPInteraction
69
69
  request: !ruby/struct:VCR::Request
70
70
  method: :post
71
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-lookup-1287461340/credits.xml
71
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-lookup-1287461400/credits.xml
72
72
  body: |
73
73
  <?xml version="1.0" encoding="UTF-8"?>
74
74
  <credit>
@@ -95,34 +95,34 @@
95
95
  content-type:
96
96
  - application/xml; charset=utf-8
97
97
  x-runtime:
98
- - "194"
98
+ - "197"
99
99
  date:
100
- - Tue, 19 Oct 2010 04:09:15 GMT
100
+ - Tue, 19 Oct 2010 05:22:01 GMT
101
101
  server:
102
102
  - nginx/0.7.65
103
103
  content-length:
104
104
  - "454"
105
105
  set-cookie:
106
- - _recurly_session=567b945bb8f008cc47182483bf4fb03b; domain=.recurly.com; path=/; Secure; HttpOnly
106
+ - _recurly_session=e5d1944455f77450a8be231e49961334; 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>d08748f865d84d35bbf0d59e3ad5c81c</id>
113
- <account_code>credit-lookup-1287461340</account_code>
112
+ <id>7df2d5acab0549d5b1ef179d5631b8a8</id>
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-19T04:09:14Z</start_date>
115
+ <start_date type="datetime">2010-10-19T05:22:01Z</start_date>
116
116
  <end_date nil="true" type="datetime"></end_date>
117
117
  <description>free moniez 4 u</description>
118
- <created_at type="datetime">2010-10-19T04:09:14Z</created_at>
118
+ <created_at type="datetime">2010-10-19T05:22:01Z</created_at>
119
119
  </credit>
120
120
 
121
121
  http_version: "1.1"
122
122
  - !ruby/struct:VCR::HTTPInteraction
123
123
  request: !ruby/struct:VCR::Request
124
124
  method: :get
125
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-lookup-1287461340/credits/d08748f865d84d35bbf0d59e3ad5c81c.xml
125
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-lookup-1287461400/credits/7df2d5acab0549d5b1ef179d5631b8a8.xml
126
126
  body:
127
127
  headers:
128
128
  accept:
@@ -139,7 +139,7 @@
139
139
  x-ua-compatible:
140
140
  - IE=Edge
141
141
  etag:
142
- - "\"d82ef6d916d896fda4b2e1794b9ead48\""
142
+ - "\"413e2554e83381767fd2cae1c8af08af\""
143
143
  connection:
144
144
  - close
145
145
  content-type:
@@ -147,25 +147,25 @@
147
147
  x-runtime:
148
148
  - "15"
149
149
  date:
150
- - Tue, 19 Oct 2010 04:09:15 GMT
150
+ - Tue, 19 Oct 2010 05:22:02 GMT
151
151
  server:
152
152
  - nginx/0.7.65
153
153
  content-length:
154
154
  - "454"
155
155
  set-cookie:
156
- - _recurly_session=38341244f2fa8c036104f50812025142; domain=.recurly.com; path=/; Secure; HttpOnly
156
+ - _recurly_session=5195012d47f2598e8c87eae2a631328b; domain=.recurly.com; path=/; Secure; HttpOnly
157
157
  cache-control:
158
158
  - private, max-age=0, must-revalidate
159
159
  body: |
160
160
  <?xml version="1.0" encoding="UTF-8"?>
161
161
  <credit type="credit">
162
- <id>d08748f865d84d35bbf0d59e3ad5c81c</id>
163
- <account_code>credit-lookup-1287461340</account_code>
162
+ <id>7df2d5acab0549d5b1ef179d5631b8a8</id>
163
+ <account_code>credit-lookup-1287461400</account_code>
164
164
  <amount_in_cents type="integer">-1315</amount_in_cents>
165
- <start_date type="datetime">2010-10-19T04:09:14Z</start_date>
165
+ <start_date type="datetime">2010-10-19T05:22:01Z</start_date>
166
166
  <end_date nil="true" type="datetime"></end_date>
167
167
  <description>free moniez 4 u</description>
168
- <created_at type="datetime">2010-10-19T04:09:14Z</created_at>
168
+ <created_at type="datetime">2010-10-19T05:22:01Z</created_at>
169
169
  </credit>
170
170
 
171
171
  http_version: "1.1"
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "588"
37
+ - "584"
38
38
  date:
39
- - Tue, 19 Oct 2010 03:19:51 GMT
39
+ - Tue, 19 Oct 2010 05:22:10 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "605"
44
44
  set-cookie:
45
- - account_credentials=91658633c691f46044375ce87f6b301d572c7814a8519992bdf0268526959c2d721aad6581644aa7a31eb7ce356462bb2defa84e8890ac3b46c4dfd0e7adb4f9%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=2fc0c018220a7e1010a1df7fbdeed74ef79f3d45590cbbdca0a5835df649de652b85a0578253009fb3fc0e3bb9d1c8b4c37570378b08a8a6c8010ab261336bc5%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=d34a7ab5619ffc792b25b780fd58ef7d; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=843b35151c1ba8ec5a757d4cc5d6f24d; 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>d245051fe7184f0cb123063eb7823a23</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T03:19:51Z</created_at>
62
+ <hosted_login_token>3240805a51d24afba113f009f32477cd</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T05:22:10Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -105,21 +105,21 @@
105
105
  x-ua-compatible:
106
106
  - IE=Edge
107
107
  etag:
108
- - "\"34232f41987c1971de4d6f03b33d9af6\""
108
+ - "\"eafab8957e8ddde3632070f56da8b349\""
109
109
  connection:
110
110
  - close
111
111
  content-type:
112
112
  - application/xml; charset=utf-8
113
113
  x-runtime:
114
- - "227"
114
+ - "58"
115
115
  date:
116
- - Tue, 19 Oct 2010 03:19:52 GMT
116
+ - Tue, 19 Oct 2010 05:22:11 GMT
117
117
  server:
118
118
  - nginx/0.7.65
119
119
  content-length:
120
120
  - "650"
121
121
  set-cookie:
122
- - _recurly_session=bfdb924ea5f408b63909162b84e6aab6; domain=.recurly.com; path=/; Secure; HttpOnly
122
+ - _recurly_session=90d82ba9184e2083317a521198e0c758; domain=.recurly.com; path=/; Secure; HttpOnly
123
123
  cache-control:
124
124
  - private, max-age=0, must-revalidate
125
125
  body: |
@@ -143,7 +143,7 @@
143
143
  <month type="integer">10</month>
144
144
  <year type="integer">2011</year>
145
145
  </credit_card>
146
- <updated_at type="datetime">2010-10-19T03:19:52Z</updated_at>
146
+ <updated_at type="datetime">2010-10-19T05:22:11Z</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
- - "13"
178
+ - "166"
179
179
  date:
180
- - Tue, 19 Oct 2010 03:19:52 GMT
180
+ - Tue, 19 Oct 2010 05:22:12 GMT
181
181
  server:
182
182
  - nginx/0.7.65
183
183
  content-length:
184
184
  - "98"
185
185
  set-cookie:
186
- - _recurly_session=3c415f090a3c0eb7e2c4c7048f31f14d; domain=.recurly.com; path=/; Secure; HttpOnly
186
+ - _recurly_session=fa3884c8935784969e9a57772e2ba1b6; 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
- - "751"
37
+ - "587"
38
38
  date:
39
- - Tue, 19 Oct 2010 03:19:47 GMT
39
+ - Tue, 19 Oct 2010 05:22:07 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "583"
44
44
  set-cookie:
45
- - account_credentials=bbfa064dab12fcc0883f671b4555fcd02ddccca99bb34492773c099404adb2b6a14bef7608d276160e309dd7892fb43f1f1902c217fa9c3f7ca7daffe5d5fbb2%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=d7d85843d8f3242cba6553eb41e3220a1a6c63ca502e22bb88b374511596fc21407a3c5872e347daffb20096c6e064b05e0c5178cd5d647b65b643553b629301%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=1c859bc10c9c5d3d57de5af7a7123948; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=65b9d3f58f854f3fe4a1534c4ba725d4; 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>9b328fb7b50a4451b5171f6cbbbdac0e</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T03:19:46Z</created_at>
62
+ <hosted_login_token>448c465031fd44af9e0989f3ac974f54</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T05:22:07Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -105,21 +105,21 @@
105
105
  x-ua-compatible:
106
106
  - IE=Edge
107
107
  etag:
108
- - "\"d5810a9a9d3d95cbae0f3048f7c8937c\""
108
+ - "\"344e66ab778c8426df669787ffe981ac\""
109
109
  connection:
110
110
  - close
111
111
  content-type:
112
112
  - application/xml; charset=utf-8
113
113
  x-runtime:
114
- - "59"
114
+ - "83"
115
115
  date:
116
- - Tue, 19 Oct 2010 03:19:47 GMT
116
+ - Tue, 19 Oct 2010 05:22:07 GMT
117
117
  server:
118
118
  - nginx/0.7.65
119
119
  content-length:
120
120
  - "639"
121
121
  set-cookie:
122
- - _recurly_session=ec978eaa6bdbe2b1ba44bcb4e3b6afa8; domain=.recurly.com; path=/; Secure; HttpOnly
122
+ - _recurly_session=2fb27e99a88a574510d62862b99812e6; domain=.recurly.com; path=/; Secure; HttpOnly
123
123
  cache-control:
124
124
  - private, max-age=0, must-revalidate
125
125
  body: |
@@ -143,7 +143,7 @@
143
143
  <month type="integer">10</month>
144
144
  <year type="integer">2011</year>
145
145
  </credit_card>
146
- <updated_at type="datetime">2010-10-19T03:19:47Z</updated_at>
146
+ <updated_at type="datetime">2010-10-19T05:22:07Z</updated_at>
147
147
  </billing_info>
148
148
 
149
149
  http_version: "1.1"
@@ -177,27 +177,27 @@
177
177
  content-type:
178
178
  - application/xml; charset=utf-8
179
179
  x-runtime:
180
- - "64"
180
+ - "48"
181
181
  date:
182
- - Tue, 19 Oct 2010 03:19:48 GMT
182
+ - Tue, 19 Oct 2010 05:22:08 GMT
183
183
  server:
184
184
  - nginx/0.7.65
185
185
  content-length:
186
186
  - "457"
187
187
  set-cookie:
188
- - _recurly_session=4d5063924cf90014b4242b7192cac569; domain=.recurly.com; path=/; Secure; HttpOnly
188
+ - _recurly_session=160de5edf068f71d7c9e086efc49e382; 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>037d038406b4463283989968edaa7bb3</id>
194
+ <id>501c7d8e64d145ec998651dd4e962f92</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-19T03:19:48Z</start_date>
197
+ <start_date type="datetime">2010-10-19T05:22:08Z</start_date>
198
198
  <end_date nil="true" type="datetime"></end_date>
199
199
  <description>charge description</description>
200
- <created_at type="datetime">2010-10-19T03:19:48Z</created_at>
200
+ <created_at type="datetime">2010-10-19T05:22:08Z</created_at>
201
201
  </charge>
202
202
 
203
203
  http_version: "1.1"
@@ -231,27 +231,27 @@
231
231
  content-type:
232
232
  - application/xml; charset=utf-8
233
233
  x-runtime:
234
- - "65"
234
+ - "47"
235
235
  date:
236
- - Tue, 19 Oct 2010 03:19:49 GMT
236
+ - Tue, 19 Oct 2010 05:22:09 GMT
237
237
  server:
238
238
  - nginx/0.7.65
239
239
  content-length:
240
240
  - "457"
241
241
  set-cookie:
242
- - _recurly_session=0e0d8943cfcbb0cc1ff469179837b683; domain=.recurly.com; path=/; Secure; HttpOnly
242
+ - _recurly_session=3139691003bc1d41667f6ddb4c0dfbcc; domain=.recurly.com; path=/; Secure; HttpOnly
243
243
  cache-control:
244
244
  - no-cache
245
245
  body: |
246
246
  <?xml version="1.0" encoding="UTF-8"?>
247
247
  <charge type="charge">
248
- <id>21cbd02ead9740aba0d472ba90c89876</id>
248
+ <id>273b0d7386ea42129c0cb27be8ed59f8</id>
249
249
  <account_code>invoice-create-1287167121</account_code>
250
250
  <amount_in_cents type="integer">1500</amount_in_cents>
251
- <start_date type="datetime">2010-10-19T03:19:49Z</start_date>
251
+ <start_date type="datetime">2010-10-19T05:22:09Z</start_date>
252
252
  <end_date nil="true" type="datetime"></end_date>
253
253
  <description>charge description</description>
254
- <created_at type="datetime">2010-10-19T03:19:49Z</created_at>
254
+ <created_at type="datetime">2010-10-19T05:22:09Z</created_at>
255
255
  </charge>
256
256
 
257
257
  http_version: "1.1"
@@ -279,30 +279,30 @@
279
279
  message: Created
280
280
  headers:
281
281
  location:
282
- - https://recurlytest3-test.recurly.com/invoices/6f492c3de8534352bb80b074596f8a51
282
+ - https://recurlytest3-test.recurly.com/invoices/830d226d85a042f0934f52c386ae3573
283
283
  connection:
284
284
  - close
285
285
  content-type:
286
286
  - application/xml; charset=utf-8
287
287
  x-runtime:
288
- - "73"
288
+ - "101"
289
289
  date:
290
- - Tue, 19 Oct 2010 03:19:50 GMT
290
+ - Tue, 19 Oct 2010 05:22:09 GMT
291
291
  server:
292
292
  - nginx/0.7.65
293
293
  content-length:
294
294
  - "1517"
295
295
  set-cookie:
296
- - _recurly_session=ae782894c320873f5f06bc23fdb38bb9; domain=.recurly.com; path=/; Secure; HttpOnly
296
+ - _recurly_session=18d70b4909efb2e9c1b4cd6046b90c50; domain=.recurly.com; path=/; Secure; HttpOnly
297
297
  cache-control:
298
298
  - no-cache
299
299
  body: |
300
300
  <?xml version="1.0" encoding="UTF-8"?>
301
301
  <invoice>
302
- <id>6f492c3de8534352bb80b074596f8a51</id>
302
+ <id>830d226d85a042f0934f52c386ae3573</id>
303
303
  <account_code>invoice-create-1287167121</account_code>
304
- <date type="datetime">2010-10-19T03:19:49Z</date>
305
- <invoice_number type="integer">1994</invoice_number>
304
+ <date type="datetime">2010-10-19T05:22:09Z</date>
305
+ <invoice_number type="integer">2070</invoice_number>
306
306
  <vat_number></vat_number>
307
307
  <status>open</status>
308
308
  <subtotal_in_cents type="integer">2500</subtotal_in_cents>
@@ -312,22 +312,22 @@
312
312
  <total_due_in_cents type="integer">2500</total_due_in_cents>
313
313
  <line_items type="array">
314
314
  <line_item>
315
- <id>037d038406b4463283989968edaa7bb3</id>
315
+ <id>501c7d8e64d145ec998651dd4e962f92</id>
316
316
  <type>charge</type>
317
317
  <amount_in_cents type="integer">1000</amount_in_cents>
318
- <start_date type="datetime">2010-10-19T03:19:48Z</start_date>
318
+ <start_date type="datetime">2010-10-19T05:22:08Z</start_date>
319
319
  <end_date nil="true" type="datetime"></end_date>
320
320
  <description>charge description</description>
321
- <created_at type="datetime">2010-10-19T03:19:48Z</created_at>
321
+ <created_at type="datetime">2010-10-19T05:22:08Z</created_at>
322
322
  </line_item>
323
323
  <line_item>
324
- <id>21cbd02ead9740aba0d472ba90c89876</id>
324
+ <id>273b0d7386ea42129c0cb27be8ed59f8</id>
325
325
  <type>charge</type>
326
326
  <amount_in_cents type="integer">1500</amount_in_cents>
327
- <start_date type="datetime">2010-10-19T03:19:49Z</start_date>
327
+ <start_date type="datetime">2010-10-19T05:22:09Z</start_date>
328
328
  <end_date nil="true" type="datetime"></end_date>
329
329
  <description>charge description</description>
330
- <created_at type="datetime">2010-10-19T03:19:49Z</created_at>
330
+ <created_at type="datetime">2010-10-19T05:22:09Z</created_at>
331
331
  </line_item>
332
332
  </line_items>
333
333
  <payments type="array">
@@ -36,15 +36,15 @@
36
36
  x-runtime:
37
37
  - "585"
38
38
  date:
39
- - Tue, 19 Oct 2010 03:19:54 GMT
39
+ - Tue, 19 Oct 2010 05:22:13 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "579"
44
44
  set-cookie:
45
- - account_credentials=f8d50568ca4724f1bb8ce51b99c4734899990b9ebf9c084b1482066181b5792dfa4d454a28eb3de3f5f00e6fce361ed9079e3803641ab98658f949534ea19a73%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=9710206895e7392f1a184de558653369f8470e25675ba61918d2c00df887b66f2107a8d43377dac5a2c451c1cdf0ebb859485beb58f2cc49c7f015be5faf3381%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=518af601a5317f1810f2df7f0e14eeab; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=794dbb42847f35ec9d9af8351827d7d7; 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>00840f50067748b6a3c4e009b8625423</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T03:19:54Z</created_at>
62
+ <hosted_login_token>7faeadfe82d844f8aff67211269be43a</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T05:22:13Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -105,21 +105,21 @@
105
105
  x-ua-compatible:
106
106
  - IE=Edge
107
107
  etag:
108
- - "\"92cf5c8fe63f1bc40334dd1894cfd04b\""
108
+ - "\"b5d833485f20b09c709a7ac0d79c21c4\""
109
109
  connection:
110
110
  - close
111
111
  content-type:
112
112
  - application/xml; charset=utf-8
113
113
  x-runtime:
114
- - "82"
114
+ - "57"
115
115
  date:
116
- - Tue, 19 Oct 2010 03:19:55 GMT
116
+ - Tue, 19 Oct 2010 05:22:14 GMT
117
117
  server:
118
118
  - nginx/0.7.65
119
119
  content-length:
120
120
  - "637"
121
121
  set-cookie:
122
- - _recurly_session=cd4b7a5b1d767eb90f7a3d6f6944ccb4; domain=.recurly.com; path=/; Secure; HttpOnly
122
+ - _recurly_session=e2a6963f6b737df0d6e707587f929db8; domain=.recurly.com; path=/; Secure; HttpOnly
123
123
  cache-control:
124
124
  - private, max-age=0, must-revalidate
125
125
  body: |
@@ -143,7 +143,7 @@
143
143
  <month type="integer">10</month>
144
144
  <year type="integer">2011</year>
145
145
  </credit_card>
146
- <updated_at type="datetime">2010-10-19T03:19:55Z</updated_at>
146
+ <updated_at type="datetime">2010-10-19T05:22:14Z</updated_at>
147
147
  </billing_info>
148
148
 
149
149
  http_version: "1.1"
@@ -177,27 +177,27 @@
177
177
  content-type:
178
178
  - application/xml; charset=utf-8
179
179
  x-runtime:
180
- - "44"
180
+ - "230"
181
181
  date:
182
- - Tue, 19 Oct 2010 03:19:55 GMT
182
+ - Tue, 19 Oct 2010 05:22:14 GMT
183
183
  server:
184
184
  - nginx/0.7.65
185
185
  content-length:
186
186
  - "454"
187
187
  set-cookie:
188
- - _recurly_session=bf119231da2c4aee08d16a8a588ca2e1; domain=.recurly.com; path=/; Secure; HttpOnly
188
+ - _recurly_session=4c02bafa81f3d704788f7ba08c77c342; 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>c1c7a769cadd4cdb93aa9b8bc04694c9</id>
194
+ <id>debe38c17c274f1cb7c2d47d5c1bd5f0</id>
195
195
  <account_code>invoice-list-1287167121</account_code>
196
196
  <amount_in_cents type="integer">100</amount_in_cents>
197
- <start_date type="datetime">2010-10-19T03:19:55Z</start_date>
197
+ <start_date type="datetime">2010-10-19T05:22:14Z</start_date>
198
198
  <end_date nil="true" type="datetime"></end_date>
199
199
  <description>charge description</description>
200
- <created_at type="datetime">2010-10-19T03:19:55Z</created_at>
200
+ <created_at type="datetime">2010-10-19T05:22:14Z</created_at>
201
201
  </charge>
202
202
 
203
203
  http_version: "1.1"
@@ -225,30 +225,30 @@
225
225
  message: Created
226
226
  headers:
227
227
  location:
228
- - https://recurlytest3-test.recurly.com/invoices/b08ffa1cce634dc8a21ccad00ba16795
228
+ - https://recurlytest3-test.recurly.com/invoices/9e615b70a3464039b82770aafc0e1716
229
229
  connection:
230
230
  - close
231
231
  content-type:
232
232
  - application/xml; charset=utf-8
233
233
  x-runtime:
234
- - "67"
234
+ - "66"
235
235
  date:
236
- - Tue, 19 Oct 2010 03:19:56 GMT
236
+ - Tue, 19 Oct 2010 05:22:15 GMT
237
237
  server:
238
238
  - nginx/0.7.65
239
239
  content-length:
240
240
  - "1100"
241
241
  set-cookie:
242
- - _recurly_session=8966af3ed2d54030618762570575759b; domain=.recurly.com; path=/; Secure; HttpOnly
242
+ - _recurly_session=3cb46380b3a772518e3ec3cc6641b91e; domain=.recurly.com; path=/; Secure; HttpOnly
243
243
  cache-control:
244
244
  - no-cache
245
245
  body: |
246
246
  <?xml version="1.0" encoding="UTF-8"?>
247
247
  <invoice>
248
- <id>b08ffa1cce634dc8a21ccad00ba16795</id>
248
+ <id>9e615b70a3464039b82770aafc0e1716</id>
249
249
  <account_code>invoice-list-1287167121</account_code>
250
- <date type="datetime">2010-10-19T03:19:56Z</date>
251
- <invoice_number type="integer">1995</invoice_number>
250
+ <date type="datetime">2010-10-19T05:22:15Z</date>
251
+ <invoice_number type="integer">2071</invoice_number>
252
252
  <vat_number></vat_number>
253
253
  <status>open</status>
254
254
  <subtotal_in_cents type="integer">100</subtotal_in_cents>
@@ -258,13 +258,13 @@
258
258
  <total_due_in_cents type="integer">100</total_due_in_cents>
259
259
  <line_items type="array">
260
260
  <line_item>
261
- <id>c1c7a769cadd4cdb93aa9b8bc04694c9</id>
261
+ <id>debe38c17c274f1cb7c2d47d5c1bd5f0</id>
262
262
  <type>charge</type>
263
263
  <amount_in_cents type="integer">100</amount_in_cents>
264
- <start_date type="datetime">2010-10-19T03:19:55Z</start_date>
264
+ <start_date type="datetime">2010-10-19T05:22:14Z</start_date>
265
265
  <end_date nil="true" type="datetime"></end_date>
266
266
  <description>charge description</description>
267
- <created_at type="datetime">2010-10-19T03:19:55Z</created_at>
267
+ <created_at type="datetime">2010-10-19T05:22:14Z</created_at>
268
268
  </line_item>
269
269
  </line_items>
270
270
  <payments type="array">
@@ -302,27 +302,27 @@
302
302
  content-type:
303
303
  - application/xml; charset=utf-8
304
304
  x-runtime:
305
- - "65"
305
+ - "45"
306
306
  date:
307
- - Tue, 19 Oct 2010 03:19:57 GMT
307
+ - Tue, 19 Oct 2010 05:22:16 GMT
308
308
  server:
309
309
  - nginx/0.7.65
310
310
  content-length:
311
311
  - "454"
312
312
  set-cookie:
313
- - _recurly_session=3725daa8f99ef8abfaf498245c3e4ecc; domain=.recurly.com; path=/; Secure; HttpOnly
313
+ - _recurly_session=e678f074905e5d3d40590f38a0eb0f6d; domain=.recurly.com; path=/; Secure; HttpOnly
314
314
  cache-control:
315
315
  - no-cache
316
316
  body: |
317
317
  <?xml version="1.0" encoding="UTF-8"?>
318
318
  <charge type="charge">
319
- <id>b48555a72dcd4f42890653cb4afafa3b</id>
319
+ <id>508c275396434d1db787c32a130c72af</id>
320
320
  <account_code>invoice-list-1287167121</account_code>
321
321
  <amount_in_cents type="integer">300</amount_in_cents>
322
- <start_date type="datetime">2010-10-19T03:19:56Z</start_date>
322
+ <start_date type="datetime">2010-10-19T05:22:16Z</start_date>
323
323
  <end_date nil="true" type="datetime"></end_date>
324
324
  <description>charge description</description>
325
- <created_at type="datetime">2010-10-19T03:19:57Z</created_at>
325
+ <created_at type="datetime">2010-10-19T05:22:16Z</created_at>
326
326
  </charge>
327
327
 
328
328
  http_version: "1.1"
@@ -350,30 +350,30 @@
350
350
  message: Created
351
351
  headers:
352
352
  location:
353
- - https://recurlytest3-test.recurly.com/invoices/2e08896ebd674b168d84746062edf23e
353
+ - https://recurlytest3-test.recurly.com/invoices/d79a474d12ce43699b4202cc3de987b1
354
354
  connection:
355
355
  - close
356
356
  content-type:
357
357
  - application/xml; charset=utf-8
358
358
  x-runtime:
359
- - "64"
359
+ - "93"
360
360
  date:
361
- - Tue, 19 Oct 2010 03:19:57 GMT
361
+ - Tue, 19 Oct 2010 05:22:16 GMT
362
362
  server:
363
363
  - nginx/0.7.65
364
364
  content-length:
365
365
  - "1100"
366
366
  set-cookie:
367
- - _recurly_session=53ae1027b1d9bc7031ea25aa283e2c23; domain=.recurly.com; path=/; Secure; HttpOnly
367
+ - _recurly_session=b38958fc067c5195d2cd2868adb97a2b; domain=.recurly.com; path=/; Secure; HttpOnly
368
368
  cache-control:
369
369
  - no-cache
370
370
  body: |
371
371
  <?xml version="1.0" encoding="UTF-8"?>
372
372
  <invoice>
373
- <id>2e08896ebd674b168d84746062edf23e</id>
373
+ <id>d79a474d12ce43699b4202cc3de987b1</id>
374
374
  <account_code>invoice-list-1287167121</account_code>
375
- <date type="datetime">2010-10-19T03:19:57Z</date>
376
- <invoice_number type="integer">1996</invoice_number>
375
+ <date type="datetime">2010-10-19T05:22:16Z</date>
376
+ <invoice_number type="integer">2072</invoice_number>
377
377
  <vat_number></vat_number>
378
378
  <status>open</status>
379
379
  <subtotal_in_cents type="integer">300</subtotal_in_cents>
@@ -383,13 +383,13 @@
383
383
  <total_due_in_cents type="integer">300</total_due_in_cents>
384
384
  <line_items type="array">
385
385
  <line_item>
386
- <id>b48555a72dcd4f42890653cb4afafa3b</id>
386
+ <id>508c275396434d1db787c32a130c72af</id>
387
387
  <type>charge</type>
388
388
  <amount_in_cents type="integer">300</amount_in_cents>
389
- <start_date type="datetime">2010-10-19T03:19:56Z</start_date>
389
+ <start_date type="datetime">2010-10-19T05:22:16Z</start_date>
390
390
  <end_date nil="true" type="datetime"></end_date>
391
391
  <description>charge description</description>
392
- <created_at type="datetime">2010-10-19T03:19:57Z</created_at>
392
+ <created_at type="datetime">2010-10-19T05:22:16Z</created_at>
393
393
  </line_item>
394
394
  </line_items>
395
395
  <payments type="array">
@@ -417,7 +417,7 @@
417
417
  x-ua-compatible:
418
418
  - IE=Edge
419
419
  etag:
420
- - "\"6d1fa6661ad771a5dbc2d12456890555\""
420
+ - "\"4f52a575a03ada0a91ed5f7998ac4bd7\""
421
421
  connection:
422
422
  - close
423
423
  content-type:
@@ -425,31 +425,31 @@
425
425
  x-runtime:
426
426
  - "16"
427
427
  date:
428
- - Tue, 19 Oct 2010 03:19:58 GMT
428
+ - Tue, 19 Oct 2010 05:22:17 GMT
429
429
  server:
430
430
  - nginx/0.7.65
431
431
  content-length:
432
432
  - "789"
433
433
  set-cookie:
434
- - _recurly_session=a16ccfa7f51a2d312e638de3f5e5921b; domain=.recurly.com; path=/; Secure; HttpOnly
434
+ - _recurly_session=c92f969fb715686362c66670439c7704; domain=.recurly.com; path=/; Secure; HttpOnly
435
435
  cache-control:
436
436
  - private, max-age=0, must-revalidate
437
437
  body: |
438
438
  <?xml version="1.0" encoding="UTF-8"?>
439
439
  <invoices type="array">
440
440
  <invoice>
441
- <id>2e08896ebd674b168d84746062edf23e</id>
441
+ <id>d79a474d12ce43699b4202cc3de987b1</id>
442
442
  <account_code>invoice-list-1287167121</account_code>
443
- <date type="datetime">2010-10-19T03:19:57Z</date>
444
- <invoice_number type="integer">1996</invoice_number>
443
+ <date type="datetime">2010-10-19T05:22:16Z</date>
444
+ <invoice_number type="integer">2072</invoice_number>
445
445
  <subtotal_in_cents type="integer">300</subtotal_in_cents>
446
446
  <total_in_cents type="integer">300</total_in_cents>
447
447
  </invoice>
448
448
  <invoice>
449
- <id>b08ffa1cce634dc8a21ccad00ba16795</id>
449
+ <id>9e615b70a3464039b82770aafc0e1716</id>
450
450
  <account_code>invoice-list-1287167121</account_code>
451
- <date type="datetime">2010-10-19T03:19:56Z</date>
452
- <invoice_number type="integer">1995</invoice_number>
451
+ <date type="datetime">2010-10-19T05:22:15Z</date>
452
+ <invoice_number type="integer">2071</invoice_number>
453
453
  <subtotal_in_cents type="integer">100</subtotal_in_cents>
454
454
  <total_in_cents type="integer">100</total_in_cents>
455
455
  </invoice>