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
@@ -7,8 +7,9 @@
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
- <account-code>account-update-1288381765</account-code>
10
+ <account-code>account-update-1294473761</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>
@@ -28,30 +29,30 @@
28
29
  message: Created
29
30
  headers:
30
31
  location:
31
- - https://recurlytest3-test.recurly.com/accounts/account-update-1288381765
32
+ - https://recurlytest3-test.recurly.com/accounts/account-update-1294473761
32
33
  connection:
33
34
  - close
34
35
  content-type:
35
36
  - application/xml; charset=utf-8
36
37
  x-runtime:
37
- - "271"
38
+ - "347"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:03:05 GMT
40
+ - Sat, 08 Jan 2011 08:03:17 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=0c9beab595368b91d4e85dcdb0ae523f58d0ce2e3530c253b57279dd6f0dda34c2b1261b18967883b329e225b45e5f4c63e3dfc8fa13eff9403ae7fd15bc47fc%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=f7bb856ed5e556f4bfcdbe192ce84aa6194b592844fbea551c164c45944c9353bf863d407ac80b6e7618f05fcfcce9b0e07f40ee1b2f8086eb8336f14be4755b%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=08a97280377fdc2ce45c34dd42bf06c7; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=66dccef4737a4b47a0f3a1d5aacf642d; domain=.recurly.com; path=/; secure; HttpOnly
48
49
  cache-control:
49
50
  - no-cache
50
51
  body: |
51
52
  <?xml version="1.0" encoding="UTF-8"?>
52
53
  <account>
53
- <id>account-update-1288381765</id>
54
- <account_code>account-update-1288381765</account_code>
54
+ <id>account-update-1294473761</id>
55
+ <account_code>account-update-1294473761</account_code>
55
56
  <username></username>
56
57
  <email>verena@test.com</email>
57
58
  <first_name>Verena</first_name>
@@ -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>61434b3710de45958b909960f3d123d1</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:03:05Z</created_at>
63
+ <hosted_login_token>cc907a936b06405fa341e292da6ece30</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:03:17Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -68,7 +69,7 @@
68
69
  - !ruby/struct:VCR::HTTPInteraction
69
70
  request: !ruby/struct:VCR::Request
70
71
  method: :get
71
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-update-1288381765.xml
72
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-update-1294473761.xml
72
73
  body:
73
74
  headers:
74
75
  accept:
@@ -85,28 +86,28 @@
85
86
  x-ua-compatible:
86
87
  - IE=Edge
87
88
  etag:
88
- - "\"07f50889ea07e38bfc774d0980faca45\""
89
+ - "\"f8195ed3ae301bd32103403bede88f03\""
89
90
  connection:
90
91
  - close
91
92
  content-type:
92
93
  - application/xml; charset=utf-8
93
94
  x-runtime:
94
- - "28"
95
+ - "29"
95
96
  date:
96
- - Tue, 16 Nov 2010 07:03:04 GMT
97
+ - Sat, 08 Jan 2011 08:03:18 GMT
97
98
  server:
98
- - nginx/0.7.65
99
+ - nginx/0.8.53
99
100
  content-length:
100
101
  - "583"
101
102
  set-cookie:
102
- - _recurly_session=54093d116bb2b7b383908ac3189256f9; domain=.recurly.com; path=/; secure; HttpOnly
103
+ - _recurly_session=e55e9f534dd061489d572c0108442c37; domain=.recurly.com; path=/; secure; HttpOnly
103
104
  cache-control:
104
105
  - private, max-age=0, must-revalidate
105
106
  body: |
106
107
  <?xml version="1.0" encoding="UTF-8"?>
107
108
  <account>
108
- <id>account-update-1288381765</id>
109
- <account_code>account-update-1288381765</account_code>
109
+ <id>account-update-1294473761</id>
110
+ <account_code>account-update-1294473761</account_code>
110
111
  <username></username>
111
112
  <email>verena@test.com</email>
112
113
  <first_name>Verena</first_name>
@@ -114,8 +115,8 @@
114
115
  <company_name>Recurly Ruby Gem</company_name>
