recurly 0.3.1 → 0.3.2

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 (61) hide show
  1. data/lib/recurly.rb +8 -0
  2. data/lib/recurly/account.rb +5 -0
  3. data/lib/recurly/rails3/railtie.rb +9 -0
  4. data/lib/recurly/version.rb +1 -1
  5. data/spec/integration/account_spec.rb +29 -1
  6. data/spec/integration/add_on_spec.rb +84 -0
  7. data/spec/vcr/account/accept-language-account/1294473653.yml +68 -0
  8. data/spec/vcr/account/accept-language-account/1294473761.yml +68 -0
  9. data/spec/vcr/account/accept-language/1294473117.yml +167 -0
  10. data/spec/vcr/account/close/{1288381765.yml → 1294473761.yml} +26 -25
  11. data/spec/vcr/account/create-blank/{1288381765.yml → 1294473761.yml} +5 -4
  12. data/spec/vcr/account/create-duplicate/{1288381765.yml → 1294473761.yml} +13 -11
  13. data/spec/vcr/account/create-min/{1288381765.yml → 1294473761.yml} +12 -11
  14. data/spec/vcr/account/create/{1288381765.yml → 1294473761.yml} +12 -11
  15. data/spec/vcr/account/find/{1288381765.yml → 1294473761.yml} +25 -24
  16. data/spec/vcr/account/list/{1288381765.yml → 1294473761.yml} +328 -287
  17. data/spec/vcr/account/update/{1288381765.yml → 1294473761.yml} +47 -45
  18. data/spec/vcr/billing/create/1286682213.yml +28 -27
  19. data/spec/vcr/billing/destroy/1286682213.yml +42 -41
  20. data/spec/vcr/billing/find/1286682213.yml +38 -37
  21. data/spec/vcr/billing/update/1286682213.yml +40 -39
  22. data/spec/vcr/charge/create/1287465632.yml +36 -35
  23. data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +36 -35
  24. data/spec/vcr/charge/list-all/1287465632.yml +43 -42
  25. data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -69
  26. data/spec/vcr/charge/list-pending/1287465632.yml +43 -42
  27. data/spec/vcr/charge/lookup/1287465632.yml +22 -21
  28. data/spec/vcr/credit/create/1287461400.yml +23 -22
  29. data/spec/vcr/credit/delete/1287461400.yml +33 -32
  30. data/spec/vcr/credit/list/1287461400.yml +43 -42
  31. data/spec/vcr/credit/lookup/1287461400.yml +24 -23
  32. data/spec/vcr/invoice/create-no-charges/1287167121.yml +23 -22
  33. data/spec/vcr/invoice/create/1287167121.yml +48 -47
  34. data/spec/vcr/invoice/list/1287167121.yml +67 -66
  35. data/spec/vcr/invoice/lookup/1287167121.yml +50 -49
  36. data/spec/vcr/plan/all.yml +29 -17
  37. data/spec/vcr/plan/delete/1286677585.yml +21 -21
  38. data/spec/vcr/plan/find.yml +42 -18
  39. data/spec/vcr/plan/update.yml +17 -17
  40. data/spec/vcr/subscription/addons/add/1292420980.yml +479 -0
  41. data/spec/vcr/subscription/addons/create/1292420980.yml +318 -0
  42. data/spec/vcr/subscription/addons/remove/1292420980.yml +448 -0
  43. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +93 -69
  44. data/spec/vcr/subscription/cancel/1287455769.yml +80 -58
  45. data/spec/vcr/subscription/change1/1287455769.yml +77 -55
  46. data/spec/vcr/subscription/change2/1287455769.yml +77 -55
  47. data/spec/vcr/subscription/create/1287455769.yml +43 -27
  48. data/spec/vcr/subscription/find/1287455769.yml +54 -36
  49. data/spec/vcr/subscription/reactivate/1287455769.yml +83 -61
  50. data/spec/vcr/subscription/refund-full/1287455769.yml +69 -51
  51. data/spec/vcr/subscription/refund-none/1287455769.yml +70 -52
  52. data/spec/vcr/subscription/refund-partial/1287455769.yml +70 -52
  53. data/spec/vcr/transaction/all/1289558212.yml +46 -46
  54. data/spec/vcr/transaction/create-no-account/1289558212.yml +11 -11
  55. data/spec/vcr/transaction/create-with-account/1289558212.yml +27 -26
  56. data/spec/vcr/transaction/list-filled/1289558212.yml +54 -53
  57. data/spec/vcr/transaction/list-initial/1289558212.yml +27 -26
  58. data/spec/vcr/transaction/lookup/1289558212.yml +64 -63
  59. data/spec/vcr/transaction/refund/1289558212.yml +35 -34
  60. data/spec/vcr/transaction/void/1289558212.yml +71 -70
  61. metadata +34 -20
