recurly 0.3.2 → 0.3.3

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/LICENSE +1 -1
  2. data/README.md +4 -4
  3. data/lib/recurly.rb +8 -1
  4. data/lib/recurly/account.rb +5 -0
  5. data/lib/recurly/coupon.rb +5 -0
  6. data/lib/recurly/rails3/recurly.rake +3 -18
  7. data/lib/recurly/version.rb +1 -1
  8. data/spec/config/{test.yml → test1.yml} +0 -0
  9. data/spec/config/test2.yml +9 -0
  10. data/spec/integration/account_spec.rb +3 -3
  11. data/spec/integration/billing_info_spec.rb +4 -8
  12. data/spec/integration/coupon_spec.rb +49 -0
  13. data/spec/integration/plan_spec.rb +0 -28
  14. data/spec/integration/transaction_spec.rb +3 -3
  15. data/spec/spec_helper.rb +6 -0
  16. data/spec/support/factory.rb +1 -1
  17. data/spec/unit/config_spec.rb +9 -2
  18. data/spec/vcr/account/accept-language-account/{1294473653.yml → 1296674173.yml} +29 -27
  19. data/spec/vcr/account/close/{1294473761.yml → 1296674173.yml} +71 -67
  20. data/spec/vcr/account/create-blank/{1294473761.yml → 1296674173.yml} +20 -18
  21. data/spec/vcr/account/create-duplicate/{1294473761.yml → 1296674173.yml} +42 -38
  22. data/spec/vcr/account/create-min/{1294473761.yml → 1296674173.yml} +26 -24
  23. data/spec/vcr/account/create/{1294473761.yml → 1296674173.yml} +29 -27
  24. data/spec/vcr/account/find/{1294473761.yml → 1296674173.yml} +71 -63
  25. data/spec/vcr/account/list/1296674173.yml +55 -0
  26. data/spec/vcr/account/update/{1294473761.yml → 1296674173.yml} +113 -107
  27. data/spec/vcr/billing/create/{1286682213.yml → 1296690812.yml} +86 -82
  28. data/spec/vcr/billing/destroy/{1286682213.yml → 1296690812.yml} +126 -142
  29. data/spec/vcr/billing/find/{1286682213.yml → 1296690812.yml} +115 -109
  30. data/spec/vcr/billing/update/{1286682213.yml → 1296690812.yml} +119 -115
  31. data/spec/vcr/charge/create/{1287465632.yml → 1296674173.yml} +109 -103
  32. data/spec/vcr/charge/delete-uninvoiced/{1287465632.yml → 1296674173.yml} +129 -117
  33. data/spec/vcr/charge/list-all/{1287465632.yml → 1296674173.yml} +131 -121
  34. data/spec/vcr/charge/list-invoiced/{1287465632.yml → 1296674173.yml} +195 -177
  35. data/spec/vcr/charge/list-pending/{1287465632.yml → 1296674173.yml} +131 -121
  36. data/spec/vcr/charge/lookup/{1287465632.yml → 1296674173.yml} +77 -71
  37. data/spec/vcr/coupon/create/1296688818.yml +183 -0
  38. data/spec/vcr/coupon/create/1296774903.yml +183 -0
  39. data/spec/vcr/coupon/destroy/1296688818.yml +207 -0
  40. data/spec/vcr/coupon/destroy/1296774903.yml +207 -0
  41. data/spec/vcr/credit/create/1296674173.yml +121 -0
  42. data/spec/vcr/credit/delete/1296674173.yml +121 -0
  43. data/spec/vcr/credit/list/1296674173.yml +121 -0
  44. data/spec/vcr/credit/lookup/1296674173.yml +121 -0
  45. data/spec/vcr/invoice/create-no-charges/{1287167121.yml → 1296674173.yml} +79 -75
  46. data/spec/vcr/invoice/create/{1287167121.yml → 1296674173.yml} +141 -130
  47. data/spec/vcr/invoice/list/{1287167121.yml → 1296674173.yml} +196 -180
  48. data/spec/vcr/invoice/lookup/{1287167121.yml → 1296674173.yml} +145 -133
  49. data/spec/vcr/plan/all.yml +86 -136
  50. data/spec/vcr/plan/delete/{1286677585.yml → 1296674173.yml} +87 -79
  51. data/spec/vcr/plan/find.yml +73 -91
  52. data/spec/vcr/plan/update.yml +80 -76
  53. data/spec/vcr/subscription/addons/add/1296674173.yml +225 -0
  54. data/spec/vcr/subscription/addons/create/1296674173.yml +225 -0
  55. data/spec/vcr/subscription/addons/remove/1296674173.yml +225 -0
  56. data/spec/vcr/subscription/cancel-with-code/{1287455769.yml → 1296674173.yml} +201 -201
  57. data/spec/vcr/subscription/cancel/{1287455769.yml → 1296674173.yml} +173 -175
  58. data/spec/vcr/subscription/change1/{1287455769.yml → 1296674173.yml} +172 -174
  59. data/spec/vcr/subscription/change2/{1287455769.yml → 1296674173.yml} +172 -174
  60. data/spec/vcr/subscription/create/{1287455769.yml → 1296674173.yml} +93 -99
  61. data/spec/vcr/subscription/find/{1287455769.yml → 1296674173.yml} +119 -123
  62. data/spec/vcr/subscription/reactivate/{1287455769.yml → 1296674173.yml} +194 -196
  63. data/spec/vcr/subscription/{refund-none/1287455769.yml → refund-full/1296674173.yml} +162 -162
  64. data/spec/vcr/subscription/{refund-full/1287455769.yml → refund-none/1296674173.yml} +162 -162
  65. data/spec/vcr/subscription/refund-partial/{1287455769.yml → 1296674173.yml} +162 -162
  66. data/spec/vcr/transaction/all/{1289558212.yml → 1296674173.yml} +155 -153
  67. data/spec/vcr/transaction/create-no-account/{1289558212.yml → 1296674173.yml} +37 -35
  68. data/spec/vcr/transaction/create-with-account/{1289558212.yml → 1296674173.yml} +91 -87
  69. data/spec/vcr/transaction/list-filled/{1289558212.yml → 1296674173.yml} +200 -190
  70. data/spec/vcr/transaction/list-initial/{1289558212.yml → 1296674173.yml} +92 -88
  71. data/spec/vcr/transaction/lookup/{1289558212.yml → 1296674173.yml} +241 -227
  72. data/spec/vcr/transaction/refund/{1289558212.yml → 1296674173.yml} +119 -115
  73. data/spec/vcr/transaction/void/1296674173.yml +352 -0
  74. metadata +122 -122
  75. data/spec/config/recurly.yml +0 -4
  76. data/spec/vcr/account/accept-language-account/1294473761.yml +0 -68
  77. data/spec/vcr/account/accept-language/1294473117.yml +0 -167
  78. data/spec/vcr/account/list/1294473761.yml +0 -1597
  79. data/spec/vcr/credit/create/1287461400.yml +0 -174
  80. data/spec/vcr/credit/delete/1287461400.yml +0 -249
  81. data/spec/vcr/credit/list/1287461400.yml +0 -306
  82. data/spec/vcr/credit/lookup/1287461400.yml +0 -174
  83. data/spec/vcr/subscription/addons/add/1292420980.yml +0 -479
  84. data/spec/vcr/subscription/addons/create/1292420980.yml +0 -318
  85. data/spec/vcr/subscription/addons/remove/1292420980.yml +0 -448
  86. data/spec/vcr/transaction/void/1289558212.yml +0 -601
