recurly 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. data/lib/recurly/subscription.rb +2 -3
  2. data/lib/recurly/version.rb +1 -1
  3. data/spec/integration/account_spec.rb +0 -2
  4. data/spec/integration/invoice_spec.rb +0 -1
  5. data/spec/integration/subscription_spec.rb +49 -10
  6. data/spec/integration/transaction_spec.rb +3 -2
  7. data/spec/support/factory.rb +2 -2
  8. data/spec/vcr/account/close/{1286666929.yml → 1287167046.yml} +23 -23
  9. data/spec/vcr/account/create/{1286666929.yml → 1287167046.yml} +10 -10
  10. data/spec/vcr/account/create-blank/{1286666929.yml → 1287167046.yml} +3 -3
  11. data/spec/vcr/account/create-duplicate/{1286666929.yml → 1287167046.yml} +27 -12
  12. data/spec/vcr/account/create-min/{1286666929.yml → 1287167046.yml} +10 -10
  13. data/spec/vcr/account/find/{1286666929.yml → 1287167046.yml} +67 -29
  14. data/spec/vcr/account/list/{1286666929.yml → 1287167046.yml} +201 -228
  15. data/spec/vcr/account/update/{1286666929.yml → 1287167046.yml} +41 -41
  16. data/spec/vcr/billing/create/1286682213.yml +15 -15
  17. data/spec/vcr/billing/destroy/1286682213.yml +24 -24
  18. data/spec/vcr/billing/find/1286682213.yml +20 -20
  19. data/spec/vcr/billing/update/1286682213.yml +21 -21
  20. data/spec/vcr/charge/create/1286681273.yml +25 -25
  21. data/spec/vcr/charge/list-all/1286681273.yml +37 -37
  22. data/spec/vcr/charge/list-invoiced/1286681273.yml +62 -62
  23. data/spec/vcr/charge/list-pending/1286681273.yml +37 -37
  24. data/spec/vcr/charge/lookup/1286681273.yml +20 -20
  25. data/spec/vcr/credit/create/1286681343.yml +20 -20
  26. data/spec/vcr/credit/list/1286681343.yml +37 -37
  27. data/spec/vcr/credit/lookup/1286681343.yml +20 -20
  28. data/spec/vcr/invoice/create/{1286679184.yml → 1287167121.yml} +49 -49
  29. data/spec/vcr/{transaction/refund/1286674805.yml → invoice/create-no-charges/1287167121.yml} +32 -57
  30. data/spec/vcr/invoice/list/{1286679184.yml → 1287167121.yml} +71 -71
  31. data/spec/vcr/invoice/lookup/{1286679184.yml → 1287167121.yml} +50 -50
  32. data/spec/vcr/plan/all.yml +8 -8
  33. data/spec/vcr/plan/delete/1286677585.yml +15 -15
  34. data/spec/vcr/plan/find.yml +8 -8
  35. data/spec/vcr/plan/update.yml +9 -9
  36. data/spec/vcr/subscription/cancel/{1287037363.yml → 1287439446.yml} +62 -62
  37. data/spec/vcr/subscription/cancel/{1287037325.yml → 1287442108.yml} +60 -60
  38. data/spec/vcr/subscription/cancel/{1287036910.yml → 1287442352.yml} +60 -60
  39. data/spec/vcr/subscription/change1/{1287037363.yml → 1287439446.yml} +58 -58
  40. data/spec/vcr/subscription/change1/{1287037152.yml → 1287442108.yml} +59 -59
  41. data/spec/vcr/subscription/change1/{1287036910.yml → 1287442352.yml} +56 -56
  42. data/spec/vcr/subscription/{change1/1287037325.yml → change2/1287439446.yml} +64 -64
  43. data/spec/vcr/subscription/change2/{1287036910.yml → 1287442108.yml} +55 -55
  44. data/spec/vcr/subscription/change2/{1287037363.yml → 1287442352.yml} +58 -58
  45. data/spec/vcr/subscription/create/{1287037363.yml → 1287439446.yml} +27 -27
  46. data/spec/vcr/subscription/create/{1287037325.yml → 1287442108.yml} +28 -28
  47. data/spec/vcr/subscription/create/{1287037152.yml → 1287442352.yml} +28 -28
  48. data/spec/vcr/subscription/find/{1287036910.yml → 1287439446.yml} +36 -36
  49. data/spec/vcr/subscription/find/{1287037152.yml → 1287442108.yml} +38 -38
  50. data/spec/vcr/subscription/find/{1287037325.yml → 1287442352.yml} +38 -38
  51. data/spec/vcr/subscription/{refund/1287037325.yml → refund-full/1287439446.yml} +56 -56
  52. data/spec/vcr/subscription/{refund/1287037363.yml → refund-full/1287442108.yml} +58 -58
  53. data/spec/vcr/subscription/{refund/1287036910.yml → refund-full/1287442352.yml} +55 -55
  54. data/spec/vcr/subscription/refund-none/1287439446.yml +382 -0
  55. data/spec/vcr/subscription/refund-none/1287442108.yml +382 -0
  56. data/spec/vcr/subscription/refund-none/1287442352.yml +382 -0
  57. data/spec/vcr/subscription/refund-partial/1287439446.yml +382 -0
  58. data/spec/vcr/subscription/refund-partial/1287442108.yml +382 -0
  59. data/spec/vcr/subscription/refund-partial/1287442352.yml +382 -0
  60. data/spec/vcr/transaction/all/{1286674805.yml → 1287186411.yml} +104 -104
  61. data/spec/vcr/transaction/create-no-account/{1286674805.yml → 1287186411.yml} +11 -11
  62. data/spec/vcr/transaction/create-with-account/{1286674805.yml → 1287186411.yml} +26 -26
  63. data/spec/vcr/transaction/list-empty/{1286674805.yml → 1287186411.yml} +26 -26
  64. data/spec/vcr/transaction/list-filled/{1286674805.yml → 1287186411.yml} +59 -59
  65. data/spec/vcr/transaction/lookup/{1286674805.yml → 1287186411.yml} +66 -66
  66. data/spec/vcr/transaction/refund/1287186411.yml +282 -0
  67. data/spec/vcr/transaction/void/{1286674805.yml → 1287186411.yml} +87 -155
  68. metadata +92 -86
  69. data/spec/vcr/subscription/change2/1287037152.yml +0 -283
  70. data/spec/vcr/subscription/change2/1287037325.yml +0 -283
  71. data/spec/vcr/subscription/create/1287036910.yml +0 -224
  72. data/spec/vcr/subscription/find/1287037363.yml +0 -283