@@ -9,6 +9,7 @@
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
10
  <account-code>invoice-lookup-1287167121</account-code>
11
11
  <last-name>Test</last-name>
12
+ <accept-language type="yaml" nil="true"></accept-language>
12
13
  <email>verena@test.com</email>
13
14
  <first-name>Verena</first-name>
14
15
  </account>
@@ -34,17 +35,17 @@
34
35
  content-type:
35
36
  - application/xml; charset=utf-8
36
37
  x-runtime:
37
- - "271"
38
+ - "439"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:03:58 GMT
40
+ - Sat, 08 Jan 2011 08:05:05 GMT
40
41
  server:
41
- - nginx/0.7.65
42
+ - nginx/0.8.53
42
43
  content-length:
43
44
  - "583"
44
45
  set-cookie:
45
- - account_credentials=7cf6096886b37d4ec774d0cb8f7ccd2516e6330d5ccc0dbac12bb53ac759b0b91e03f6b0f0843617bd87a59e84d627c2ac30a8c04b7f65343ffa72a8175ae3c7%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=05e31ca10e7165fdcdb78df4d2973d660883a8949c04343e0de979795ab7ca73808ea354af4c3a9f365563627c2fe32b9726a2bc8626e463709d4b11ccf9b467%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=e5aa559625a6fc60f611ecbff219dbb6; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=73f8e7c0d597f8b896d21c485499aa38; domain=.recurly.com; path=/; secure; HttpOnly
48
49
  cache-control:
49
50
  - no-cache
50
51
  body: |
@@ -59,8 +60,8 @@
59
60
  <company_name>Recurly Ruby Gem</company_name>
60
61
  <balance_in_cents type="integer">0</balance_in_cents>
61
62
  <closed type="boolean">false</closed>
62
- <hosted_login_token>364e5e87e0b1496abed3eabb1665da0d</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:03:58Z</created_at>
63
+ <hosted_login_token>7ebbdabd7a7c4d3f81fbc3defd562d11</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:05:05Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -72,15 +73,15 @@
72
73
  body: |
73
74
  <?xml version="1.0" encoding="UTF-8"?>
74
75
  <billing-info>
75
- <city>San Francisco</city>
76
76
  <address1>123 Test St</address1>
77
+ <city>San Francisco</city>
77
78
  <zip>94115</zip>
78
79
  <account-code>invoice-lookup-1287167121</account-code>
79
80
  <country>US</country>
80
81
  <credit-card>
81
82
  <number>1</number>
82
- <month type="integer">11</month>
83
- <year type="integer">2011</year>
83
+ <month type="integer">1</month>
84
+ <year type="integer">2012</year>
84
85
  <verification-value>123</verification-value>
85
86
  </credit-card>
86
87
  <last-name>Test</last-name>
@@ -105,21 +106,21 @@
105
106
  x-ua-compatible:
106
107
  - IE=Edge
107
108
  etag:
108
- - "\"48382b957ffa404e4cfee2e41f2646c0\""
109
+ - "\"c34cd154141dfa3f27b1eed90b25e508\""
109
110
  connection:
110
111
  - close
111
112
  content-type:
112
113
  - application/xml; charset=utf-8
113
114
  x-runtime:
114
- - "53"
115
+ - "178"
115
116
  date:
116
- - Tue, 16 Nov 2010 07:04:00 GMT
117
+ - Sat, 08 Jan 2011 08:05:06 GMT
117
118
  server:
118
- - nginx/0.7.65
119
+ - nginx/0.8.53
119
120
  content-length:
120
- - "639"
121
+ - "638"
121
122
  set-cookie:
122
- - _recurly_session=de2c7a0ff1a42abc3d642118df830f38; domain=.recurly.com; path=/; secure; HttpOnly
123
+ - _recurly_session=dca5c499da3a699093e50848db334936; domain=.recurly.com; path=/; secure; HttpOnly
123
124
  cache-control:
124
125
  - private, max-age=0, must-revalidate
125
126
  body: |
@@ -140,10 +141,10 @@
140
141
  <credit_card>
141
142
  <type>bogus</type>
142
143
  <last_four>1</last_four>
143
- <month type="integer">11</month>
144
- <year type="integer">2011</year>
144
+ <month type="integer">1</month>
145
+ <year type="integer">2012</year>
145
146
  </credit_card>
146
- <updated_at type="datetime">2010-11-16T07:04:00Z</updated_at>
147
+ <updated_at type="datetime">2011-01-08T08:05:06Z</updated_at>
147
148
  </billing_info>
148
149
 
149
150
  http_version: "1.1"
@@ -177,28 +178,28 @@
177
178
  content-type:
178
179
  - application/xml; charset=utf-8
179
180
  x-runtime:
180
- - "43"
181
+ - "141"
181
182
  date:
182
- - Tue, 16 Nov 2010 07:03:59 GMT
183
+ - Sat, 08 Jan 2011 08:05:07 GMT
183
184
  server:
184
- - nginx/0.7.65
185
+ - nginx/0.8.53
185
186
  content-length:
186
187
  - "519"
187
188
  set-cookie:
188
- - _recurly_session=d58690c3129724e50dd3dd43f49a04d1; domain=.recurly.com; path=/; secure; HttpOnly
189
+ - _recurly_session=401b13537bfc5378a9b7367d1c80ebb9; domain=.recurly.com; path=/; secure; HttpOnly
189
190
  cache-control:
190
191
  - no-cache
191
192
  body: |
192
193
  <?xml version="1.0" encoding="UTF-8"?>
193
194
  <charge type="charge">
194
- <id>2906ac4736344f1ebd950b6750b07f4f</id>
195
+ <id>e214129bc210416c8a9960b3a08a0d03</id>
195
196
  <account_code>invoice-lookup-1287167121</account_code>
196
197
  <amount_in_cents type="integer">1500</amount_in_cents>
197
- <start_date type="datetime">2010-11-16T07:03:59Z</start_date>
198
+ <start_date type="datetime">2011-01-08T08:05:07Z</start_date>
198
199
  <end_date nil="true" type="datetime"></end_date>
199
200
  <invoice_number nil="true" type="integer"></invoice_number>
200
201
  <description>charge description</description>
201
- <created_at type="datetime">2010-11-16T07:03:59Z</created_at>
202
+ <created_at type="datetime">2011-01-08T08:05:07Z</created_at>
202
203
  </charge>
203
204
 
204
205
  http_version: "1.1"
@@ -226,30 +227,30 @@
226
227
  message: Created
227
228
  headers:
228
229
  location:
229
- - https://recurlytest3-test.recurly.com/invoices/bdb78e450c5642679f9ec0ca0c2321e5
230
+ - https://recurlytest3-test.recurly.com/invoices/70467e1acee94a5589d05ef71fa38ad2
230
231
  connection:
231
232
  - close
232
233
  content-type:
233
234
  - application/xml; charset=utf-8
234
235
  x-runtime:
235
- - "57"
236
+ - "96"
236
237
  date:
237
- - Tue, 16 Nov 2010 07:04:01 GMT
238
+ - Sat, 08 Jan 2011 08:05:08 GMT
238
239
  server:
239
- - nginx/0.7.65
240
+ - nginx/0.8.53
240
241
  content-length:
241
242
  - "1106"