@@ -1,167 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :get
5
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/company/plans/paid.xml
6
- body:
7
- headers:
8
- accept:
9
- - application/xml
10
- connection:
11
- - close
12
- authorization:
13
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
14
- response: !ruby/struct:VCR::Response
15
- status: !ruby/struct:VCR::ResponseStatus
16
- code: 200
17
- message: OK
18
- headers:
19
- x-ua-compatible:
20
- - IE=Edge
21
- etag:
22
- - "\"47a9e8e85691ef0600a2dd39f113a21e\""
23
- connection:
24
- - close
25
- content-type:
26
- - application/xml; charset=utf-8
27
- x-runtime:
28
- - "27"
29
- date:
30
- - Sat, 08 Jan 2011 07:58:06 GMT
31
- server:
32
- - nginx/0.8.53
33
- content-length:
34
- - "1564"
35
- set-cookie:
36
- - _recurly_session=db99a487d1f0e1eabe733c2987356ddc; domain=.recurly.com; path=/; secure; HttpOnly
37
- cache-control:
38
- - private, max-age=0, must-revalidate
39
- body: |
40
- <?xml version="1.0" encoding="UTF-8"?>
41
- <plan>
42
- <plan_code>paid</plan_code>
43
- <name>Paid</name>
44
- <description></description>
45
- <success_url></success_url>
46
- <cancel_url></cancel_url>
47
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
48
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
49
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
50
- <plan_interval_length type="integer">1</plan_interval_length>
51
- <plan_interval_unit>months</plan_interval_unit>
52
- <trial_interval_length type="integer">0</trial_interval_length>
53
- <trial_interval_unit>months</trial_interval_unit>
54
- <latest_version depreciated="true">
55
- <version type="integer">1</version>
56
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
57
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
58
- <plan_interval_length type="integer">1</plan_interval_length>
59
- <plan_interval_unit>months</plan_interval_unit>
60
- <trial_interval_length type="integer">0</trial_interval_length>
61
- <trial_interval_unit>months</trial_interval_unit>
62
- <created_at type="datetime">2010-12-10T19:19:03Z</created_at>
63
- </latest_version>
64
- <add_ons type="collection">
65
- <add_on>
66
- <add_on_code>special</add_on_code>
67
- <default_unit_amount_in_cents>1000</default_unit_amount_in_cents>
68
- <default_quantity>1</default_quantity>
69
- </add_on>
70
- <add_on>
71
- <add_on_code>special2</add_on_code>
72
- <default_unit_amount_in_cents>1500</default_unit_amount_in_cents>
73
- <default_quantity>1</default_quantity>
74
- </add_on>
75
- </add_ons>
76
- </plan>
77
-
78
- http_version: "1.1"
79
- - !ruby/struct:VCR::HTTPInteraction
80
- request: !ruby/struct:VCR::Request
81
- method: :post
82
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-french-1294473117/subscription.xml
83
- body: |
84
- <?xml version="1.0" encoding="UTF-8"?>
85
- <subscription>
86
- <quantity type="integer">1</quantity>
87
- <plan-code>paid</plan-code>
88
- <account>
89
- <company-name>Recurly Ruby Gem</company-name>
90
- <account-code>account-french-1294473117</account-code>
91
- <last-name>Test</last-name>
92
- <billing-info>
93
- <city>San Francisco</city>
94
- <address1>123 Test St</address1>
95
- <zip>94115</zip>
96
- <country>US</country>
97
- <credit-card>
98
- <number>1</number>
99
- <month type="integer">1</month>
100
- <year type="integer">2012</year>
101
- <verification-value>123</verification-value>
102
- </credit-card>
103
- <last-name>Test</last-name>
104
- <first-name>Verena</first-name>
105
- <state>CA</state>
106
- </billing-info>
107
- <email>verena@test.com</email>
108
- <first-name>Verena</first-name>
109
- </account>
110
- </subscription>
111
-
112
- headers:
113
- accept:
114
- - "*/*"
115
- connection:
116
- - close
117
- content-type:
118
- - application/xml
119
- authorization:
120
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
121
- response: !ruby/struct:VCR::Response
122
- status: !ruby/struct:VCR::ResponseStatus
123
- code: 201
124
- message: Created
125
- headers:
126
- connection:
127
- - close
128
- content-type:
129
- - application/xml; charset=utf-8
130
- x-runtime:
131
- - "10955"
132
- date:
133
- - Sat, 08 Jan 2011 07:58:17 GMT
134
- server:
135
- - nginx/0.8.53
136
- content-length:
137
- - "898"
138
- set-cookie:
139
- - account_credentials=6cba421d09e204c2bfd53ed49c5f577d3c448e8f5c1cecb1c5e6749a01a19aa16bfebd18747805c433a01b10d05302472320eaac8b5804de67160e98bc62c35b%3A%3A; domain=.recurly.com; path=/
140
- - ""
141
- - _recurly_session=058b42e7f16161577a325998a32ce06b; domain=.recurly.com; path=/; secure; HttpOnly
142
- cache-control:
143
- - no-cache
144
- body: |
145
- <?xml version="1.0" encoding="UTF-8"?>
146
- <subscription>
147
- <id>account-french-1294473117</id>
148
- <account_code>account-french-1294473117</account_code>
149
- <plan>
150
- <plan_code>paid</plan_code>
151
- <name>Paid</name>
152
- </plan>
153
- <state>active</state>
154
- <quantity type="integer">1</quantity>
155
- <total_amount_in_cents type="integer">1000</total_amount_in_cents>
156
- <activated_at type="datetime">2011-01-08T07:58:07Z</activated_at>
157
- <canceled_at nil="true" type="datetime"></canceled_at>
158
- <expires_at nil="true" type="datetime"></expires_at>
159
- <current_period_started_at type="datetime">2011-01-08T07:58:07Z</current_period_started_at>
160
- <current_period_ends_at type="datetime">2011-02-08T07:58:07Z</current_period_ends_at>
161
- <trial_started_at nil="true" type="datetime"></trial_started_at>
162
- <trial_ends_at nil="true" type="datetime"></trial_ends_at>
163
- <add_ons type="array">
164
- </add_ons>
165
- </subscription>
166
-
167
- http_version: "1.1"
@@ -1,1597 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :post
5
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
6
- body: |
7
- <?xml version="1.0" encoding="UTF-8"?>
8
- <account>
9
- <company-name>Recurly Ruby Gem</company-name>
10
- <account-code>account-list-num-0-1294473761</account-code>
11
- <last-name>Test</last-name>
12
- <accept-language type="yaml" nil="true"></accept-language>
13
- <email>verena@test.com</email>
14
- <first-name>Verena</first-name>
15
- </account>
16
-
17
- headers:
18
- accept:
19
- - "*/*"
20
- connection:
21
- - close
22
- content-type:
23
- - application/xml
24
- authorization:
25
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
26
- response: !ruby/struct:VCR::Response
27
- status: !ruby/struct:VCR::ResponseStatus
28
- code: 201
29
- message: Created
30
- headers:
31
- location:
32
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-0-1294473761
33
- connection:
34
- - close
35
- content-type:
36
- - application/xml; charset=utf-8
37
- x-runtime:
38
- - "347"
39
- date:
40
- - Sat, 08 Jan 2011 08:02:53 GMT
41
- server:
42
- - nginx/0.8.53
43
- content-length:
44
- - "591"
45
- set-cookie:
46
- - account_credentials=9b970fd69c6d1eb77274e212e9b6842ddedfe2f0a189ea5d3c5a63e95319baa6a8834c003895ceda22b7904facc808217fd6f62d2ac4eba83b0b0b7fba549e06%3A%3A; domain=.recurly.com; path=/
47
- - ""
48
- - _recurly_session=e2ffd5db2f0b0fa1580164d9fa10e7ee; domain=.recurly.com; path=/; secure; HttpOnly
49
- cache-control:
50
- - no-cache
51
- body: |
52
- <?xml version="1.0" encoding="UTF-8"?>
53
- <account>
54
- <id>account-list-num-0-1294473761</id>
55
- <account_code>account-list-num-0-1294473761</account_code>
56
- <username></username>
57
- <email>verena@test.com</email>
58
- <first_name>Verena</first_name>
59
- <last_name>Test</last_name>
60
- <company_name>Recurly Ruby Gem</company_name>
61
- <balance_in_cents type="integer">0</balance_in_cents>
62
- <closed type="boolean">false</closed>
63
- <hosted_login_token>7f2a7f848049422ea2028d1e36967aa6</hosted_login_token>
64
- <created_at type="datetime">2011-01-08T08:02:53Z</created_at>
65
- <state>active</state>
66
- </account>
67
-
68
- http_version: "1.1"
69
- - !ruby/struct:VCR::HTTPInteraction
70
- request: !ruby/struct:VCR::Request
71
- method: :post
72
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
73
- body: |
74
- <?xml version="1.0" encoding="UTF-8"?>
75
- <account>
76
- <company-name>Recurly Ruby Gem</company-name>
77
- <account-code>account-list-num-1-1294473761</account-code>
78
- <last-name>Test</last-name>
79
- <accept-language type="yaml" nil="true"></accept-language>
80
- <email>verena@test.com</email>
81
- <first-name>Verena</first-name>
82
- </account>
83
-
84
- headers:
85
- accept:
86
- - "*/*"
87
- connection:
88
- - close
89
- content-type:
90
- - application/xml
91
- authorization:
92
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
93
- response: !ruby/struct:VCR::Response
94
- status: !ruby/struct:VCR::ResponseStatus
95
- code: 201
96
- message: Created
97
- headers:
98
- location:
99
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-1-1294473761
100
- connection:
101
- - close
102
- content-type:
103
- - application/xml; charset=utf-8
104
- x-runtime:
105
- - "432"
106
- date:
107
- - Sat, 08 Jan 2011 08:02:55 GMT
108
- server:
109
- - nginx/0.8.53
110
- content-length:
111
- - "591"
112
- set-cookie:
113
- - account_credentials=afb02a310b43a3090371cd8a7c9a7571d68327426b39b80ac479b8f32c095ac0ba31f6f6bc2cc07847b2c996e8d27ce832bc8058c226208ed3aeed4d1abb51e4%3A%3A; domain=.recurly.com; path=/
114
- - ""
115
- - _recurly_session=4503b913c5b5ceafc7e7f5c711a7c596; domain=.recurly.com; path=/; secure; HttpOnly
116
- cache-control:
117
- - no-cache
118
- body: |
119
- <?xml version="1.0" encoding="UTF-8"?>
120
- <account>
121
- <id>account-list-num-1-1294473761</id>
122
- <account_code>account-list-num-1-1294473761</account_code>
123
- <username></username>
124
- <email>verena@test.com</email>
125
- <first_name>Verena</first_name>
126
- <last_name>Test</last_name>
127
- <company_name>Recurly Ruby Gem</company_name>
128
- <balance_in_cents type="integer">0</balance_in_cents>
129
- <closed type="boolean">false</closed>
130
- <hosted_login_token>8c9bede0096240119361c1d36511706b</hosted_login_token>
131
- <created_at type="datetime">2011-01-08T08:02:55Z</created_at>
132
- <state>active</state>
133
- </account>
134
-
135
- http_version: "1.1"
136
- - !ruby/struct:VCR::HTTPInteraction
137
- request: !ruby/struct:VCR::Request
138
- method: :post
139
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
140
- body: |
141
- <?xml version="1.0" encoding="UTF-8"?>
142
- <account>
143
- <company-name>Recurly Ruby Gem</company-name>
144
- <account-code>account-list-num-2-1294473761</account-code>
145
- <last-name>Test</last-name>
146
- <accept-language type="yaml" nil="true"></accept-language>
147
- <email>verena@test.com</email>
148
- <first-name>Verena</first-name>
149
- </account>
150
-
151
- headers:
152
- accept:
153
- - "*/*"
154
- connection:
155
- - close
156
- content-type:
157
- - application/xml
158
- authorization:
159
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
160
- response: !ruby/struct:VCR::Response
161
- status: !ruby/struct:VCR::ResponseStatus
162
- code: 201
163
- message: Created
164
- headers:
165
- location:
166
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-2-1294473761
167
- connection:
168
- - close
169
- content-type:
170
- - application/xml; charset=utf-8
171
- x-runtime:
172
- - "349"
173
- date:
174
- - Sat, 08 Jan 2011 08:02:56 GMT
175
- server:
176
- - nginx/0.8.53
177
- content-length:
178
- - "591"
179
- set-cookie:
180
- - account_credentials=9ebb2560e51ea6d26f81fe465d4c99aaaafcf4ce803c3c46fe748a2fefd3d906808317b976cd35ccc715c08e0fa07dfe692db064a09f8dad6ca2459b435903c6%3A%3A; domain=.recurly.com; path=/
181
- - ""
182
- - _recurly_session=2362050e6cc2c26260f1c72c423d6cb8; domain=.recurly.com; path=/; secure; HttpOnly
183
- cache-control:
184
- - no-cache
185
- body: |
186
- <?xml version="1.0" encoding="UTF-8"?>
187
- <account>
188
- <id>account-list-num-2-1294473761</id>
189
- <account_code>account-list-num-2-1294473761</account_code>
190
- <username></username>
191
- <email>verena@test.com</email>
192
- <first_name>Verena</first_name>
193
- <last_name>Test</last_name>
194
- <company_name>Recurly Ruby Gem</company_name>
195
- <balance_in_cents type="integer">0</balance_in_cents>
196
- <closed type="boolean">false</closed>
197
- <hosted_login_token>be38813b84394802bb02420f63890e59</hosted_login_token>
198
- <created_at type="datetime">2011-01-08T08:02:56Z</created_at>
199
- <state>active</state>
200
- </account>
201
-
202
- http_version: "1.1"
203
- - !ruby/struct:VCR::HTTPInteraction
204
- request: !ruby/struct:VCR::Request
205
- method: :post
206
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
207
- body: |
208
- <?xml version="1.0" encoding="UTF-8"?>
209
- <account>
210
- <company-name>Recurly Ruby Gem</company-name>
211
- <account-code>account-list-num-3-1294473761</account-code>
212
- <last-name>Test</last-name>
213
- <accept-language type="yaml" nil="true"></accept-language>
214
- <email>verena@test.com</email>
215
- <first-name>Verena</first-name>
216
- </account>
217
-
218
- headers:
219
- accept:
220
- - "*/*"
221
- connection:
222
- - close
223
- content-type:
224
- - application/xml
225
- authorization:
226
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
227
- response: !ruby/struct:VCR::Response
228
- status: !ruby/struct:VCR::ResponseStatus
229
- code: 201
230
- message: Created
231
- headers:
232
- location:
233
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-3-1294473761
234
- connection:
235
- - close
236
- content-type:
237
- - application/xml; charset=utf-8
238
- x-runtime:
239
- - "343"
240
- date:
241
- - Sat, 08 Jan 2011 08:02:58 GMT
242
- server:
243
- - nginx/0.8.53
244
- content-length:
245
- - "591"
246
- set-cookie:
247
- - account_credentials=0c4d706eeec4afe081a7508f024cd691ea7a0d512b9b388ad27cf2fed2e0110cd29dd47238e5c88d83310617ed4abf6c72ee21bf650d4c098029239af0b73781%3A%3A; domain=.recurly.com; path=/
248
- - ""
249
- - _recurly_session=13271072dc9a9d05eff6fb7a2b3619f6; domain=.recurly.com; path=/; secure; HttpOnly
250
- cache-control:
251
- - no-cache
252
- body: |
253
- <?xml version="1.0" encoding="UTF-8"?>
254
- <account>
255
- <id>account-list-num-3-1294473761</id>
256
- <account_code>account-list-num-3-1294473761</account_code>
257
- <username></username>
258
- <email>verena@test.com</email>
259
- <first_name>Verena</first_name>
260
- <last_name>Test</last_name>
261
- <company_name>Recurly Ruby Gem</company_name>
262
- <balance_in_cents type="integer">0</balance_in_cents>
263
- <closed type="boolean">false</closed>
264
- <hosted_login_token>8b89c24559344df2aeb395b9e23524f6</hosted_login_token>
265
- <created_at type="datetime">2011-01-08T08:02:58Z</created_at>
266
- <state>active</state>
267
- </account>
268
-
269
- http_version: "1.1"
270
- - !ruby/struct:VCR::HTTPInteraction
271
- request: !ruby/struct:VCR::Request
272
- method: :post
273
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
274
- body: |
275
- <?xml version="1.0" encoding="UTF-8"?>
276
- <account>
277
- <company-name>Recurly Ruby Gem</company-name>
278
- <account-code>account-list-num-4-1294473761</account-code>
279
- <last-name>Test</last-name>
280
- <accept-language type="yaml" nil="true"></accept-language>
281
- <email>verena@test.com</email>
282
- <first-name>Verena</first-name>
283
- </account>
284
-
285
- headers:
286
- accept:
287
- - "*/*"
288
- connection:
289
- - close
290
- content-type:
291
- - application/xml
292
- authorization:
293
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
294
- response: !ruby/struct:VCR::Response
295
- status: !ruby/struct:VCR::ResponseStatus
296
- code: 201
297
- message: Created
298
- headers:
299
- location:
300
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-4-1294473761
301
- connection:
302
- - close
303
- content-type:
304
- - application/xml; charset=utf-8
305
- x-runtime:
306
- - "352"
307
- date:
308
- - Sat, 08 Jan 2011 08:02:59 GMT
309
- server:
310
- - nginx/0.8.53
311
- content-length:
312
- - "591"
313
- set-cookie:
314
- - account_credentials=05fbde9f860613ea9ad52892a73bf4a646f210dc71f098d7c037bda42a433a209a9bd798ad1fbb5b048f407ac6d4207eb5b9e3cf38308e3d3a22ff768f3ff90e%3A%3A; domain=.recurly.com; path=/
315
- - ""
316
- - _recurly_session=17553cc1651bdb7eb4267575d40c3a5b; domain=.recurly.com; path=/; secure; HttpOnly
317
- cache-control:
318
- - no-cache
319
- body: |
320
- <?xml version="1.0" encoding="UTF-8"?>
321
- <account>
322
- <id>account-list-num-4-1294473761</id>
323
- <account_code>account-list-num-4-1294473761</account_code>
324
- <username></username>
325
- <email>verena@test.com</email>
326
- <first_name>Verena</first_name>
327
- <last_name>Test</last_name>
328
- <company_name>Recurly Ruby Gem</company_name>
329
- <balance_in_cents type="integer">0</balance_in_cents>
330
- <closed type="boolean">false</closed>
331
- <hosted_login_token>e24c759819dd4ca7ad5316211500a041</hosted_login_token>
332
- <created_at type="datetime">2011-01-08T08:02:59Z</created_at>
333
- <state>active</state>
334
- </account>
335
-
336
- http_version: "1.1"
337
- - !ruby/struct:VCR::HTTPInteraction
338
- request: !ruby/struct:VCR::Request
339
- method: :post
340
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
341
- body: |
342
- <?xml version="1.0" encoding="UTF-8"?>
343
- <account>
344
- <company-name>Recurly Ruby Gem</company-name>
345
- <account-code>account-list-num-5-1294473761</account-code>
346
- <last-name>Test</last-name>
347
- <accept-language type="yaml" nil="true"></accept-language>
348
- <email>verena@test.com</email>
349
- <first-name>Verena</first-name>
350
- </account>
351
-
352
- headers:
353
- accept:
354
- - "*/*"
355
- connection:
356
- - close
357
- content-type:
358
- - application/xml
359
- authorization:
360
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
361
- response: !ruby/struct:VCR::Response
362
- status: !ruby/struct:VCR::ResponseStatus
363
- code: 201
364
- message: Created
365
- headers:
366
- location:
367
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-5-1294473761
368
- connection:
369
- - close
370
- content-type:
371
- - application/xml; charset=utf-8
372
- x-runtime:
373
- - "346"
374
- date:
375
- - Sat, 08 Jan 2011 08:03:01 GMT
376
- server:
377
- - nginx/0.8.53
378
- content-length:
379
- - "591"
380
- set-cookie:
381
- - account_credentials=4eb2c3b90adb99ea8b9bb6db5723913abf15f2f268ab53e96f58e1ed6d3b1410d1e8880c0a5fa53bf9c9bf591925a814668b5d538f2a19c93fe9f3fdfad39d12%3A%3A; domain=.recurly.com; path=/
382
- - ""
383
- - _recurly_session=468836a44b688893cab4b573fd5a2524; domain=.recurly.com; path=/; secure; HttpOnly
384
- cache-control:
385
- - no-cache
386
- body: |
387
- <?xml version="1.0" encoding="UTF-8"?>
388
- <account>
389
- <id>account-list-num-5-1294473761</id>
390
- <account_code>account-list-num-5-1294473761</account_code>
391
- <username></username>
392
- <email>verena@test.com</email>
393
- <first_name>Verena</first_name>
394
- <last_name>Test</last_name>
395
- <company_name>Recurly Ruby Gem</company_name>
396
- <balance_in_cents type="integer">0</balance_in_cents>
397
- <closed type="boolean">false</closed>
398
- <hosted_login_token>2a8c544e13bd4daa816b62454ad66006</hosted_login_token>
399
- <created_at type="datetime">2011-01-08T08:03:00Z</created_at>
400
- <state>active</state>
401
- </account>
402
-
403
- http_version: "1.1"
404
- - !ruby/struct:VCR::HTTPInteraction
405
- request: !ruby/struct:VCR::Request
406
- method: :post
407
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
408
- body: |
409
- <?xml version="1.0" encoding="UTF-8"?>
410
- <account>
411
- <company-name>Recurly Ruby Gem</company-name>
412
- <account-code>account-list-num-6-1294473761</account-code>
413
- <last-name>Test</last-name>
414
- <accept-language type="yaml" nil="true"></accept-language>
415
- <email>verena@test.com</email>
416
- <first-name>Verena</first-name>
417
- </account>
418
-
419
- headers:
420
- accept:
421
- - "*/*"
422
- connection:
423
- - close
424
- content-type:
425
- - application/xml
426
- authorization:
427
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
428
- response: !ruby/struct:VCR::Response
429
- status: !ruby/struct:VCR::ResponseStatus
430
- code: 201
431
- message: Created
432
- headers:
433
- location:
434
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-6-1294473761
435
- connection:
436
- - close
437
- content-type:
438
- - application/xml; charset=utf-8
439
- x-runtime:
440
- - "348"
441
- date:
442
- - Sat, 08 Jan 2011 08:03:02 GMT
443
- server:
444
- - nginx/0.8.53
445
- content-length:
446
- - "591"
447
- set-cookie:
448
- - account_credentials=c7e347b57e550ac725f410f6d9433821de6008d759dfddce853e5d0be366d4c12a7e84c600a047a61a41e7338e582748ac74cddabfa94a4099369016851a7433%3A%3A; domain=.recurly.com; path=/
449
- - ""
450
- - _recurly_session=ea543768d5cd6a5e940ee46e85485ecd; domain=.recurly.com; path=/; secure; HttpOnly
451
- cache-control:
452
- - no-cache
453
- body: |
454
- <?xml version="1.0" encoding="UTF-8"?>
455
- <account>
456
- <id>account-list-num-6-1294473761</id>
457
- <account_code>account-list-num-6-1294473761</account_code>
458
- <username></username>
459
- <email>verena@test.com</email>
460
- <first_name>Verena</first_name>
461
- <last_name>Test</last_name>
462
- <company_name>Recurly Ruby Gem</company_name>
463
- <balance_in_cents type="integer">0</balance_in_cents>
464
- <closed type="boolean">false</closed>
465
- <hosted_login_token>6aab4f0df1434427bcca3c04d6d02244</hosted_login_token>
466
- <created_at type="datetime">2011-01-08T08:03:02Z</created_at>
467
- <state>active</state>
468
- </account>
469
-
470
- http_version: "1.1"
471
- - !ruby/struct:VCR::HTTPInteraction
472
- request: !ruby/struct:VCR::Request
473
- method: :post
474
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
475
- body: |
476
- <?xml version="1.0" encoding="UTF-8"?>
477
- <account>
478
- <company-name>Recurly Ruby Gem</company-name>
479
- <account-code>account-list-num-7-1294473761</account-code>
480
- <last-name>Test</last-name>
481
- <accept-language type="yaml" nil="true"></accept-language>
482
- <email>verena@test.com</email>
483
- <first-name>Verena</first-name>
484
- </account>
485
-
486
- headers:
487
- accept:
488
- - "*/*"
489
- connection:
490
- - close
491
- content-type:
492
- - application/xml
493
- authorization:
494
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
495
- response: !ruby/struct:VCR::Response
496
- status: !ruby/struct:VCR::ResponseStatus
497
- code: 201
498
- message: Created
499
- headers:
500
- location:
501
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-7-1294473761
502
- connection:
503
- - close
504
- content-type:
505
- - application/xml; charset=utf-8
506
- x-runtime:
507
- - "342"
508
- date:
509
- - Sat, 08 Jan 2011 08:03:04 GMT
510
- server:
511
- - nginx/0.8.53
512
- content-length:
513
- - "591"
514
- set-cookie:
515
- - account_credentials=f920cd3f256937c62fe06f2750de82af5047ea95d4ef8a348db7ad0b1e924d85d8cbaae76252b16cb4c58a1b10d08301aadf945e112dd166f417864fd033e852%3A%3A; domain=.recurly.com; path=/
516
- - ""
517
- - _recurly_session=3b44bde3ea600a5ef42d11076a47f694; domain=.recurly.com; path=/; secure; HttpOnly
518
- cache-control:
519
- - no-cache
520
- body: |
521
- <?xml version="1.0" encoding="UTF-8"?>
522
- <account>
523
- <id>account-list-num-7-1294473761</id>
524
- <account_code>account-list-num-7-1294473761</account_code>
525
- <username></username>
526
- <email>verena@test.com</email>
527
- <first_name>Verena</first_name>
528
- <last_name>Test</last_name>
529
- <company_name>Recurly Ruby Gem</company_name>
530
- <balance_in_cents type="integer">0</balance_in_cents>
531
- <closed type="boolean">false</closed>
532
- <hosted_login_token>6c2d3225e28a40e8829e499129ee2687</hosted_login_token>
533
- <created_at type="datetime">2011-01-08T08:03:04Z</created_at>
534
- <state>active</state>
535
- </account>
536
-
537
- http_version: "1.1"
538
- - !ruby/struct:VCR::HTTPInteraction
539
- request: !ruby/struct:VCR::Request
540
- method: :get
541
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/company/plans/paid.xml
542
- body:
543
- headers:
544
- accept:
545
- - application/xml
546
- connection:
547
- - close
548
- authorization:
549
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
550
- response: !ruby/struct:VCR::Response
551
- status: !ruby/struct:VCR::ResponseStatus
552
- code: 200
553
- message: OK
554
- headers:
555
- x-ua-compatible:
556
- - IE=Edge
557
- etag:
558
- - "\"47a9e8e85691ef0600a2dd39f113a21e\""
559
- connection:
560
- - close
561
- content-type:
562
- - application/xml; charset=utf-8
563
- x-runtime:
564
- - "15"
565
- date:
566
- - Sat, 08 Jan 2011 08:03:05 GMT
567
- server:
568
- - nginx/0.8.53
569
- content-length:
570
- - "1564"
571
- set-cookie:
572
- - _recurly_session=0b5bf68b05b18d404471196672826daa; domain=.recurly.com; path=/; secure; HttpOnly
573
- cache-control:
574
- - private, max-age=0, must-revalidate
575
- body: |
576
- <?xml version="1.0" encoding="UTF-8"?>
577
- <plan>
578
- <plan_code>paid</plan_code>
579
- <name>Paid</name>
580
- <description></description>
581
- <success_url></success_url>
582
- <cancel_url></cancel_url>
583
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
584
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
585
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
586
- <plan_interval_length type="integer">1</plan_interval_length>
587
- <plan_interval_unit>months</plan_interval_unit>
588
- <trial_interval_length type="integer">0</trial_interval_length>
589
- <trial_interval_unit>months</trial_interval_unit>
590
- <latest_version depreciated="true">
591
- <version type="integer">1</version>
592
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
593
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
594
- <plan_interval_length type="integer">1</plan_interval_length>
595
- <plan_interval_unit>months</plan_interval_unit>
596
- <trial_interval_length type="integer">0</trial_interval_length>
597
- <trial_interval_unit>months</trial_interval_unit>
598
- <created_at type="datetime">2010-12-10T19:19:03Z</created_at>
599
- </latest_version>
600
- <add_ons type="collection">
601
- <add_on>
602
- <add_on_code>special</add_on_code>
603
- <default_unit_amount_in_cents>1000</default_unit_amount_in_cents>
604
- <default_quantity>1</default_quantity>
605
- </add_on>
606
- <add_on>
607
- <add_on_code>special2</add_on_code>
608
- <default_unit_amount_in_cents>1500</default_unit_amount_in_cents>
609
- <default_quantity>1</default_quantity>
610
- </add_on>
611
- </add_ons>
612
- </plan>
613
-
614
- http_version: "1.1"
615
- - !ruby/struct:VCR::HTTPInteraction
616
- request: !ruby/struct:VCR::Request
617
- method: :post
618
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-0-1294473761/subscription.xml
619
- body: |
620
- <?xml version="1.0" encoding="UTF-8"?>
621
- <subscription>
622
- <quantity type="integer">1</quantity>
623
- <plan-code>paid</plan-code>
624
- <account>
625
- <created-at type="datetime">2011-01-08T08:02:53Z</created-at>
626
- <hosted-login-token>7f2a7f848049422ea2028d1e36967aa6</hosted-login-token>
627
- <company-name>Recurly Ruby Gem</company-name>
628
- <account-code>account-list-num-0-1294473761</account-code>
629
- <closed type="boolean">false</closed>
630
- <username type="yaml" nil="true"></username>
631
- <id>account-list-num-0-1294473761</id>
632
- <last-name>Test</last-name>
633
- <accept-language type="yaml" nil="true"></accept-language>
634
- <billing-info>
635
- <address1>123 Test St</address1>
636
- <city>San Francisco</city>
637
- <zip>94115</zip>
638
- <country>US</country>
639
- <credit-card>
640
- <number>1</number>
641
- <month type="integer">1</month>
642
- <year type="integer">2012</year>
643
- <verification-value>123</verification-value>
644
- </credit-card>
645
- <last-name>Test</last-name>
646
- <first-name>Verena</first-name>
647
- <state>CA</state>
648
- </billing-info>
649
- <balance-in-cents type="integer">0</balance-in-cents>
650
- <state>active</state>
651
- <email>verena@test.com</email>
652
- <first-name>Verena</first-name>
653
- </account>
654
- </subscription>
655
-
656
- headers:
657
- accept:
658
- - "*/*"
659
- connection:
660
- - close
661
- content-type:
662
- - application/xml
663
- authorization:
664
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
665
- response: !ruby/struct:VCR::Response
666
- status: !ruby/struct:VCR::ResponseStatus
667
- code: 201
668
- message: Created
669
- headers:
670
- connection:
671
- - close
672
- content-type:
673
- - application/xml; charset=utf-8
674
- x-runtime:
675
- - "379"
676
- date:
677
- - Sat, 08 Jan 2011 08:03:07 GMT
678
- server:
679
- - nginx/0.8.53
680
- content-length:
681
- - "906"
682
- set-cookie:
683
- - _recurly_session=c9c8ad5dd53f86519b2afa148a62c0be; domain=.recurly.com; path=/; secure; HttpOnly
684
- cache-control:
685
- - no-cache
686
- body: |
687
- <?xml version="1.0" encoding="UTF-8"?>
688
- <subscription>
689
- <id>account-list-num-0-1294473761</id>
690
- <account_code>account-list-num-0-1294473761</account_code>
691
- <plan>
692
- <plan_code>paid</plan_code>
693
- <name>Paid</name>
694
- </plan>
695
- <state>active</state>
696
- <quantity type="integer">1</quantity>
697
- <total_amount_in_cents type="integer">1000</total_amount_in_cents>
698
- <activated_at type="datetime">2011-01-08T08:03:07Z</activated_at>
699
- <canceled_at nil="true" type="datetime"></canceled_at>
700
- <expires_at nil="true" type="datetime"></expires_at>
701
- <current_period_started_at type="datetime">2011-01-08T08:03:07Z</current_period_started_at>
702
- <current_period_ends_at type="datetime">2011-02-08T08:03:07Z</current_period_ends_at>
703
- <trial_started_at nil="true" type="datetime"></trial_started_at>
704
- <trial_ends_at nil="true" type="datetime"></trial_ends_at>
705
- <add_ons type="array">
706
- </add_ons>
707
- </subscription>
708
-
709
- http_version: "1.1"
710
- - !ruby/struct:VCR::HTTPInteraction
711
- request: !ruby/struct:VCR::Request
712
- method: :get
713
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/company/plans/paid.xml
714
- body:
715
- headers:
716
- accept:
717
- - application/xml
718
- connection:
719
- - close
720
- authorization:
721
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
722
- response: !ruby/struct:VCR::Response
723
- status: !ruby/struct:VCR::ResponseStatus
724
- code: 200
725
- message: OK
726
- headers:
727
- x-ua-compatible:
728
- - IE=Edge
729
- etag:
730
- - "\"47a9e8e85691ef0600a2dd39f113a21e\""
731
- connection:
732
- - close
733
- content-type:
734
- - application/xml; charset=utf-8
735
- x-runtime:
736
- - "18"
737
- date:
738
- - Sat, 08 Jan 2011 08:03:08 GMT
739
- server:
740
- - nginx/0.8.53
741
- content-length:
742
- - "1564"
743
- set-cookie:
744
- - _recurly_session=3e2613a1b97d1a5f3f97c6fd0bb57660; domain=.recurly.com; path=/; secure; HttpOnly
745
- cache-control:
746
- - private, max-age=0, must-revalidate
747
- body: |
748
- <?xml version="1.0" encoding="UTF-8"?>
749
- <plan>
750
- <plan_code>paid</plan_code>
751
- <name>Paid</name>
752
- <description></description>
753
- <success_url></success_url>
754
- <cancel_url></cancel_url>
755
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
756
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
757
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
758
- <plan_interval_length type="integer">1</plan_interval_length>
759
- <plan_interval_unit>months</plan_interval_unit>
760
- <trial_interval_length type="integer">0</trial_interval_length>
761
- <trial_interval_unit>months</trial_interval_unit>
762
- <latest_version depreciated="true">
763
- <version type="integer">1</version>
764
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
765
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
766
- <plan_interval_length type="integer">1</plan_interval_length>
767
- <plan_interval_unit>months</plan_interval_unit>
768
- <trial_interval_length type="integer">0</trial_interval_length>
769
- <trial_interval_unit>months</trial_interval_unit>
770
- <created_at type="datetime">2010-12-10T19:19:03Z</created_at>
771
- </latest_version>
772
- <add_ons type="collection">
773
- <add_on>
774
- <add_on_code>special</add_on_code>
775
- <default_unit_amount_in_cents>1000</default_unit_amount_in_cents>
776
- <default_quantity>1</default_quantity>
777
- </add_on>
778
- <add_on>
779
- <add_on_code>special2</add_on_code>
780
- <default_unit_amount_in_cents>1500</default_unit_amount_in_cents>
781
- <default_quantity>1</default_quantity>
782
- </add_on>
783
- </add_ons>
784
- </plan>
785
-
786
- http_version: "1.1"
787
- - !ruby/struct:VCR::HTTPInteraction
788
- request: !ruby/struct:VCR::Request
789
- method: :post
790
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-1-1294473761/subscription.xml
791
- body: |
792
- <?xml version="1.0" encoding="UTF-8"?>
793
- <subscription>
794
- <quantity type="integer">1</quantity>
795
- <plan-code>paid</plan-code>
796
- <account>
797
- <created-at type="datetime">2011-01-08T08:02:55Z</created-at>
798
- <hosted-login-token>8c9bede0096240119361c1d36511706b</hosted-login-token>
799
- <company-name>Recurly Ruby Gem</company-name>
800
- <account-code>account-list-num-1-1294473761</account-code>
801
- <closed type="boolean">false</closed>
802
- <username type="yaml" nil="true"></username>
803
- <id>account-list-num-1-1294473761</id>
804
- <last-name>Test</last-name>
805
- <accept-language type="yaml" nil="true"></accept-language>
806
- <billing-info>
807
- <address1>123 Test St</address1>
808
- <city>San Francisco</city>
809
- <zip>94115</zip>
810
- <country>US</country>
811
- <credit-card>
812
- <number>1</number>
813
- <month type="integer">1</month>
814
- <year type="integer">2012</year>
815
- <verification-value>123</verification-value>
816
- </credit-card>
817
- <last-name>Test</last-name>
818
- <first-name>Verena</first-name>
819
- <state>CA</state>
820
- </billing-info>
821
- <balance-in-cents type="integer">0</balance-in-cents>
822
- <state>active</state>
823
- <email>verena@test.com</email>
824
- <first-name>Verena</first-name>
825
- </account>
826
- </subscription>
827
-
828
- headers:
829
- accept:
830
- - "*/*"
831
- connection:
832
- - close
833
- content-type:
834
- - application/xml
835
- authorization:
836
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
837
- response: !ruby/struct:VCR::Response
838
- status: !ruby/struct:VCR::ResponseStatus
839
- code: 201
840
- message: Created
841
- headers:
842
- connection:
843
- - close
844
- content-type:
845
- - application/xml; charset=utf-8
846
- x-runtime:
847
- - "481"
848
- date:
849
- - Sat, 08 Jan 2011 08:03:10 GMT
850
- server:
851
- - nginx/0.8.53
852
- content-length:
853
- - "906"
854
- set-cookie:
855
- - _recurly_session=0841be5abfad787797ffc31d1d7a6780; domain=.recurly.com; path=/; secure; HttpOnly
856
- cache-control:
857
- - no-cache
858
- body: |
859
- <?xml version="1.0" encoding="UTF-8"?>
860
- <subscription>
861
- <id>account-list-num-1-1294473761</id>
862
- <account_code>account-list-num-1-1294473761</account_code>
863
- <plan>
864
- <plan_code>paid</plan_code>
865
- <name>Paid</name>
866
- </plan>
867
- <state>active</state>
868
- <quantity type="integer">1</quantity>
869
- <total_amount_in_cents type="integer">1000</total_amount_in_cents>
870
- <activated_at type="datetime">2011-01-08T08:03:09Z</activated_at>
871
- <canceled_at nil="true" type="datetime"></canceled_at>
872
- <expires_at nil="true" type="datetime"></expires_at>
873
- <current_period_started_at type="datetime">2011-01-08T08:03:09Z</current_period_started_at>
874
- <current_period_ends_at type="datetime">2011-02-08T08:03:09Z</current_period_ends_at>
875
- <trial_started_at nil="true" type="datetime"></trial_started_at>
876
- <trial_ends_at nil="true" type="datetime"></trial_ends_at>
877
- <add_ons type="array">
878
- </add_ons>
879
- </subscription>
880
-
881
- http_version: "1.1"
882
- - !ruby/struct:VCR::HTTPInteraction
883
- request: !ruby/struct:VCR::Request
884
- method: :get
885
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/company/plans/paid.xml
886
- body:
887
- headers:
888
- accept:
889
- - application/xml
890
- connection:
891
- - close
892
- authorization:
893
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
894
- response: !ruby/struct:VCR::Response
895
- status: !ruby/struct:VCR::ResponseStatus
896
- code: 200
897
- message: OK
898
- headers:
899
- x-ua-compatible:
900
- - IE=Edge
901
- etag:
902
- - "\"47a9e8e85691ef0600a2dd39f113a21e\""
903
- connection:
904
- - close
905
- content-type:
906
- - application/xml; charset=utf-8
907
- x-runtime:
908
- - "15"
909
- date:
910
- - Sat, 08 Jan 2011 08:03:10 GMT
911
- server:
912
- - nginx/0.8.53
913
- content-length:
914
- - "1564"
915
- set-cookie:
916
- - _recurly_session=087c0d8d470a79db1ce7127076502fc9; domain=.recurly.com; path=/; secure; HttpOnly
917
- cache-control:
918
- - private, max-age=0, must-revalidate
919
- body: |
920
- <?xml version="1.0" encoding="UTF-8"?>
921
- <plan>
922
- <plan_code>paid</plan_code>
923
- <name>Paid</name>
924
- <description></description>
925
- <success_url></success_url>
926
- <cancel_url></cancel_url>
927
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
928
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
929
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
930
- <plan_interval_length type="integer">1</plan_interval_length>
931
- <plan_interval_unit>months</plan_interval_unit>
932
- <trial_interval_length type="integer">0</trial_interval_length>
933
- <trial_interval_unit>months</trial_interval_unit>
934
- <latest_version depreciated="true">
935
- <version type="integer">1</version>
936
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
937
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
938
- <plan_interval_length type="integer">1</plan_interval_length>
939
- <plan_interval_unit>months</plan_interval_unit>
940
- <trial_interval_length type="integer">0</trial_interval_length>
941
- <trial_interval_unit>months</trial_interval_unit>
942
- <created_at type="datetime">2010-12-10T19:19:03Z</created_at>
943
- </latest_version>
944
- <add_ons type="collection">
945
- <add_on>
946
- <add_on_code>special</add_on_code>
947
- <default_unit_amount_in_cents>1000</default_unit_amount_in_cents>
948
- <default_quantity>1</default_quantity>
949
- </add_on>
950
- <add_on>
951
- <add_on_code>special2</add_on_code>
952
- <default_unit_amount_in_cents>1500</default_unit_amount_in_cents>
953
- <default_quantity>1</default_quantity>
954
- </add_on>
955
- </add_ons>
956
- </plan>
957
-
958
- http_version: "1.1"
959
- - !ruby/struct:VCR::HTTPInteraction
960
- request: !ruby/struct:VCR::Request
961
- method: :post
962
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-2-1294473761/subscription.xml
963
- body: |
964
- <?xml version="1.0" encoding="UTF-8"?>
965
- <subscription>
966
- <quantity type="integer">1</quantity>
967
- <plan-code>paid</plan-code>
968
- <account>
969
- <created-at type="datetime">2011-01-08T08:02:56Z</created-at>
970
- <hosted-login-token>be38813b84394802bb02420f63890e59</hosted-login-token>
971
- <company-name>Recurly Ruby Gem</company-name>
972
- <account-code>account-list-num-2-1294473761</account-code>
973
- <closed type="boolean">false</closed>
974
- <username type="yaml" nil="true"></username>
975
- <id>account-list-num-2-1294473761</id>
976
- <last-name>Test</last-name>
977
- <accept-language type="yaml" nil="true"></accept-language>
978
- <billing-info>
979
- <address1>123 Test St</address1>
980
- <city>San Francisco</city>
981
- <zip>94115</zip>
982
- <country>US</country>
983
- <credit-card>
984
- <number>1</number>
985
- <month type="integer">1</month>
986
- <year type="integer">2012</year>
987
- <verification-value>123</verification-value>
988
- </credit-card>
989
- <last-name>Test</last-name>
990
- <first-name>Verena</first-name>
991
- <state>CA</state>
992
- </billing-info>
993
- <balance-in-cents type="integer">0</balance-in-cents>
994
- <state>active</state>
995
- <email>verena@test.com</email>
996
- <first-name>Verena</first-name>
997
- </account>
998
- </subscription>
999
-
1000
- headers:
1001
- accept:
1002
- - "*/*"
1003
- connection:
1004
- - close
1005
- content-type:
1006
- - application/xml
1007
- authorization:
1008
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
1009
- response: !ruby/struct:VCR::Response
1010
- status: !ruby/struct:VCR::ResponseStatus
1011
- code: 201
1012
- message: Created
1013
- headers:
1014
- connection:
1015
- - close
1016
- content-type:
1017
- - application/xml; charset=utf-8
1018
- x-runtime:
1019
- - "413"
1020
- date:
1021
- - Sat, 08 Jan 2011 08:03:12 GMT
1022
- server:
1023
- - nginx/0.8.53
1024
- content-length:
1025
- - "906"
1026
- set-cookie:
1027
- - _recurly_session=9252d3dfd2eaa8154a8414f56b7ed4ac; domain=.recurly.com; path=/; secure; HttpOnly
1028
- cache-control:
1029
- - no-cache
1030
- body: |
1031
- <?xml version="1.0" encoding="UTF-8"?>
1032
- <subscription>
1033
- <id>account-list-num-2-1294473761</id>
1034
- <account_code>account-list-num-2-1294473761</account_code>
1035
- <plan>
1036
- <plan_code>paid</plan_code>
1037
- <name>Paid</name>
1038
- </plan>
1039
- <state>active</state>
1040
- <quantity type="integer">1</quantity>
1041
- <total_amount_in_cents type="integer">1000</total_amount_in_cents>
1042
- <activated_at type="datetime">2011-01-08T08:03:11Z</activated_at>
1043
- <canceled_at nil="true" type="datetime"></canceled_at>
1044
- <expires_at nil="true" type="datetime"></expires_at>
1045
- <current_period_started_at type="datetime">2011-01-08T08:03:11Z</current_period_started_at>
1046
- <current_period_ends_at type="datetime">2011-02-08T08:03:11Z</current_period_ends_at>
1047
- <trial_started_at nil="true" type="datetime"></trial_started_at>
1048
- <trial_ends_at nil="true" type="datetime"></trial_ends_at>
1049
- <add_ons type="array">
1050
- </add_ons>
1051
- </subscription>
1052
-
1053
- http_version: "1.1"
1054
- - !ruby/struct:VCR::HTTPInteraction
1055
- request: !ruby/struct:VCR::Request
1056
- method: :get
1057
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/company/plans/paid.xml
1058
- body:
1059
- headers:
1060
- accept:
1061
- - application/xml
1062
- connection:
1063
- - close
1064
- authorization:
1065
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
1066
- response: !ruby/struct:VCR::Response
1067
- status: !ruby/struct:VCR::ResponseStatus
1068
- code: 200
1069
- message: OK
1070
- headers:
1071
- x-ua-compatible:
1072
- - IE=Edge
1073
- etag:
1074
- - "\"47a9e8e85691ef0600a2dd39f113a21e\""
1075
- connection:
1076
- - close
1077
- content-type:
1078
- - application/xml; charset=utf-8
1079
- x-runtime:
1080
- - "14"
1081
- date:
1082
- - Sat, 08 Jan 2011 08:03:12 GMT
1083
- server:
1084
- - nginx/0.8.53
1085
- content-length:
1086
- - "1564"
1087
- set-cookie:
1088
- - _recurly_session=22dd4b8323bf7ed5b0b25e9083ada2e4; domain=.recurly.com; path=/; secure; HttpOnly
1089
- cache-control:
1090
- - private, max-age=0, must-revalidate
1091
- body: |
1092
- <?xml version="1.0" encoding="UTF-8"?>
1093
- <plan>
1094
- <plan_code>paid</plan_code>
1095
- <name>Paid</name>
1096
- <description></description>
1097
- <success_url></success_url>
1098
- <cancel_url></cancel_url>
1099
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
1100
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
1101
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
1102
- <plan_interval_length type="integer">1</plan_interval_length>
1103
- <plan_interval_unit>months</plan_interval_unit>
1104
- <trial_interval_length type="integer">0</trial_interval_length>
1105
- <trial_interval_unit>months</trial_interval_unit>
1106
- <latest_version depreciated="true">
1107
- <version type="integer">1</version>
1108
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
1109
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
1110
- <plan_interval_length type="integer">1</plan_interval_length>
1111
- <plan_interval_unit>months</plan_interval_unit>
1112
- <trial_interval_length type="integer">0</trial_interval_length>
1113
- <trial_interval_unit>months</trial_interval_unit>
1114
- <created_at type="datetime">2010-12-10T19:19:03Z</created_at>
1115
- </latest_version>
1116
- <add_ons type="collection">
1117
- <add_on>
1118
- <add_on_code>special</add_on_code>
1119
- <default_unit_amount_in_cents>1000</default_unit_amount_in_cents>
1120
- <default_quantity>1</default_quantity>
1121
- </add_on>
1122
- <add_on>
1123
- <add_on_code>special2</add_on_code>
1124
- <default_unit_amount_in_cents>1500</default_unit_amount_in_cents>
1125
- <default_quantity>1</default_quantity>
1126
- </add_on>
1127
- </add_ons>
1128
- </plan>
1129
-
1130
- http_version: "1.1"
1131
- - !ruby/struct:VCR::HTTPInteraction
1132
- request: !ruby/struct:VCR::Request
1133
- method: :post
1134
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-3-1294473761/subscription.xml
1135
- body: |
1136
- <?xml version="1.0" encoding="UTF-8"?>
1137
- <subscription>
1138
- <quantity type="integer">1</quantity>
1139
- <plan-code>paid</plan-code>
1140
- <account>
1141
- <created-at type="datetime">2011-01-08T08:02:58Z</created-at>
1142
- <hosted-login-token>8b89c24559344df2aeb395b9e23524f6</hosted-login-token>
1143
- <company-name>Recurly Ruby Gem</company-name>
1144
- <account-code>account-list-num-3-1294473761</account-code>
1145
- <closed type="boolean">false</closed>
1146
- <username type="yaml" nil="true"></username>
1147
- <id>account-list-num-3-1294473761</id>
1148
- <last-name>Test</last-name>
1149
- <accept-language type="yaml" nil="true"></accept-language>
1150
- <billing-info>
1151
- <address1>123 Test St</address1>
1152
- <city>San Francisco</city>
1153
- <zip>94115</zip>
1154
- <country>US</country>
1155
- <credit-card>
1156
- <number>1</number>
1157
- <month type="integer">1</month>
1158
- <year type="integer">2012</year>
1159
- <verification-value>123</verification-value>
1160
- </credit-card>
1161
- <last-name>Test</last-name>
1162
- <first-name>Verena</first-name>
1163
- <state>CA</state>
1164
- </billing-info>
1165
- <balance-in-cents type="integer">0</balance-in-cents>
1166
- <state>active</state>
1167
- <email>verena@test.com</email>
1168
- <first-name>Verena</first-name>
1169
- </account>
1170
- </subscription>
1171
-
1172
- headers:
1173
- accept:
1174
- - "*/*"
1175
- connection:
1176
- - close
1177
- content-type:
1178
- - application/xml
1179
- authorization:
1180
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
1181
- response: !ruby/struct:VCR::Response
1182
- status: !ruby/struct:VCR::ResponseStatus
1183
- code: 201
1184
- message: Created
1185
- headers:
1186
- connection:
1187
- - close
1188
- content-type:
1189
- - application/xml; charset=utf-8
1190
- x-runtime:
1191
- - "475"
1192
- date:
1193
- - Sat, 08 Jan 2011 08:03:14 GMT
1194
- server:
1195
- - nginx/0.8.53
1196
- content-length:
1197
- - "906"
1198
- set-cookie:
1199
- - _recurly_session=de7acd5ad8da675f3afe1e96dcd98d45; domain=.recurly.com; path=/; secure; HttpOnly
1200
- cache-control:
1201
- - no-cache
1202
- body: |
1203
- <?xml version="1.0" encoding="UTF-8"?>
1204
- <subscription>
1205
- <id>account-list-num-3-1294473761</id>
1206
- <account_code>account-list-num-3-1294473761</account_code>
1207
- <plan>
1208
- <plan_code>paid</plan_code>
1209
- <name>Paid</name>
1210
- </plan>
1211
- <state>active</state>
1212
- <quantity type="integer">1</quantity>
1213
- <total_amount_in_cents type="integer">1000</total_amount_in_cents>
1214
- <activated_at type="datetime">2011-01-08T08:03:13Z</activated_at>
1215
- <canceled_at nil="true" type="datetime"></canceled_at>
1216
- <expires_at nil="true" type="datetime"></expires_at>
1217
- <current_period_started_at type="datetime">2011-01-08T08:03:13Z</current_period_started_at>
1218
- <current_period_ends_at type="datetime">2011-02-08T08:03:13Z</current_period_ends_at>
1219
- <trial_started_at nil="true" type="datetime"></trial_started_at>
1220
- <trial_ends_at nil="true" type="datetime"></trial_ends_at>
1221
- <add_ons type="array">
1222
- </add_ons>
1223
- </subscription>
1224
-
1225
- http_version: "1.1"
1226
- - !ruby/struct:VCR::HTTPInteraction
1227
- request: !ruby/struct:VCR::Request
1228
- method: :get
1229
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
1230
- body:
1231
- headers:
1232
- accept:
1233
- - application/xml
1234
- connection:
1235
- - close
1236
- authorization:
1237
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
1238
- response: !ruby/struct:VCR::Response
1239
- status: !ruby/struct:VCR::ResponseStatus
1240
- code: 200
1241
- message: OK
1242
- headers:
1243
- x-ua-compatible:
1244
- - IE=Edge
1245
- etag:
1246
- - "\"df1820b7571c7dabda7d668feb229838\""
1247
- connection:
1248
- - close
1249
- content-type:
1250
- - application/xml; charset=utf-8
1251
- x-runtime:
1252
- - "46"
1253
- date:
1254
- - Sat, 08 Jan 2011 08:03:14 GMT
1255
- server:
1256
- - nginx/0.8.53
1257
- content-length:
1258
- - "4372"
1259
- set-cookie:
1260
- - _recurly_session=e8feaeac2a1ee358553df449a3f21eaa; domain=.recurly.com; path=/; secure; HttpOnly
1261
- cache-control:
1262
- - private, max-age=0, must-revalidate
1263
- body: |
1264
- <?xml version="1.0" encoding="UTF-8"?>
1265
- <accounts type="collection">
1266
- <current_page type="integer">1</current_page>
1267
- <per_page type="integer">20</per_page>
1268
- <total_entries type="integer">13</total_entries>
1269
- <account>
1270
- <account_code>account-create-1294473761</account_code>
1271
- <username></username>
1272
- <email>verena@test.com</email>
1273
- <first_name>Verena</first_name>
1274
- <last_name>Test</last_name>
1275
- <company_name>Recurly Ruby Gem</company_name>
1276
- <balance_in_cents type="integer">0</balance_in_cents>
1277
- </account>
1278
- <account>
1279
- <account_code>account-french-1294473117</account_code>
1280
- <username></username>
1281
- <email>verena@test.com</email>
1282
- <first_name>Verena</first_name>
1283
- <last_name>Test</last_name>
1284
- <company_name>Recurly Ruby Gem</company_name>
1285
- <balance_in_cents type="integer">0</balance_in_cents>
1286
- </account>
1287
- <account>
1288
- <account_code>account-get-1294473761</account_code>
1289
- <username></username>
1290
- <email>verena@test.com</email>
1291
- <first_name>Verena</first_name>
1292
- <last_name>Test</last_name>
1293
- <company_name>Recurly Ruby Gem</company_name>
1294
- <balance_in_cents type="integer">0</balance_in_cents>
1295
- </account>
1296
- <account>
1297
- <account_code>account-list-num-0-1294473761</account_code>
1298
- <username></username>
1299
- <email>verena@test.com</email>
1300
- <first_name>Verena</first_name>
1301
- <last_name>Test</last_name>
1302
- <company_name>Recurly Ruby Gem</company_name>
1303
- <balance_in_cents type="integer">0</balance_in_cents>
1304
- </account>
1305
- <account>
1306
- <account_code>account-list-num-1-1294473761</account_code>
1307
- <username></username>
1308
- <email>verena@test.com</email>
1309
- <first_name>Verena</first_name>
1310
- <last_name>Test</last_name>
1311
- <company_name>Recurly Ruby Gem</company_name>
1312
- <balance_in_cents type="integer">0</balance_in_cents>
1313
- </account>
1314
- <account>
1315
- <account_code>account-list-num-2-1294473761</account_code>
1316
- <username></username>
1317
- <email>verena@test.com</email>
1318
- <first_name>Verena</first_name>
1319
- <last_name>Test</last_name>
1320
- <company_name>Recurly Ruby Gem</company_name>
1321
- <balance_in_cents type="integer">0</balance_in_cents>
1322
- </account>
1323
- <account>
1324
- <account_code>account-list-num-3-1294473761</account_code>
1325
- <username></username>
1326
- <email>verena@test.com</email>
1327
- <first_name>Verena</first_name>
1328
- <last_name>Test</last_name>
1329
- <company_name>Recurly Ruby Gem</company_name>
1330
- <balance_in_cents type="integer">0</balance_in_cents>
1331
- </account>
1332
- <account>
1333
- <account_code>account-list-num-4-1294473761</account_code>
1334
- <username></username>
1335
- <email>verena@test.com</email>
1336
- <first_name>Verena</first_name>
1337
- <last_name>Test</last_name>
1338
- <company_name>Recurly Ruby Gem</company_name>
1339
- <balance_in_cents type="integer">0</balance_in_cents>
1340
- </account>
1341
- <account>
1342
- <account_code>account-list-num-5-1294473761</account_code>
1343
- <username></username>
1344
- <email>verena@test.com</email>
1345
- <first_name>Verena</first_name>
1346
- <last_name>Test</last_name>
1347
- <company_name>Recurly Ruby Gem</company_name>
1348
- <balance_in_cents type="integer">0</balance_in_cents>
1349
- </account>
1350
- <account>
1351
- <account_code>account-list-num-6-1294473761</account_code>
1352
- <username></username>
1353
- <email>verena@test.com</email>
1354
- <first_name>Verena</first_name>
1355
- <last_name>Test</last_name>
1356
- <company_name>Recurly Ruby Gem</company_name>
1357
- <balance_in_cents type="integer">0</balance_in_cents>
1358
- </account>
1359
- <account>
1360
- <account_code>account-list-num-7-1294473761</account_code>
1361
- <username></username>
1362
- <email>verena@test.com</email>
1363
- <first_name>Verena</first_name>
1364
- <last_name>Test</last_name>
1365
- <company_name>Recurly Ruby Gem</company_name>
1366
- <balance_in_cents type="integer">0</balance_in_cents>
1367
- </account>
1368
- <account>
1369
- <account_code>account1-french-1294473653</account_code>
1370
- <username></username>
1371
- <email>verena@test.com</email>
1372
- <first_name>Verena</first_name>
1373
- <last_name>Test</last_name>
1374
- <company_name>Recurly Ruby Gem</company_name>
1375
- <balance_in_cents type="integer">0</balance_in_cents>
1376
- </account>
1377
- <account>
1378
- <account_code>d00d-1294473761</account_code>
1379
- <username></username>
1380
- <email></email>
1381
- <first_name></first_name>
1382
- <last_name></last_name>
1383
- <company_name></company_name>
1384
- <balance_in_cents type="integer">0</balance_in_cents>
1385
- </account>
1386
- </accounts>
1387
-
1388
- http_version: "1.1"
1389
- - !ruby/struct:VCR::HTTPInteraction
1390
- request: !ruby/struct:VCR::Request
1391
- method: :get
1392
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml?show=active_subscribers
1393
- body:
1394
- headers:
1395
- accept:
1396
- - application/xml
1397
- connection:
1398
- - close
1399
- authorization:
1400
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
1401
- response: !ruby/struct:VCR::Response
1402
- status: !ruby/struct:VCR::ResponseStatus
1403
- code: 200
1404
- message: OK
1405
- headers:
1406
- x-ua-compatible:
1407
- - IE=Edge
1408
- etag:
1409
- - "\"0655d0dba4fdcf3fd9527980160ead29\""
1410
- connection:
1411
- - close
1412
- content-type:
1413
- - application/xml; charset=utf-8
1414
- x-runtime:
1415
- - "36"
1416
- date:
1417
- - Sat, 08 Jan 2011 08:03:15 GMT
1418
- server:
1419
- - nginx/0.8.53
1420
- content-length:
1421
- - "1840"
1422
- set-cookie:
1423
- - _recurly_session=e2acba3de6e756c633af11c01d58cfe5; domain=.recurly.com; path=/; secure; HttpOnly
1424
- cache-control:
1425
- - private, max-age=0, must-revalidate
1426
- body: |
1427
- <?xml version="1.0" encoding="UTF-8"?>
1428
- <accounts type="collection">
1429
- <current_page type="integer">1</current_page>
1430
- <per_page type="integer">20</per_page>
1431
- <total_entries type="integer">5</total_entries>
1432
- <account>
1433
- <account_code>account-french-1294473117</account_code>
1434
- <username></username>
1435
- <email>verena@test.com</email>
1436
- <first_name>Verena</first_name>
1437
- <last_name>Test</last_name>
1438
- <company_name>Recurly Ruby Gem</company_name>
1439
- <balance_in_cents type="integer">0</balance_in_cents>
1440
- </account>
1441
- <account>
1442
- <account_code>account-list-num-0-1294473761</account_code>
1443
- <username></username>
1444
- <email>verena@test.com</email>
1445
- <first_name>Verena</first_name>
1446
- <last_name>Test</last_name>
1447
- <company_name>Recurly Ruby Gem</company_name>
1448
- <balance_in_cents type="integer">0</balance_in_cents>
1449
- </account>
1450
- <account>
1451
- <account_code>account-list-num-1-1294473761</account_code>
1452
- <username></username>
1453
- <email>verena@test.com</email>
1454
- <first_name>Verena</first_name>
1455
- <last_name>Test</last_name>
1456
- <company_name>Recurly Ruby Gem</company_name>
1457
- <balance_in_cents type="integer">0</balance_in_cents>
1458
- </account>
1459
- <account>
1460
- <account_code>account-list-num-2-1294473761</account_code>
1461
- <username></username>
1462
- <email>verena@test.com</email>
1463
- <first_name>Verena</first_name>
1464
- <last_name>Test</last_name>
1465
- <company_name>Recurly Ruby Gem</company_name>
1466
- <balance_in_cents type="integer">0</balance_in_cents>
1467
- </account>
1468
- <account>
1469
- <account_code>account-list-num-3-1294473761</account_code>
1470
- <username></username>
1471
- <email>verena@test.com</email>
1472
- <first_name>Verena</first_name>
1473
- <last_name>Test</last_name>
1474
- <company_name>Recurly Ruby Gem</company_name>
1475
- <balance_in_cents type="integer">0</balance_in_cents>
1476
- </account>
1477
- </accounts>
1478
-
1479
- http_version: "1.1"
1480
- - !ruby/struct:VCR::HTTPInteraction
1481
- request: !ruby/struct:VCR::Request
1482
- method: :get
1483
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml?show=non_subscribers
1484
- body:
1485
- headers:
1486
- accept:
1487
- - application/xml
1488
- connection:
1489
- - close
1490
- authorization:
1491
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
1492
- response: !ruby/struct:VCR::Response
1493
- status: !ruby/struct:VCR::ResponseStatus
1494
- code: 200
1495
- message: OK
1496
- headers:
1497
- x-ua-compatible:
1498
- - IE=Edge
1499
- etag:
1500
- - "\"5a608b4e7872bc3aee5eb36f5f023a7a\""
1501
- connection:
1502
- - close
1503
- content-type:
1504
- - application/xml; charset=utf-8
1505
- x-runtime:
1506
- - "47"
1507
- date:
1508
- - Sat, 08 Jan 2011 08:03:16 GMT
1509
- server:
1510
- - nginx/0.8.53
1511
- content-length:
1512
- - "2750"
1513
- set-cookie:
1514
- - _recurly_session=000f16635c51c5ddec8f5e90db2a728b; domain=.recurly.com; path=/; secure; HttpOnly
1515
- cache-control:
1516
- - private, max-age=0, must-revalidate
1517
- body: |
1518
- <?xml version="1.0" encoding="UTF-8"?>
1519
- <accounts type="collection">
1520
- <current_page type="integer">1</current_page>
1521
- <per_page type="integer">20</per_page>
1522
- <total_entries type="integer">8</total_entries>
1523
- <account>
1524
- <account_code>account-create-1294473761</account_code>
1525
- <username></username>
1526
- <email>verena@test.com</email>
1527
- <first_name>Verena</first_name>
1528
- <last_name>Test</last_name>
1529
- <company_name>Recurly Ruby Gem</company_name>
1530
- <balance_in_cents type="integer">0</balance_in_cents>
1531
- </account>
1532
- <account>
1533
- <account_code>account-get-1294473761</account_code>
1534
- <username></username>
1535
- <email>verena@test.com</email>
1536
- <first_name>Verena</first_name>
1537
- <last_name>Test</last_name>
1538
- <company_name>Recurly Ruby Gem</company_name>
1539
- <balance_in_cents type="integer">0</balance_in_cents>
1540
- </account>
1541
- <account>
1542
- <account_code>account-list-num-4-1294473761</account_code>
1543
- <username></username>
1544
- <email>verena@test.com</email>
1545
- <first_name>Verena</first_name>
1546
- <last_name>Test</last_name>
1547
- <company_name>Recurly Ruby Gem</company_name>
1548
- <balance_in_cents type="integer">0</balance_in_cents>
1549
- </account>
1550
- <account>
1551
- <account_code>account-list-num-5-1294473761</account_code>
1552
- <username></username>
1553
- <email>verena@test.com</email>
1554
- <first_name>Verena</first_name>
1555
- <last_name>Test</last_name>
1556
- <company_name>Recurly Ruby Gem</company_name>
1557
- <balance_in_cents type="integer">0</balance_in_cents>
1558
- </account>
1559
- <account>
1560
- <account_code>account-list-num-6-1294473761</account_code>
1561
- <username></username>
1562
- <email>verena@test.com</email>
1563
- <first_name>Verena</first_name>
1564
- <last_name>Test</last_name>
1565
- <company_name>Recurly Ruby Gem</company_name>
1566
- <balance_in_cents type="integer">0</balance_in_cents>
1567
- </account>
1568
- <account>
1569
- <account_code>account-list-num-7-1294473761</account_code>
1570
- <username></username>
1571
- <email>verena@test.com</email>
1572
- <first_name>Verena</first_name>
1573
- <last_name>Test</last_name>
1574
- <company_name>Recurly Ruby Gem</company_name>
1575
- <balance_in_cents type="integer">0</balance_in_cents>
1576
- </account>
1577
- <account>
1578
- <account_code>account1-french-1294473653</account_code>
1579
- <username></username>
1580
- <email>verena@test.com</email>
1581
- <first_name>Verena</first_name>
1582
- <last_name>Test</last_name>
1583
- <company_name>Recurly Ruby Gem</company_name>
1584
- <balance_in_cents type="integer">0</balance_in_cents>
1585
- </account>
1586
- <account>
1587
- <account_code>d00d-1294473761</account_code>
1588
- <username></username>
1589
- <email></email>
1590
- <first_name></first_name>
1591
- <last_name></last_name>
1592
- <company_name></company_name>
1593
- <balance_in_cents type="integer">0</balance_in_cents>
1594
- </account>
1595
- </accounts>
1596
-
1597
- http_version: "1.1"