115
116
  <balance_in_cents type="integer">0</balance_in_cents>
116
117
  <closed type="boolean">false</closed>
117
- <hosted_login_token>61434b3710de45958b909960f3d123d1</hosted_login_token>
118
- <created_at type="datetime">2010-11-16T07:03:05Z</created_at>
118
+ <hosted_login_token>cc907a936b06405fa341e292da6ece30</hosted_login_token>
119
+ <created_at type="datetime">2011-01-08T08:03:17Z</created_at>
119
120
  <state>active</state>
120
121
  </account>
121
122
 
@@ -123,18 +124,19 @@
123
124
  - !ruby/struct:VCR::HTTPInteraction
124
125
  request: !ruby/struct:VCR::Request
125
126
  method: :put
126
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-update-1288381765.xml
127
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-update-1294473761.xml
127
128
  body: |
128
129
  <?xml version="1.0" encoding="UTF-8"?>
129
130
  <account>
130
- <created-at type="datetime">2010-11-16T07:03:05Z</created-at>
131
- <hosted-login-token>61434b3710de45958b909960f3d123d1</hosted-login-token>
131
+ <created-at type="datetime">2011-01-08T08:03:17Z</created-at>
132
132
  <company-name>Recurly Ruby Gem -- Update</company-name>
133
- <account-code>account-update-1288381765</account-code>
133
+ <hosted-login-token>cc907a936b06405fa341e292da6ece30</hosted-login-token>
134
+ <account-code>account-update-1294473761</account-code>
134
135
  <closed type="boolean">false</closed>
135
136
  <username type="yaml" nil="true"></username>
136
- <id>account-update-1288381765</id>
137
+ <id>account-update-1294473761</id>
137
138
  <last-name>Update Test</last-name>
139
+ <accept-language type="yaml" nil="true"></accept-language>
138
140
  <balance-in-cents type="integer">0</balance-in-cents>
139
141
  <email>verena@test.com</email>
140
142
  <first-name>Verena</first-name>
@@ -158,28 +160,28 @@
158
160
  x-ua-compatible:
159
161
  - IE=Edge
160
162
  etag:
161
- - "\"8faeb17b3ca6093fb36a8c0a26656d1d\""
163
+ - "\"c4424cc61a05f254aa672a74b98e0075\""
162
164
  connection:
163
165
  - close
164
166
  content-type:
165
167
  - application/xml; charset=utf-8
166
168
  x-runtime:
167
- - "89"
169
+ - "26"
168
170
  date:
169
- - Tue, 16 Nov 2010 07:03:06 GMT
171
+ - Sat, 08 Jan 2011 08:03:19 GMT
170
172
  server:
171
- - nginx/0.7.65
173
+ - nginx/0.8.53
172
174
  content-length:
173
175
  - "600"
174
176
  set-cookie:
175
- - _recurly_session=2416596eeab319e1bddc9ec3f701de53; domain=.recurly.com; path=/; secure; HttpOnly
177
+ - _recurly_session=d0550edb3a72d834581a36fe2459db4e; domain=.recurly.com; path=/; secure; HttpOnly
176
178
  cache-control:
177
179
  - private, max-age=0, must-revalidate
178
180
  body: |
179
181
  <?xml version="1.0" encoding="UTF-8"?>
180
182
  <account>
181
- <id>account-update-1288381765</id>
182
- <account_code>account-update-1288381765</account_code>
183
+ <id>account-update-1294473761</id>
184
+ <account_code>account-update-1294473761</account_code>
183
185
  <username></username>
184
186
  <email>verena@test.com</email>
185
187
  <first_name>Verena</first_name>
@@ -187,8 +189,8 @@
187
189
  <company_name>Recurly Ruby Gem -- Update</company_name>
188
190
  <balance_in_cents type="integer">0</balance_in_cents>
189
191
  <closed type="boolean">false</closed>
190
- <hosted_login_token>61434b3710de45958b909960f3d123d1</hosted_login_token>
191
- <created_at type="datetime">2010-11-16T07:03:05Z</created_at>
192
+ <hosted_login_token>cc907a936b06405fa341e292da6ece30</hosted_login_token>
193
+ <created_at type="datetime">2011-01-08T08:03:17Z</created_at>
192
194
  <state>active</state>