242
243
  set-cookie:
243
- - _recurly_session=c7c949a5a50674a67b2f2f3ee33f0db1; domain=.recurly.com; path=/; secure; HttpOnly
244
+ - _recurly_session=13c2df1e00e341faa2c09d8cd2973c97; domain=.recurly.com; path=/; secure; HttpOnly
244
245
  cache-control:
245
246
  - no-cache
246
247
  body: |
247
248
  <?xml version="1.0" encoding="UTF-8"?>
248
249
  <invoice>
249
- <id>bdb78e450c5642679f9ec0ca0c2321e5</id>
250
+ <id>70467e1acee94a5589d05ef71fa38ad2</id>
250
251
  <account_code>invoice-lookup-1287167121</account_code>
251
- <date type="datetime">2010-11-16T07:04:01Z</date>
252
- <invoice_number type="integer">2229</invoice_number>
252
+ <date type="datetime">2011-01-08T08:05:08Z</date>
253
+ <invoice_number type="integer">2384</invoice_number>
253
254
  <vat_number></vat_number>
254
255
  <status>open</status>
255
256
  <subtotal_in_cents type="integer">1500</subtotal_in_cents>
@@ -259,13 +260,13 @@
259
260
  <total_due_in_cents type="integer">1500</total_due_in_cents>
260
261
  <line_items type="array">
261
262
  <line_item>
262
- <id>2906ac4736344f1ebd950b6750b07f4f</id>
263
+ <id>e214129bc210416c8a9960b3a08a0d03</id>
263
264
  <type>charge</type>
264
265
  <amount_in_cents type="integer">1500</amount_in_cents>
265
- <start_date type="datetime">2010-11-16T07:03:59Z</start_date>
266
+ <start_date type="datetime">2011-01-08T08:05:07Z</start_date>
266
267
  <end_date nil="true" type="datetime"></end_date>
267
268
  <description>charge description</description>
268
- <created_at type="datetime">2010-11-16T07:03:59Z</created_at>
269
+ <created_at type="datetime">2011-01-08T08:05:07Z</created_at>
269
270
  </line_item>
270
271
  </line_items>
271
272
  <payments type="array">
@@ -276,7 +277,7 @@
276
277
  - !ruby/struct:VCR::HTTPInteraction
277
278
  request: !ruby/struct:VCR::Request
278
279
  method: :get
279
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/invoices/bdb78e450c5642679f9ec0ca0c2321e5.xml
280
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/invoices/70467e1acee94a5589d05ef71fa38ad2.xml
280
281
  body:
281
282
  headers:
282
283
  accept:
@@ -293,30 +294,30 @@
293
294
  x-ua-compatible:
294
295
  - IE=Edge
295
296
  etag:
296
- - "\"3f8102e2709b891b467ebc8a26cc8ebe\""
297
+ - "\"f0a9cd2245363bccf3cbe8dc9cd3e40b\""
297
298
  connection:
298
299
  - close
299
300
  content-type:
300
301
  - application/xml; charset=utf-8
301
302
  x-runtime:
302
- - "17"
303
+ - "23"
303
304
  date:
304
- - Tue, 16 Nov 2010 07:04:00 GMT
305
+ - Sat, 08 Jan 2011 08:05:09 GMT
305
306
  server:
306
- - nginx/0.7.65
307
+ - nginx/0.8.53
307
308
  content-length:
308
309
  - "1106"
309
310
  set-cookie:
310
- - _recurly_session=e3a17f660455038bdf3e197eb9942564; domain=.recurly.com; path=/; secure; HttpOnly
311
+ - _recurly_session=7b79b764c79b3256af204b80c17e92c5; domain=.recurly.com; path=/; secure; HttpOnly
311
312
  cache-control:
312
313
  - private, max-age=0, must-revalidate
313
314
  body: |
314
315
  <?xml version="1.0" encoding="UTF-8"?>
315
316
  <invoice>
316
- <id>bdb78e450c5642679f9ec0ca0c2321e5</id>
317
+ <id>70467e1acee94a5589d05ef71fa38ad2</id>
317
318
  <account_code>invoice-lookup-1287167121</account_code>