@@ -6,11 +6,11 @@
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
- <account-code>subscription-create-1287037363</account-code>
10
9
  <company-name>Recurly Ruby Gem</company-name>
10
+ <account-code>subscription-create-1287439446</account-code>
11
11
  <last-name>Test</last-name>
12
- <first-name>Verena</first-name>
13
12
  <email>verena@test.com</email>
13
+ <first-name>Verena</first-name>
14
14
  </account>
15
15
 
16
16
  headers:
@@ -28,30 +28,30 @@
28
28
  message: Created
29
29
  headers:
30
30
  location:
31
- - https://recurlytest3-test.recurly.com/accounts/subscription-create-1287037363
31
+ - https://recurlytest3-test.recurly.com/accounts/subscription-create-1287439446
32
32
  connection:
33
33
  - close
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "569"
37
+ - "770"
38
38
  date:
39
- - Thu, 14 Oct 2010 06:23:39 GMT
39
+ - Mon, 18 Oct 2010 22:06:20 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "593"
44
44
  set-cookie:
45
- - account_credentials=2ec66c8ce5a177c2b2ffa0dce9495dc4594b834c12ac4272d9278e6f300cf5b26ab950d9bf05067f632f52083fc574c9015ed81fad443f97e3e65722e3bd6585%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=8630b929a3b84300a3cc458526f77612b64b9cef58aded15a17d633feb4d1b5aa47062c1e3dd08d2e86eda736f9ba8c9cb7772754b0de5083d5ea56dc722c115%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=48fc855cd8cca396db9088b194a6a4fa; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=9feefad76c6b4553b981ddbc4894f1a4; 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>subscription-create-1287037363</id>
54
- <account_code>subscription-create-1287037363</account_code>
53
+ <id>subscription-create-1287439446</id>
54
+ <account_code>subscription-create-1287439446</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>d8def75af2f04a7ba075c571d0acf736</hosted_login_token>
63
- <created_at type="datetime">2010-10-14T06:23:39Z</created_at>
62
+ <hosted_login_token>652557ef820d4067a42bea50ffff13d1</hosted_login_token>
63
+ <created_at type="datetime">2010-10-18T22:06:20Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -93,13 +93,13 @@
93
93
  x-runtime:
94
94
  - "13"
95
95
  date:
96
- - Thu, 14 Oct 2010 06:23:39 GMT
96
+ - Mon, 18 Oct 2010 22:06:20 GMT
97
97
  server:
98
98
  - nginx/0.7.65
99
99
  content-length:
100
100
  - "1150"
101
101
  set-cookie:
102
- - _recurly_session=c16037e2a3fb58d366e4be9ecd5188d9; domain=.recurly.com; path=/; Secure; HttpOnly
102
+ - _recurly_session=734dfa24389ccaa8f6eeee1bd556bb58; domain=.recurly.com; path=/; Secure; HttpOnly
103
103
  cache-control:
104
104
  - private, max-age=0, must-revalidate
105
105
  body: |
@@ -133,20 +133,20 @@
133
133
  - !ruby/struct:VCR::HTTPInteraction
134
134
  request: !ruby/struct:VCR::Request
135
135
  method: :post
136
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-create-1287037363/subscription.xml
136
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-create-1287439446/subscription.xml
137
137
  body: |
138
138
  <?xml version="1.0" encoding="UTF-8"?>
139
139
  <subscription>
140
140
  <quantity type="integer">1</quantity>
141
141
  <plan-code>paid</plan-code>
142
142
  <account>
143
- <created-at type="datetime">2010-10-14T06:23:39Z</created-at>
144
- <hosted-login-token>d8def75af2f04a7ba075c571d0acf736</hosted-login-token>
145
- <account-code>subscription-create-1287037363</account-code>
143
+ <created-at type="datetime">2010-10-18T22:06:20Z</created-at>
144
+ <hosted-login-token>652557ef820d4067a42bea50ffff13d1</hosted-login-token>
146
145
  <company-name>Recurly Ruby Gem</company-name>
146
+ <account-code>subscription-create-1287439446</account-code>
147
147
  <closed type="boolean">false</closed>
148
148
  <username type="yaml" nil="true"></username>
149
- <id>subscription-create-1287037363</id>
149
+ <id>subscription-create-1287439446</id>
150
150
  <last-name>Test</last-name>
151
151
  <billing-info>
152
152
  <city>San Francisco</city>
@@ -165,8 +165,8 @@
165
165
  </billing-info>
166
166
  <balance-in-cents type="integer">0</balance-in-cents>
167
167
  <state>active</state>
168
- <first-name>Verena</first-name>
169
168
  <email>verena@test.com</email>
169
+ <first-name>Verena</first-name>
170
170
  </account>
171
171
  </subscription>
172
172
 
@@ -189,22 +189,22 @@
189
189
  content-type:
190
190
  - application/xml; charset=utf-8
191
191
  x-runtime:
192
- - "612"
192
+ - "573"
193
193
  date:
194
- - Thu, 14 Oct 2010 06:23:41 GMT
194
+ - Mon, 18 Oct 2010 22:06:22 GMT
195
195
  server:
196
196
  - nginx/0.7.65
197
197
  content-length:
198
198
  - "870"
199
199
  set-cookie:
200
- - _recurly_session=c8cd03829ad990c40c5f34f68711edc6; domain=.recurly.com; path=/; Secure; HttpOnly
200
+ - _recurly_session=e11846021de1790b0b7fbedf6bb7da4e; domain=.recurly.com; path=/; Secure; HttpOnly
201
201
  cache-control:
202
202
  - no-cache
203
203
  body: |
204
204
  <?xml version="1.0" encoding="UTF-8"?>
205
205
  <subscription>
206
- <id>subscription-create-1287037363</id>
207
- <account_code>subscription-create-1287037363</account_code>
206
+ <id>subscription-create-1287439446</id>
207
+ <account_code>subscription-create-1287439446</account_code>
208
208
  <plan>
209
209
  <plan_code>paid</plan_code>
210
210
  <name>Paid</name>
@@ -212,11 +212,11 @@
212
212
  <state>active</state>
213
213
  <quantity type="integer">1</quantity>
214
214
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
215
- <activated_at type="datetime">2010-10-14T06:23:40Z</activated_at>
215
+ <activated_at type="datetime">2010-10-18T22:06:21Z</activated_at>
216
216
  <canceled_at nil="true" type="datetime"></canceled_at>
217
217
  <expires_at nil="true" type="datetime"></expires_at>
218
- <current_period_started_at type="datetime">2010-10-14T06:23:40Z</current_period_started_at>
219
- <current_period_ends_at type="datetime">2010-11-14T06:23:40Z</current_period_ends_at>
218
+ <current_period_started_at type="datetime">2010-10-18T22:06:21Z</current_period_started_at>
219
+ <current_period_ends_at type="datetime">2010-11-18T22:06:21Z</current_period_ends_at>
220
220
  <trial_started_at nil="true" type="datetime"></trial_started_at>
221
221
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
222
222
  </subscription>
@@ -6,11 +6,11 @@
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
- <account-code>subscription-create-1287037325</account-code>
10
9
  <company-name>Recurly Ruby Gem</company-name>
10
+ <account-code>subscription-create-1287442108</account-code>
11
11
  <last-name>Test</last-name>
12
- <first-name>Verena</first-name>
13
12
  <email>verena@test.com</email>
13
+ <first-name>Verena</first-name>
14
14
  </account>
15
15
 
16
16
  headers:
@@ -28,30 +28,30 @@
28
28
  message: Created
29
29
  headers:
30
30
  location:
31
- - https://recurlytest3-test.recurly.com/accounts/subscription-create-1287037325
31
+ - https://recurlytest3-test.recurly.com/accounts/subscription-create-1287442108
32
32
  connection:
33
33
  - close
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "577"
37
+ - "609"
38
38
  date:
39
- - Thu, 14 Oct 2010 06:22:14 GMT
39
+ - Mon, 18 Oct 2010 22:48:43 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "593"
44
44
  set-cookie:
45
- - account_credentials=5bf897f4967fb31a23d38cf79df0a30fd51265bb10a32f1669db82590d83fd42d76eef235c7448034d8f7bd7fde0484a46bc9c613c2675f9fe5b299969e2b3c9%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=bed9cf8fd8cec79c37b5702ff7bc0d13c70c3d9631a5bb8d513a9c11b97caa002efe445b2eec404353af67d829cd1f583e273603925955564603054ceb243b4a%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=85fa8a1eb4b6a3170334836c7812fddf; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=4a6585e0de75c953e089793de2510804; 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>subscription-create-1287037325</id>
54
- <account_code>subscription-create-1287037325</account_code>
53
+ <id>subscription-create-1287442108</id>
54
+ <account_code>subscription-create-1287442108</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>39c15d5e88ca430eb256180de056172c</hosted_login_token>
63
- <created_at type="datetime">2010-10-14T06:22:14Z</created_at>
62
+ <hosted_login_token>0dc2435e2def45b28e3569ae0ed39085</hosted_login_token>
63
+ <created_at type="datetime">2010-10-18T22:48:42Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -91,15 +91,15 @@
91
91
  content-type:
92
92
  - application/xml; charset=utf-8
93
93
  x-runtime:
94
- - "20"
94
+ - "14"
95
95
  date:
96
- - Thu, 14 Oct 2010 06:22:15 GMT
96
+ - Mon, 18 Oct 2010 22:48:43 GMT
97
97
  server:
98
98
  - nginx/0.7.65
99
99
  content-length:
100
100
  - "1150"
101
101
  set-cookie:
102
- - _recurly_session=3b6823054afef5574d0137b62a8fed06; domain=.recurly.com; path=/; Secure; HttpOnly
102
+ - _recurly_session=ea3e6e3da7082a07007038f513ed8c89; domain=.recurly.com; path=/; Secure; HttpOnly
103
103
  cache-control:
104
104
  - private, max-age=0, must-revalidate
105
105
  body: |
@@ -133,20 +133,20 @@
133
133
  - !ruby/struct:VCR::HTTPInteraction
134
134
  request: !ruby/struct:VCR::Request
135
135
  method: :post
136
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-create-1287037325/subscription.xml
136
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-create-1287442108/subscription.xml
137
137
  body: |
138
138
  <?xml version="1.0" encoding="UTF-8"?>
139
139
  <subscription>
140
140
  <quantity type="integer">1</quantity>
141
141
  <plan-code>paid</plan-code>
142
142
  <account>
143
- <created-at type="datetime">2010-10-14T06:22:14Z</created-at>
144
- <hosted-login-token>39c15d5e88ca430eb256180de056172c</hosted-login-token>
145
- <account-code>subscription-create-1287037325</account-code>
143
+ <created-at type="datetime">2010-10-18T22:48:42Z</created-at>
144
+ <hosted-login-token>0dc2435e2def45b28e3569ae0ed39085</hosted-login-token>
146
145
  <company-name>Recurly Ruby Gem</company-name>
146
+ <account-code>subscription-create-1287442108</account-code>
147
147
  <closed type="boolean">false</closed>
148
148
  <username type="yaml" nil="true"></username>
149
- <id>subscription-create-1287037325</id>
149
+ <id>subscription-create-1287442108</id>
150
150
  <last-name>Test</last-name>
151
151
  <billing-info>
152
152
  <city>San Francisco</city>
@@ -165,8 +165,8 @@
165
165
  </billing-info>
166
166
  <balance-in-cents type="integer">0</balance-in-cents>
167
167
  <state>active</state>
168
- <first-name>Verena</first-name>
169
168
  <email>verena@test.com</email>
169
+ <first-name>Verena</first-name>
170
170
  </account>
171
171
  </subscription>
172
172
 
@@ -189,22 +189,22 @@
189
189
  content-type:
190
190
  - application/xml; charset=utf-8
191
191
  x-runtime:
192
- - "533"
192
+ - "575"
193
193
  date:
194
- - Thu, 14 Oct 2010 06:22:16 GMT
194
+ - Mon, 18 Oct 2010 22:48:44 GMT
195
195
  server:
196
196
  - nginx/0.7.65
197
197
  content-length:
198
198
  - "870"
199
199
  set-cookie:
200
- - _recurly_session=53b6d380eb734ad66a6fed4f6b07fb73; domain=.recurly.com; path=/; Secure; HttpOnly
200
+ - _recurly_session=b0ca1343ec40ea2af3bbe0a3135df401; domain=.recurly.com; path=/; Secure; HttpOnly
201
201
  cache-control:
202
202
  - no-cache
203
203
  body: |
204
204
  <?xml version="1.0" encoding="UTF-8"?>
205
205
  <subscription>
206
- <id>subscription-create-1287037325</id>
207
- <account_code>subscription-create-1287037325</account_code>
206
+ <id>subscription-create-1287442108</id>
207
+ <account_code>subscription-create-1287442108</account_code>
208
208
  <plan>
209
209
  <plan_code>paid</plan_code>
210
210
  <name>Paid</name>
@@ -212,11 +212,11 @@
212
212
  <state>active</state>
213
213
  <quantity type="integer">1</quantity>