193
195
  </account>
194
196
 
@@ -196,7 +198,7 @@
196
198
  - !ruby/struct:VCR::HTTPInteraction
197
199
  request: !ruby/struct:VCR::Request
198
200
  method: :get
199
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-update-1288381765.xml
201
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-update-1294473761.xml
200
202
  body:
201
203
  headers:
202
204
  accept:
@@ -213,28 +215,28 @@
213
215
  x-ua-compatible:
214
216
  - IE=Edge
215
217
  etag:
216
- - "\"8faeb17b3ca6093fb36a8c0a26656d1d\""
218
+ - "\"c4424cc61a05f254aa672a74b98e0075\""
217
219
  connection:
218
220
  - close
219
221
  content-type:
220
222
  - application/xml; charset=utf-8
221
223
  x-runtime:
222
- - "15"
224
+ - "31"
223
225
  date:
224
- - Tue, 16 Nov 2010 07:03:05 GMT
226
+ - Sat, 08 Jan 2011 08:03:20 GMT
225
227
  server:
226
- - nginx/0.7.65
228
+ - nginx/0.8.53
227
229
  content-length:
228
230
  - "600"
229
231
  set-cookie:
230
- - _recurly_session=7d1682767044e58449c59f9441d04af6; domain=.recurly.com; path=/; secure; HttpOnly
232
+ - _recurly_session=6e5e346d79e5c6d148252dd49b789ddd; domain=.recurly.com; path=/; secure; HttpOnly
231
233
  cache-control:
232
234
  - private, max-age=0, must-revalidate
233
235
  body: |
234
236
  <?xml version="1.0" encoding="UTF-8"?>
235
237
  <account>
236
- <id>account-update-1288381765</id>
237
- <account_code>account-update-1288381765</account_code>
238
+ <id>account-update-1294473761</id>
239
+ <account_code>account-update-1294473761</account_code>
238
240
  <username></username>
239
241
  <email>verena@test.com</email>
240
242
  <first_name>Verena</first_name>
@@ -242,8 +244,8 @@
242
244
  <company_name>Recurly Ruby Gem -- Update</company_name>
243
245
  <balance_in_cents type="integer">0</balance_in_cents>
244
246
  <closed type="boolean">false</closed>
245
- <hosted_login_token>61434b3710de45958b909960f3d123d1</hosted_login_token>
246
- <created_at type="datetime">2010-11-16T07:03:05Z</created_at>
247
+ <hosted_login_token>cc907a936b06405fa341e292da6ece30</hosted_login_token>
248
+ <created_at type="datetime">2011-01-08T08:03:17Z</created_at>
247
249
  <state>active</state>
248
250
  </account>
249
251
 
@@ -9,6 +9,7 @@
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
10
  <account-code>billing-create-1286682213</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
  connection:
35
36
  - close
36
37
  server:
37
- - nginx/0.7.65
38
+ - nginx/0.8.53
38
39
  date:
39
- - Tue, 16 Nov 2010 07:03:11 GMT
40
+ - Sat, 08 Jan 2011 08:03:47 GMT
40
41
  x-runtime:
41
- - "273"
42
+ - "349"
42
43
  content-length:
43
44
  - "583"
44
45
  set-cookie:
45
- - account_credentials=6adf27b69449bf7f9b90ed950d7804300251102ac994d842955df025b4c40f7f7a0821c3d9d548d377c96186e2633a36363748a874f19f958692525949aa1d27%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=f3040f60c0a6f194cf6bfe4bca2a65bf200d5a4b72e17dc49965e4373baf8b3c1d936d30e126fe237a94872fdc377e40a167bf54789cacbd23547fc7dc94412a%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=77ffb3705ef9c4a2be635db4d8f0ad0b; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=b5a3498568e4b765d8c0e92dfb7a9207; 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>6084db7afffb44e8a8d9c0ff99918da5</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:03:11Z</created_at>
63
+ <hosted_login_token>dd8c540d1ce84eee9b3e054de961cdfc</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:03:47Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -72,14 +73,14 @@
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
  <country>US</country>