318
- <date type="datetime">2010-11-16T07:04:01Z</date>
319
- <invoice_number type="integer">2229</invoice_number>
319
+ <date type="datetime">2011-01-08T08:05:08Z</date>
320
+ <invoice_number type="integer">2384</invoice_number>
320
321
  <vat_number></vat_number>
321
322
  <status>open</status>
322
323
  <subtotal_in_cents type="integer">1500</subtotal_in_cents>
@@ -326,13 +327,13 @@
326
327
  <total_due_in_cents type="integer">1500</total_due_in_cents>
327
328
  <line_items type="array">
328
329
  <line_item>
329
- <id>2906ac4736344f1ebd950b6750b07f4f</id>
330
+ <id>e214129bc210416c8a9960b3a08a0d03</id>
330
331
  <type>charge</type>
331
332
  <amount_in_cents type="integer">1500</amount_in_cents>
332
- <start_date type="datetime">2010-11-16T07:03:59Z</start_date>
333
+ <start_date type="datetime">2011-01-08T08:05:07Z</start_date>
333
334
  <end_date nil="true" type="datetime"></end_date>
334
335
  <description>charge description</description>
335
- <created_at type="datetime">2010-11-16T07:03:59Z</created_at>
336
+ <created_at type="datetime">2011-01-08T08:05:07Z</created_at>
336
337
  </line_item>
337
338
  </line_items>
338
339
  <payments type="array">
@@ -19,21 +19,21 @@
19
19
  x-ua-compatible:
20
20
  - IE=Edge
21
21
  etag:
22
- - "\"31910d9b30fecc5e62f25a1ce00278e0\""
22
+ - "\"47a9e8e85691ef0600a2dd39f113a21e\""
23
23
  connection:
24
24
  - close
25
25
  content-type:
26
26
  - application/xml; charset=utf-8
27
27
  x-runtime:
28
- - "11"
28
+ - "15"
29
29
  date:
30
- - Tue, 16 Nov 2010 07:04:03 GMT
30
+ - Sat, 08 Jan 2011 08:05:11 GMT
31
31
  server:
32
- - nginx/0.7.65
32
+ - nginx/0.8.53
33
33
  content-length:
34
- - "1150"
34
+ - "1564"
35
35
  set-cookie:
36
- - _recurly_session=31a5e3ae37ed6d6461528f35017b85e2; domain=.recurly.com; path=/; secure; HttpOnly
36
+ - _recurly_session=bc77fef2a09ee2d45e86105cdb87780b; domain=.recurly.com; path=/; secure; HttpOnly
37
37
  cache-control:
38
38
  - private, max-age=0, must-revalidate
39
39
  body: |
@@ -59,8 +59,20 @@
59
59
  <plan_interval_unit>months</plan_interval_unit>
60
60
  <trial_interval_length type="integer">0</trial_interval_length>
61
61
  <trial_interval_unit>months</trial_interval_unit>
62
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
62
+ <created_at type="datetime">2010-12-10T19:19:03Z</created_at>
63
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>
64
76
  </plan>
65
77
 
66
78
  http_version: "1.1"
@@ -90,15 +102,15 @@
90
102
  content-type:
91
103
  - application/xml; charset=utf-8
92
104
  x-runtime:
93
- - "11"
105
+ - "13"
94
106
  date:
95
- - Tue, 16 Nov 2010 07:04:01 GMT
107
+ - Sat, 08 Jan 2011 08:05:12 GMT
96
108
  server:
97
- - nginx/0.7.65
109
+ - nginx/0.8.53
98
110
  content-length:
99
111
  - "1164"
100
112
  set-cookie:
101
- - _recurly_session=9587ce05fe473e713553b67d68fdb465; domain=.recurly.com; path=/; secure; HttpOnly
113
+ - _recurly_session=cfe0d571ca87f8b967cfae824aa875ad; domain=.recurly.com; path=/; secure; HttpOnly
102
114
  cache-control:
103
115
  - private, max-age=0, must-revalidate
104
116
  body: |
@@ -149,21 +161,21 @@
149
161
  x-ua-compatible:
150
162
  - IE=Edge
151
163
  etag:
152
- - "\"94bbce5f28a6663b34bf7e88860f06f4\""
164
+ - "\"5f359230a335e926f7f591dcff65cdd2\""
153
165
  connection:
154
166
  - close
155
167
  content-type:
156
168
  - application/xml; charset=utf-8
157
169
  x-runtime:
158
- - "15"
170
+ - "16"
159
171
  date:
160
- - Tue, 16 Nov 2010 07:04:03 GMT
172
+ - Sat, 08 Jan 2011 08:05:13 GMT
161
173
  server:
162
- - nginx/0.7.65
174
+ - nginx/0.8.53
163
175
  content-length:
164
176
  - "6675"
165
177
  set-cookie:
166
- - _recurly_session=bd57ace13a4d86cd39b14bd66d904c2b; domain=.recurly.com; path=/; secure; HttpOnly
178
+ - _recurly_session=1a4383290f4c6514932ab9c47d7960c8; domain=.recurly.com; path=/; secure; HttpOnly
167
179
  cache-control:
168
180
  - private, max-age=0, must-revalidate
169
181
  body: |
@@ -210,7 +222,7 @@
210
222
  <plan_interval_unit>months</plan_interval_unit>
211
223
  <trial_interval_length type="integer">0</trial_interval_length>
212
224
  <trial_interval_unit>months</trial_interval_unit>
213
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
225
+ <created_at type="datetime">2010-12-10T19:19:03Z</created_at>
214
226
  </latest_version>
215
227
  </plan>
216
228
  <plan>
@@ -10,9 +10,9 @@
10
10
  <plan-code>test_1286677585</plan-code>
11
11
  <trial-interval-length type="integer">0</trial-interval-length>
12
12
  <unit-amount-in-cents type="integer">100</unit-amount-in-cents>
13
- <trial-interval-unit>months</trial-interval-unit>
14
13
  <plan-interval-unit>months</plan-interval-unit>
15
14
  <plan-interval-length type="integer">1</plan-interval-length>
15
+ <trial-interval-unit>months</trial-interval-unit>
16
16
  </plan>
17
17
 
18
18
  headers:
@@ -36,15 +36,15 @@
36
36
  content-type:
37
37
  - application/xml; charset=utf-8
38
38
  x-runtime:
39
- - "28"
39
+ - "29"
40
40
  date:
41
- - Tue, 16 Nov 2010 07:04:05 GMT
41
+ - Sat, 08 Jan 2011 08:05:19 GMT
42
42
  server:
43
- - nginx/0.7.65
43
+ - nginx/0.8.53
44
44
  content-length:
45
45
  - "1175"
46
46
  set-cookie:
47
- - _recurly_session=190e381cd103500731ccd26ddf525ed1; domain=.recurly.com; path=/; secure; HttpOnly
47
+ - _recurly_session=1155ab89075953cb17f10a7013c6ded0; domain=.recurly.com; path=/; secure; HttpOnly
48
48
  cache-control:
49
49
  - no-cache
50
50
  body: |
@@ -55,7 +55,7 @@
55
55
  <description></description>
56
56
  <success_url></success_url>
57
57
  <cancel_url></cancel_url>
58
- <created_at type="datetime">2010-11-16T07:04:05Z</created_at>
58
+ <created_at type="datetime">2011-01-08T08:05:19Z</created_at>
59
59
  <unit_amount_in_cents type="integer">100</unit_amount_in_cents>
60
60
  <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
61
61
  <plan_interval_length type="integer">1</plan_interval_length>
@@ -70,7 +70,7 @@
70
70
  <plan_interval_unit>months</plan_interval_unit>
71
71
  <trial_interval_length type="integer">0</trial_interval_length>
72
72
  <trial_interval_unit>months</trial_interval_unit>
73
- <created_at type="datetime">2010-11-16T07:04:05Z</created_at>
73
+ <created_at type="datetime">2011-01-08T08:05:19Z</created_at>
74
74
  </latest_version>