214
214
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
215
- <activated_at type="datetime">2010-10-14T06:22:16Z</activated_at>
215
+ <activated_at type="datetime">2010-10-18T22:48:44Z</activated_at>
216
216
  <canceled_at nil="true" type="datetime"></canceled_at>
217
217
  <expires_at nil="true" type="datetime"></expires_at>
218
- <current_period_started_at type="datetime">2010-10-14T06:22:16Z</current_period_started_at>
219
- <current_period_ends_at type="datetime">2010-11-14T06:22:16Z</current_period_ends_at>
218
+ <current_period_started_at type="datetime">2010-10-18T22:48:44Z</current_period_started_at>
219
+ <current_period_ends_at type="datetime">2010-11-18T22:48:44Z</current_period_ends_at>
220
220
  <trial_started_at nil="true" type="datetime"></trial_started_at>
221
221
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
222
222
  </subscription>
@@ -6,11 +6,11 @@
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
- <account-code>subscription-create-1287037152</account-code>
10
9
  <company-name>Recurly Ruby Gem</company-name>
10
+ <account-code>subscription-create-1287442352</account-code>
11
11
  <last-name>Test</last-name>
12
- <first-name>Verena</first-name>
13
12
  <email>verena@test.com</email>
13
+ <first-name>Verena</first-name>
14
14
  </account>
15
15
 
16
16
  headers:
@@ -28,30 +28,30 @@
28
28
  message: Created
29
29
  headers:
30
30
  location:
31
- - https://recurlytest3-test.recurly.com/accounts/subscription-create-1287037152
31
+ - https://recurlytest3-test.recurly.com/accounts/subscription-create-1287442352
32
32
  connection:
33
33
  - close
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "598"
37
+ - "609"
38
38
  date:
39
- - Thu, 14 Oct 2010 06:19:26 GMT
39
+ - Mon, 18 Oct 2010 22:52:47 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "593"
44
44
  set-cookie:
45
- - account_credentials=23c12943719c7d7037f479b8d6295e79264ab2cc291534aba883b4ef2876f89349bff57b1df9837dd92c8e8472f61752d2d2d00fab18e7d4ac5e2f3613a60968%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=ce80f41e3f42839319645cc0e94b782f3bc2aa2c4581c415594f5648c11cf7f3434042594d94fcfa6258bfe39f1b60f9a36a1b2dcb012bd2667c468ed4929dab%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=c101316eea6b8d276f4192c6d4c957ac; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=18ba1d8e191f8e8ea6f98c3c58810bd2; 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>subscription-create-1287037152</id>
54
- <account_code>subscription-create-1287037152</account_code>
53
+ <id>subscription-create-1287442352</id>
54
+ <account_code>subscription-create-1287442352</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>8859e75d8f14415c80b0920a723afbdc</hosted_login_token>
63
- <created_at type="datetime">2010-10-14T06:19:26Z</created_at>
62
+ <hosted_login_token>f9d440e8ed4d4f8797ed8e050eff55a0</hosted_login_token>
63
+ <created_at type="datetime">2010-10-18T22:52:47Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -91,15 +91,15 @@
91
91
  content-type:
92
92
  - application/xml; charset=utf-8
93
93
  x-runtime:
94
- - "42"
94
+ - "13"
95
95
  date:
96
- - Thu, 14 Oct 2010 06:19:27 GMT
96
+ - Mon, 18 Oct 2010 22:52:47 GMT
97
97
  server:
98
98
  - nginx/0.7.65
99
99
  content-length:
100
100
  - "1150"
101
101
  set-cookie:
102
- - _recurly_session=6a13e56291b9b20e329aca04bd9236f9; domain=.recurly.com; path=/; Secure; HttpOnly
102
+ - _recurly_session=e5ab9de3647c767a10fbe36068ded4d7; domain=.recurly.com; path=/; Secure; HttpOnly
103
103
  cache-control:
104
104
  - private, max-age=0, must-revalidate
105
105
  body: |
@@ -133,20 +133,20 @@
133
133
  - !ruby/struct:VCR::HTTPInteraction