79
80
  <credit-card>
80
81
  <number>1</number>
81
- <month type="integer">11</month>
82
- <year type="integer">2011</year>
82
+ <month type="integer">1</month>
83
+ <year type="integer">2012</year>
83
84
  <verification-value>123</verification-value>
84
85
  </credit-card>
85
86
  <last-name>Test</last-name>
@@ -104,21 +105,21 @@
104
105
  x-ua-compatible:
105
106
  - IE=Edge
106
107
  etag:
107
- - "\"5183185873438d2ff3ebc2886bd622b5\""
108
+ - "\"55868847338567644117e2d9a107a153\""
108
109
  content-type:
109
110
  - application/xml; charset=utf-8
110
111
  connection:
111
112
  - close
112
113
  server:
113
- - nginx/0.7.65
114
+ - nginx/0.8.53
114
115
  date:
115
- - Tue, 16 Nov 2010 07:03:10 GMT
116
+ - Sat, 08 Jan 2011 08:03:48 GMT
116
117
  x-runtime:
117
- - "114"
118
+ - "255"
118
119
  content-length:
119
- - "639"
120
+ - "638"
120
121
  set-cookie:
121
- - _recurly_session=78544cc3e6fe773d3639041f29ec7542; domain=.recurly.com; path=/; secure; HttpOnly
122
+ - _recurly_session=16fba6bf071b1671068e56f452b7802d; domain=.recurly.com; path=/; secure; HttpOnly
122
123
  cache-control:
123
124
  - private, max-age=0, must-revalidate
124
125
  body: |
@@ -139,10 +140,10 @@
139
140
  <credit_card>
140
141
  <type>bogus</type>
141
142
  <last_four>1</last_four>
142
- <month type="integer">11</month>
143
- <year type="integer">2011</year>
143
+ <month type="integer">1</month>
144
+ <year type="integer">2012</year>
144
145
  </credit_card>
145
- <updated_at type="datetime">2010-11-16T07:03:10Z</updated_at>
146
+ <updated_at type="datetime">2011-01-08T08:03:48Z</updated_at>
146
147
  </billing_info>
147
148
 
148
149
  http_version: "1.1"
@@ -166,7 +167,7 @@
166
167
  x-ua-compatible:
167
168
  - IE=Edge
168
169
  etag:
169
- - "\"5183185873438d2ff3ebc2886bd622b5\""
170
+ - "\"55868847338567644117e2d9a107a153\""
170
171
  connection:
171
172
  - close
172
173
  content-type:
@@ -174,13 +175,13 @@
174
175
  x-runtime:
175
176
  - "12"
176
177
  date:
177
- - Tue, 16 Nov 2010 07:03:12 GMT
178
+ - Sat, 08 Jan 2011 08:03:49 GMT
178
179
  server:
179
- - nginx/0.7.65
180
+ - nginx/0.8.53
180
181
  content-length:
181
- - "639"
182
+ - "638"
182
183
  set-cookie:
183
- - _recurly_session=0cb467710928380cc4f1a6014f2faac2; domain=.recurly.com; path=/; secure; HttpOnly
184
+ - _recurly_session=7123dd4140c1434162d9c4840752bd4c; domain=.recurly.com; path=/; secure; HttpOnly
184
185
  cache-control:
185
186
  - private, max-age=0, must-revalidate
186
187
  body: |
@@ -201,10 +202,10 @@
201
202
  <credit_card>
202
203
  <type>bogus</type>
203
204
  <last_four>1</last_four>
204
- <month type="integer">11</month>
205
- <year type="integer">2011</year>
205
+ <month type="integer">1</month>
206
+ <year type="integer">2012</year>
206
207
  </credit_card>
207
- <updated_at type="datetime">2010-11-16T07:03:10Z</updated_at>
208
+ <updated_at type="datetime">2011-01-08T08:03:48Z</updated_at>
208
209
  </billing_info>
209
210
 
210
211
  http_version: "1.1"
@@ -9,6 +9,7 @@
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
10
  <account-code>billing-destroy-1286682213</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