75
75
  </plan>
76
76
 
@@ -95,21 +95,21 @@
95
95
  x-ua-compatible:
96
96
  - IE=Edge
97
97
  etag:
98
- - "\"6f65a7c8ff1b1205b73c8ba882989d6c\""
98
+ - "\"bdd05e0d4bd959ef158dfbeabe056a1c\""
99
99
  connection:
100
100
  - close
101
101
  content-type:
102
102
  - application/xml; charset=utf-8
103
103
  x-runtime:
104
- - "11"
104
+ - "23"
105
105
  date:
106
- - Tue, 16 Nov 2010 07:04:08 GMT
106
+ - Sat, 08 Jan 2011 08:05:20 GMT
107
107
  server:
108
- - nginx/0.7.65
108
+ - nginx/0.8.53
109
109
  content-length:
110
110
  - "1175"
111
111
  set-cookie:
112
- - _recurly_session=cb7310eb5324004ff0a270a34247028d; domain=.recurly.com; path=/; secure; HttpOnly
112
+ - _recurly_session=0f090924888c7243b10c999264a06bd2; domain=.recurly.com; path=/; secure; HttpOnly
113
113
  cache-control:
114
114
  - private, max-age=0, must-revalidate
115
115
  body: |
@@ -120,7 +120,7 @@
120
120
  <description></description>
121
121
  <success_url></success_url>
122
122
  <cancel_url></cancel_url>
123
- <created_at type="datetime">2010-11-16T07:04:05Z</created_at>
123
+ <created_at type="datetime">2011-01-08T08:05:19Z</created_at>
124
124
  <unit_amount_in_cents type="integer">100</unit_amount_in_cents>
125
125
  <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
126
126
  <plan_interval_length type="integer">1</plan_interval_length>
@@ -135,7 +135,7 @@
135
135
  <plan_interval_unit>months</plan_interval_unit>
136
136
  <trial_interval_length type="integer">0</trial_interval_length>
137
137
  <trial_interval_unit>months</trial_interval_unit>
138
- <created_at type="datetime">2010-11-16T07:04:05Z</created_at>
138
+ <created_at type="datetime">2011-01-08T08:05:19Z</created_at>
139
139
  </latest_version>
140
140
  </plan>
141
141
 
@@ -164,15 +164,15 @@
164
164
  content-type:
165
165
  - application/xml; charset=utf-8
166
166
  x-runtime:
167
- - "31"
167
+ - "27"
168
168
  date:
169
- - Tue, 16 Nov 2010 07:04:06 GMT
169
+ - Sat, 08 Jan 2011 08:05:21 GMT
170
170
  server:
171
- - nginx/0.7.65
171
+ - nginx/0.8.53
172
172
  content-length:
173
173
  - "1"
174
174
  set-cookie:
175
- - _recurly_session=c4de15bbb83861063020736019f4367c; domain=.recurly.com; path=/; secure; HttpOnly
175
+ - _recurly_session=29a565fa989fb1b58ea844b9f47e04ae; domain=.recurly.com; path=/; secure; HttpOnly
176
176
  cache-control:
177
177
  - no-cache
178
178
  body: " "
@@ -199,13 +199,13 @@
199
199
  content-type:
200
200
  - application/xml; charset=utf-8
201
201
  date:
202
- - Tue, 16 Nov 2010 07:04:09 GMT
202
+ - Sat, 08 Jan 2011 08:05:21 GMT
203
203
  server:
204
- - nginx/0.7.65
204
+ - nginx/0.8.53
205
205
  content-length:
206
206
  - "90"
207
207
  set-cookie:
208
- - _recurly_session=5fe4e2eec085b12ada1fea436f18aa82; domain=.recurly.com; path=/; secure; HttpOnly
208
+ - _recurly_session=8e0efd34ab44a9263de0494f6640bed1; domain=.recurly.com; path=/; secure; HttpOnly
209
209
  cache-control:
210
210
  - no-cache
211
211
  body: |