134
134
  request: !ruby/struct:VCR::Request
135
135
  method: :post
136
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-create-1287037152/subscription.xml
136
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-create-1287442352/subscription.xml
137
137
  body: |
138
138
  <?xml version="1.0" encoding="UTF-8"?>
139
139
  <subscription>
140
140
  <quantity type="integer">1</quantity>
141
141
  <plan-code>paid</plan-code>
142
142
  <account>
143
- <created-at type="datetime">2010-10-14T06:19:26Z</created-at>
144
- <hosted-login-token>8859e75d8f14415c80b0920a723afbdc</hosted-login-token>
145
- <account-code>subscription-create-1287037152</account-code>
143
+ <created-at type="datetime">2010-10-18T22:52:47Z</created-at>
144
+ <hosted-login-token>f9d440e8ed4d4f8797ed8e050eff55a0</hosted-login-token>
146
145
  <company-name>Recurly Ruby Gem</company-name>
146
+ <account-code>subscription-create-1287442352</account-code>
147
147
  <closed type="boolean">false</closed>
148
148
  <username type="yaml" nil="true"></username>
149
- <id>subscription-create-1287037152</id>
149
+ <id>subscription-create-1287442352</id>
150
150
  <last-name>Test</last-name>
151
151
  <billing-info>
152
152
  <city>San Francisco</city>
@@ -165,8 +165,8 @@
165
165
  </billing-info>
166
166
  <balance-in-cents type="integer">0</balance-in-cents>
167
167
  <state>active</state>
168
- <first-name>Verena</first-name>
169
168
  <email>verena@test.com</email>
169
+ <first-name>Verena</first-name>
170
170
  </account>
171
171
  </subscription>
172
172
 
@@ -189,22 +189,22 @@
189
189
  content-type:
190
190
  - application/xml; charset=utf-8
191
191
  x-runtime:
192
- - "618"
192
+ - "561"
193
193
  date:
194
- - Thu, 14 Oct 2010 06:19:28 GMT
194
+ - Mon, 18 Oct 2010 22:52:49 GMT
195
195
  server:
196
196
  - nginx/0.7.65
197
197
  content-length:
198
198
  - "870"
199
199
  set-cookie:
200
- - _recurly_session=0dda46b1290ee5d268fc6d2b96c2ab2c; domain=.recurly.com; path=/; Secure; HttpOnly
200
+ - _recurly_session=fdeff7ddd1932fb37475890ac0494c92; domain=.recurly.com; path=/; Secure; HttpOnly
201
201
  cache-control:
202
202
  - no-cache
203
203
  body: |
204
204
  <?xml version="1.0" encoding="UTF-8"?>
205
205
  <subscription>
206
- <id>subscription-create-1287037152</id>
207
- <account_code>subscription-create-1287037152</account_code>
206
+ <id>subscription-create-1287442352</id>
207
+ <account_code>subscription-create-1287442352</account_code>
208
208
  <plan>
209
209
  <plan_code>paid</plan_code>
210
210
  <name>Paid</name>
@@ -212,11 +212,11 @@
212
212
  <state>active</state>
213
213
  <quantity type="integer">1</quantity>
214
214
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
215
- <activated_at type="datetime">2010-10-14T06:19:27Z</activated_at>
215
+ <activated_at type="datetime">2010-10-18T22:52:48Z</activated_at>
216
216
  <canceled_at nil="true" type="datetime"></canceled_at>
217
217
  <expires_at nil="true" type="datetime"></expires_at>
218
- <current_period_started_at type="datetime">2010-10-14T06:19:27Z</current_period_started_at>
219
- <current_period_ends_at type="datetime">2010-11-14T06:19:27Z</current_period_ends_at>
218
+ <current_period_started_at type="datetime">2010-10-18T22:52:48Z</current_period_started_at>
219
+ <current_period_ends_at type="datetime">2010-11-18T22:52:48Z</current_period_ends_at>
220
220
  <trial_started_at nil="true" type="datetime"></trial_started_at>
221
221
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
222
222
  </subscription>