- - "270"
38
+ - "375"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:03:16 GMT
40
+ - Sat, 08 Jan 2011 08:03:58 GMT
40
41
  server:
41
- - nginx/0.7.65
42
+ - nginx/0.8.53
42
43
  content-length:
43
44
  - "585"
44
45
  set-cookie:
45
- - account_credentials=7403f40a83c0b4fd8700c9fb5c1a48bc5d80c56401950e31f16800aaa0c8ca1716c64d457cb0a178b279e0fce3a23d96541510b56644e38b5db310bea1abcbeb%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=6a555b10ae953a6b4de162b091c7095580436896d3ccf15069e1e97b861fdd7858d93ea21628d9f6a0aec7b893451583f73e27ff2548faa92b5f659a399ffe47%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=2b30f6d374ba52fc953e3d75b0141edf; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=6b24f00c3e6841c13f654890256793d0; 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>b8b44472f6684ecea66b486011cf62d1</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:03:16Z</created_at>
63
+ <hosted_login_token>6c134ddd8c2d4abe890b3fed2b5ca4f5</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:03:58Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -72,14 +73,14 @@
72
73
  body: |
73
74
  <?xml version="1.0" encoding="UTF-8"?>
74
75
  <billing-info>
75
- <city>Los Angeles</city>
76
76
  <address1>500 South Central Blvd</address1>
77
+ <city>Los Angeles</city>
77
78
  <zip>90001</zip>
78
79
  <country>US</country>
79
80
  <credit-card>
80
81
  <number>1</number>
81
- <month type="integer">11</month>
82
- <year type="integer">2011</year>
82
+ <month type="integer">1</month>
83
+ <year type="integer">2012</year>
83
84
  <verification-value>123</verification-value>
84
85
  </credit-card>
85
86
  <last-name>Test</last-name>
@@ -104,21 +105,21 @@
104
105
  x-ua-compatible:
105
106
  - IE=Edge
106
107
  etag:
107
- - "\"1661bc948fb9e9df8b3d65f1f39db22a\""
108
+ - "\"005acd9b6487b39972e57d24cd78b6b0\""
108
109
  connection:
109
110
  - close
110
111
  content-type:
111
112
  - application/xml; charset=utf-8
112
113
  x-runtime:
113
- - "53"
114
+ - "177"
114
115
  date:
115
- - Tue, 16 Nov 2010 07:03:18 GMT
116
+ - Sat, 08 Jan 2011 08:03:59 GMT
116
117
  server:
117
- - nginx/0.7.65
118
+ - nginx/0.8.53
118
119
  content-length:
119
- - "649"
120
+ - "648"
120
121
  set-cookie:
121
- - _recurly_session=924bd55c30ea5d0388706cb0f487ef4e; domain=.recurly.com; path=/; secure; HttpOnly
122
+ - _recurly_session=e9944845a8114851bdeae6d12736ec9f; domain=.recurly.com; path=/; secure; HttpOnly
122
123
  cache-control:
123
124
  - private, max-age=0, must-revalidate
124
125
  body: |
@@ -139,10 +140,10 @@
139
140
  <credit_card>
140
141
  <type>bogus</type>
141
142
  <last_four>1</last_four>
142
- <month type="integer">11</month>
143
- <year type="integer">2011</year>
143
+ <month type="integer">1</month>
144
+ <year type="integer">2012</year>
144
145
  </credit_card>
145
- <updated_at type="datetime">2010-11-16T07:03:18Z</updated_at>
146
+ <updated_at type="datetime">2011-01-08T08:03:59Z</updated_at>
146
147
  </billing_info>
147
148
 
148
149
  http_version: "1.1"
@@ -166,21 +167,21 @@
166
167
  x-ua-compatible:
167
168
  - IE=Edge
168
169
  etag:
169
- - "\"1661bc948fb9e9df8b3d65f1f39db22a\""
170
+ - "\"005acd9b6487b39972e57d24cd78b6b0\""
170
171
  connection:
171
172
  - close
172
173
  content-type:
173
174
  - application/xml; charset=utf-8
174
175
  x-runtime:
175
- - "12"
176
+ - "13"
176
177
  date:
177
- - Tue, 16 Nov 2010 07:03:17 GMT
178
+ - Sat, 08 Jan 2011 08:03:59 GMT
178
179
  server:
179
- - nginx/0.7.65
180
+ - nginx/0.8.53
180
181
  content-length:
181
- - "649"
182
+ - "648"
182
183
  set-cookie:
183
- - _recurly_session=59862c14fc3e84eddfb51dfe458de2e5; domain=.recurly.com; path=/; secure; HttpOnly
184
+ - _recurly_session=cc93dfeac43cbd0f9a9787a589619849; domain=.recurly.com; path=/; secure; HttpOnly
184
185
  cache-control:
185
186
  - private, max-age=0, must-revalidate
186
187
  body: |
@@ -201,10 +202,10 @@
201
202
  <credit_card>
202
203
  <type>bogus</type>
203
204
  <last_four>1</last_four>
204
- <month type="integer">11</month>
205
- <year type="integer">2011</year>
205
+ <month type="integer">1</month>
206
+ <year type="integer">2012</year>
206
207
  </credit_card>
207
- <updated_at type="datetime">2010-11-16T07:03:18Z</updated_at>
208
+ <updated_at type="datetime">2011-01-08T08:03:59Z</updated_at>
208
209
  </billing_info>
209
210
 
210
211
  http_version: "1.1"
@@ -232,15 +233,15 @@
232
233
  content-type:
233
234
  - application/xml; charset=utf-8
234
235
  x-runtime:
235
- - "17"
236
+ - "19"
236
237
  date:
237
- - Tue, 16 Nov 2010 07:03:19 GMT
238
+ - Sat, 08 Jan 2011 08:04:00 GMT
238
239
  server:
239
- - nginx/0.7.65
240
+ - nginx/0.8.53
240
241
  content-length:
241
242
  - "1"
242
243
  set-cookie:
243
- - _recurly_session=6e242d3a689cfa1bbd16ba6aa507c88d; domain=.recurly.com; path=/; secure; HttpOnly
244
+ - _recurly_session=3518628d5977150bae54aac642e2c731; domain=.recurly.com; path=/; secure; HttpOnly
244
245
  cache-control:
245
246
  - no-cache
246
247
  body: " "
@@ -265,21 +266,21 @@
265
266
  x-ua-compatible:
266
267
  - IE=Edge
267
268
  etag:
268
- - "\"8d2726aa3d3183cb7bb92efa9ce81e81\""
269
+ - "\"201ca18e87fa968104fe1c44990a8658\""
269
270
  connection:
270
271
  - close
271
272
  content-type:
272
273
  - application/xml; charset=utf-8
273
274
  x-runtime:
274
- - "11"
275
+ - "12"
275
276
  date:
276
- - Tue, 16 Nov 2010 07:03:18 GMT
277
+ - Sat, 08 Jan 2011 08:04:01 GMT
277
278
  server:
278
- - nginx/0.7.65
279
+ - nginx/0.8.53
279
280
  content-length:
280
- - "598"
281
+ - "597"
281
282
  set-cookie:
282
- - _recurly_session=237a6e0f987c3e549f2d93766c848ed1; domain=.recurly.com; path=/; secure; HttpOnly
283
+ - _recurly_session=7c0aa3c22e03c645e52a70666b8828cd; domain=.recurly.com; path=/; secure; HttpOnly
283
284
  cache-control:
284
285
  - private, max-age=0, must-revalidate
285
286
  body: |
@@ -300,10 +301,10 @@
300
301
  <credit_card>
301
302
  <type>unknown</type>
302
303
  <last_four></last_four>
303
- <month type="integer">11</month>
304
- <year type="integer">2010</year>
304
+ <month type="integer">1</month>
305
+ <year type="integer">2011</year>
305
306
  </credit_card>
306
- <updated_at type="datetime">2010-11-16T07:03:18Z</updated_at>
307
+ <updated_at type="datetime">2011-01-08T08:04:01Z</updated_at>
307
308
  </billing_info>
308
309
 
309
310
  http_version: "1.1"