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-close-1288381765</account-code>
10
+ <account-code>account-close-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-close-1288381765
32
+ - https://recurlytest3-test.recurly.com/accounts/account-close-1294473761
32
33
  connection:
33
34
  - close
34
35
  content-type:
35
36
  - application/xml; charset=utf-8
36
37
  x-runtime:
37
- - "272"
38
+ - "351"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:03:08 GMT
40
+ - Sat, 08 Jan 2011 08:03:21 GMT
40
41
  server:
41
- - nginx/0.7.65
42
+ - nginx/0.8.53
42
43
  content-length:
43
44
  - "581"
44
45
  set-cookie:
45
- - account_credentials=bad59057cdc2b7d8c216fc99a4f4c1a5107be3abe38f43a74af4f22924ed4d2eee071a9c4ef991107416378b368a4e84a0aeee8d2d3b65d5058147a63fa2d9a7%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=48b11df9d000407372bf439d15c0bb6a9f270783b3e93e44bfccc9ea96259ea740f6409917bf0dfe9ba7bf684f8b7d360632957ed6876ee01f82e853a8919cfa%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=28912f5b6c9cb388c27917545bc2a942; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=bc4b1f4da2a7a6207f0c0252cd7c9180; 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-close-1288381765</id>
54
- <account_code>account-close-1288381765</account_code>
54
+ <id>account-close-1294473761</id>
55
+ <account_code>account-close-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>5af15da5a53842428c54d1f98ae0d3ba</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:03:08Z</created_at>
63
+ <hosted_login_token>6f6e4b24cbe24477af25fbe9d15bfa57</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:03:21Z</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: :delete
71
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-1288381765.xml
72
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-1294473761.xml
72
73
  body:
73
74
  headers:
74
75
  accept:
@@ -89,15 +90,15 @@
89
90
  content-type:
90
91
  - application/xml; charset=utf-8
91
92
  x-runtime:
92
- - "38"
93
+ - "40"
93
94
  date:
94
- - Tue, 16 Nov 2010 07:03:06 GMT
95
+ - Sat, 08 Jan 2011 08:03:22 GMT
95
96
  server:
96
- - nginx/0.7.65
97
+ - nginx/0.8.53
97
98
  content-length:
98
99
  - "1"
99
100
  set-cookie:
100
- - _recurly_session=c17c7c3b4432499276128e42f12b2182; domain=.recurly.com; path=/; secure; HttpOnly
101
+ - _recurly_session=1df9f4455a0e476facb3ac0c1f1929b2; domain=.recurly.com; path=/; secure; HttpOnly
101
102
  cache-control:
102
103
  - no-cache
103
104
  body: " "
@@ -105,7 +106,7 @@
105
106
  - !ruby/struct:VCR::HTTPInteraction
106
107
  request: !ruby/struct:VCR::Request
107
108
  method: :get
108
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-1288381765.xml
109
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-1294473761.xml
109
110
  body:
110
111
  headers:
111
112
  accept:
@@ -122,7 +123,7 @@
122
123
  x-ua-compatible:
123
124
  - IE=Edge
124
125
  etag:
125
- - "\"43eecf1962280887df5786af1a4e956e\""
126
+ - "\"f4e2aa63ff4e056f9c7f3a899778edd0\""
126
127
  connection:
127
128
  - close
128
129
  content-type:
@@ -130,20 +131,20 @@
130
131
  x-runtime:
131
132
  - "29"
132
133
  date:
133
- - Tue, 16 Nov 2010 07:03:09 GMT
134
+ - Sat, 08 Jan 2011 08:03:23 GMT
134
135
  server:
135
- - nginx/0.7.65
136
+ - nginx/0.8.53
136
137
  content-length:
137
138
  - "580"
138
139
  set-cookie:
139
- - _recurly_session=12fbb26117258283aceb5fd69776cf2b; domain=.recurly.com; path=/; secure; HttpOnly
140
+ - _recurly_session=9c6a0603039991d3d326372fff7ec378; domain=.recurly.com; path=/; secure; HttpOnly
140
141
  cache-control:
141
142
  - private, max-age=0, must-revalidate
142
143
  body: |
143
144
  <?xml version="1.0" encoding="UTF-8"?>
144
145
  <account>
145
- <id>account-close-1288381765</id>
146
- <account_code>account-close-1288381765</account_code>
146
+ <id>account-close-1294473761</id>
147
+ <account_code>account-close-1294473761</account_code>
147
148
  <username></username>
148
149
  <email>verena@test.com</email>
149
150
  <first_name>Verena</first_name>
@@ -151,8 +152,8 @@
151
152
  <company_name>Recurly Ruby Gem</company_name>
152
153
  <balance_in_cents type="integer">0</balance_in_cents>
153
154
  <closed type="boolean">true</closed>
154
- <hosted_login_token>5af15da5a53842428c54d1f98ae0d3ba</hosted_login_token>
155
- <created_at type="datetime">2010-11-16T07:03:08Z</created_at>
155
+ <hosted_login_token>6f6e4b24cbe24477af25fbe9d15bfa57</hosted_login_token>
156
+ <created_at type="datetime">2011-01-08T08:03:21Z</created_at>
156
157
  <state>closed</state>
157
158
  </account>
158
159
 
@@ -7,6 +7,7 @@
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
9
  <account-code></account-code>
10
+ <accept-language type="yaml" nil="true"></accept-language>
10
11
  </account>
11
12
 
12
13
  headers:
@@ -28,15 +29,15 @@
28
29
  content-type:
29
30
  - application/xml; charset=utf-8
30
31
  x-runtime:
31
- - "17"
32
+ - "19"
32
33
  date:
33
- - Tue, 16 Nov 2010 07:03:07 GMT
34
+ - Sat, 08 Jan 2011 08:03:24 GMT
34
35
  server:
35
- - nginx/0.7.65
36
+ - nginx/0.8.53
36
37
  content-length:
37
38
  - "186"
38
39
  set-cookie:
39
- - _recurly_session=d79682bb116d060d035606c7d8538e1f; domain=.recurly.com; path=/; secure; HttpOnly
40
+ - _recurly_session=83935f90e5d9717a7857062791b0a7ef; domain=.recurly.com; path=/; secure; HttpOnly
40
41
  cache-control:
41
42
  - no-cache
42
43
  body: |
@@ -7,6 +7,7 @@
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
9
  <account-code>account-exists</account-code>
10
+ <accept-language type="yaml" nil="true"></accept-language>
10
11
  </account>
11
12
 
12
13
  headers:
@@ -30,17 +31,17 @@
30
31
  content-type:
31
32
  - application/xml; charset=utf-8
32
33
  x-runtime:
33
- - "273"
34
+ - "422"
34
35
  date:
35
- - Tue, 16 Nov 2010 07:03:10 GMT
36
+ - Sat, 08 Jan 2011 08:03:25 GMT
36
37
  server:
37
- - nginx/0.7.65
38
+ - nginx/0.8.53
38
39
  content-length:
39
40
  - "520"
40
41
  set-cookie:
41
- - account_credentials=6eab2c038e57f1681a1458f6b1a448b703ee53882aa85afbdefee0a1c6e39133398a9971a981d572694d3d10ffe6c362df1c7cd65cc8c5c3378c3aa8a5219490%3A%3A; domain=.recurly.com; path=/
42
+ - account_credentials=20b2064648d897ee1e609d4f57cc96904d5a8d4b8adff3d19bc4080f9232c5f355f1ce8d3383f94d8ad3c7b40cc32f592fd97149245be93253ae01dc89478647%3A%3A; domain=.recurly.com; path=/
42
43
  - ""
43
- - _recurly_session=b3dd36b589e02a07f3fd9c2c6c3fba1a; domain=.recurly.com; path=/; secure; HttpOnly
44
+ - _recurly_session=7a5e714ee160474edd6d33d53623f6c8; domain=.recurly.com; path=/; secure; HttpOnly
44
45
  cache-control:
45
46
  - no-cache
46
47
  body: |
@@ -55,8 +56,8 @@
55
56
  <company_name></company_name>
56
57
  <balance_in_cents type="integer">0</balance_in_cents>
57
58
  <closed type="boolean">false</closed>
58
- <hosted_login_token>99abacd14b5a47cd97243541374995bc</hosted_login_token>
59
- <created_at type="datetime">2010-11-16T07:03:10Z</created_at>
59
+ <hosted_login_token>aaef6e2a471b46208b1d061fc691015f</hosted_login_token>
60
+ <created_at type="datetime">2011-01-08T08:03:25Z</created_at>
60
61
  <state>active</state>
61
62
  </account>
62
63
 
@@ -69,6 +70,7 @@
69
70
  <?xml version="1.0" encoding="UTF-8"?>
70
71
  <account>
71
72
  <account-code>account-exists</account-code>
73
+ <accept-language type="yaml" nil="true"></accept-language>
72
74
  </account>
73
75
 
74
76
  headers:
@@ -90,15 +92,15 @@
90
92
  content-type:
91
93
  - application/xml; charset=utf-8
92
94
  x-runtime:
93
- - "18"
95
+ - "19"
94
96
  date:
95
- - Tue, 16 Nov 2010 07:03:08 GMT
97
+ - Sat, 08 Jan 2011 08:03:26 GMT
96
98
  server:
97
- - nginx/0.7.65
99
+ - nginx/0.8.53
98
100
  content-length:
99
101
  - "132"
100
102
  set-cookie:
101
- - _recurly_session=6d894f684265133ad00a291bed93067b; domain=.recurly.com; path=/; secure; HttpOnly
103
+ - _recurly_session=d44b2ca9d73ab2bdbd31ed9f98639712; domain=.recurly.com; path=/; secure; HttpOnly
102
104
  cache-control:
103
105
  - no-cache
104
106
  body: |
@@ -6,7 +6,8 @@
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
- <account-code>d00d-1288381765</account-code>
9
+ <account-code>d00d-1294473761</account-code>
10
+ <accept-language type="yaml" nil="true"></accept-language>
10
11
  </account>
11
12
 
12
13
  headers:
@@ -24,30 +25,30 @@
24
25
  message: Created
25
26
  headers:
26
27
  location:
27
- - https://recurlytest3-test.recurly.com/accounts/d00d-1288381765
28
+ - https://recurlytest3-test.recurly.com/accounts/d00d-1294473761
28
29
  connection:
29
30
  - close
30
31
  content-type:
31
32
  - application/xml; charset=utf-8
32
33
  x-runtime:
33
- - "273"
34
+ - "354"
34
35
  date:
35
- - Tue, 16 Nov 2010 07:02:46 GMT
36
+ - Sat, 08 Jan 2011 08:02:49 GMT
36
37
  server:
37
- - nginx/0.7.65
38
+ - nginx/0.8.53
38
39
  content-length:
39
40
  - "522"
40
41
  set-cookie:
41
- - account_credentials=01ae5f958fc9a6399a0f618a7cbc19e3852b432bee7e530c519ca14d56cc3b94042a2b54f33ca816456153844a95978c89a26575a93fd6557cddffb02538e6e1%3A%3A; domain=.recurly.com; path=/
42
+ - account_credentials=ef789125be12e017d91e4648d1afcb13ea0d6b00012deccedbb5af4771d4b954be5c5a2fec20fbd4c314be1c98355492a76a95c212a5bc990a71505b67eab55a%3A%3A; domain=.recurly.com; path=/
42
43
  - ""
43
- - _recurly_session=e11096f0e121c891dc92737ebb8fce33; domain=.recurly.com; path=/; secure; HttpOnly
44
+ - _recurly_session=d19aba13359d431507227187e3ea4678; domain=.recurly.com; path=/; secure; HttpOnly
44
45
  cache-control:
45
46
  - no-cache
46
47
  body: |
47
48
  <?xml version="1.0" encoding="UTF-8"?>
48
49
  <account>
49
- <id>d00d-1288381765</id>
50
- <account_code>d00d-1288381765</account_code>
50
+ <id>d00d-1294473761</id>
51
+ <account_code>d00d-1294473761</account_code>
51
52
  <username></username>
52
53
  <email></email>
53
54
  <first_name></first_name>
@@ -55,8 +56,8 @@
55
56
  <company_name></company_name>
56
57
  <balance_in_cents type="integer">0</balance_in_cents>
57
58
  <closed type="boolean">false</closed>
58
- <hosted_login_token>02e35a31a21249dc8aabfa902e8b5f8c</hosted_login_token>
59
- <created_at type="datetime">2010-11-16T07:02:46Z</created_at>
59
+ <hosted_login_token>6ffab820d54b4153ba13c01069d32943</hosted_login_token>
60
+ <created_at type="datetime">2011-01-08T08:02:49Z</created_at>
60
61
  <state>active</state>
61
62
  </account>
62
63
 
@@ -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-create-1288381765</account-code>
10
+ <account-code>account-create-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-create-1288381765
32
+ - https://recurlytest3-test.recurly.com/accounts/account-create-1294473761
32
33
  connection:
33
34
  - close
34
35
  content-type:
35
36
  - application/xml; charset=utf-8
36
37
  x-runtime:
37
- - "282"
38
+ - "454"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:02:47 GMT
40
+ - Sat, 08 Jan 2011 08:02:46 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=cf55428e732070b5390120c8dbc3c5c326589f1087a10fcdf040b44d3ca421ef9c4b57f6ecb2792f5ae7d4c98397d853ee34113b5e67463513d191bfa12f03dc%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=0f99d095c38feb22ea3b31df000529183641583f23287c77695380802c63383bd98f300223bf78762d854a3da980f1256ca3ecfe1cc37663aaded29cd8e6ee39%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=c2222192349b1a965b548f0043e0f02f; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=4dc878db023909291b705bf15c9c7aad; 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-create-1288381765</id>
54
- <account_code>account-create-1288381765</account_code>
54
+ <id>account-create-1294473761</id>
55
+ <account_code>account-create-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>e93e9a73105e43d1ab9ef2bc8a5cca1c</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:02:47Z</created_at>
63
+ <hosted_login_token>89b8c00b370b46e880b69dc6d5d60493</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:02:46Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -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-get-1288381765</account-code>
10
+ <account-code>account-get-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-get-1288381765
32
+ - https://recurlytest3-test.recurly.com/accounts/account-get-1294473761
32
33
  content-type:
33
34
  - application/xml; charset=utf-8
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:02:49 GMT
40
+ - Sat, 08 Jan 2011 08:02:50 GMT
40
41
  x-runtime:
41
- - "273"
42
+ - "349"
42
43
  content-length:
43
44
  - "577"
44
45
  set-cookie:
45
- - account_credentials=08a34f4ca6c40799121036ddf01248712e62460b93ae2c9c4acb091111f0a2abc981c5ae3e80a7784cc892b44eeb36ddabd972deb0af57ea1f3a062a813737ce%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=0eaa961126a432078ede73ff4ac656aa78a4e915e339552724c545aa261e4516162cb5424cb81aa1b678701797a8c53d0626fac083cbffcf867253912fa90980%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=362713b1479ab59e31df19ba1ae7de88; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=4ec5249453780a18c532bf124ce9a12e; 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-get-1288381765</id>
54
- <account_code>account-get-1288381765</account_code>
54
+ <id>account-get-1294473761</id>
55
+ <account_code>account-get-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>947ed5ad43f34fa08b92039f5cc579b4</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:02:49Z</created_at>
63
+ <hosted_login_token>fe8210afec3a463d93c13c377b256cb8</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:02:50Z</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-get-1288381765.xml
72
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-get-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
- - "\"705b0cb47ce42b163e44a2ed2eab7227\""
89
+ - "\"c4a43c689c3fcab3f8c0c1ec65fcd2c8\""
89
90
  content-type:
90
91
  - application/xml; charset=utf-8
91
92
  connection:
92
93
  - close
93
94
  server:
94
- - nginx/0.7.65
95
+ - nginx/0.8.53
95
96
  date:
96
- - Tue, 16 Nov 2010 07:02:48 GMT
97
+ - Sat, 08 Jan 2011 08:02:51 GMT
97
98
  x-runtime:
98
- - "30"
99
+ - "31"
99
100
  content-length:
100
101
  - "577"
101
102
  set-cookie:
102
- - _recurly_session=67f02ad8d3b5f3da94c35003f649c20e; domain=.recurly.com; path=/; secure; HttpOnly
103
+ - _recurly_session=0e8871c32884f6a65c609194343b2aa0; 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-get-1288381765</id>
109
- <account_code>account-get-1288381765</account_code>
109
+ <id>account-get-1294473761</id>
110
+ <account_code>account-get-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>947ed5ad43f34fa08b92039f5cc579b4</hosted_login_token>
118
- <created_at type="datetime">2010-11-16T07:02:49Z</created_at>
118
+ <hosted_login_token>fe8210afec3a463d93c13c377b256cb8</hosted_login_token>
119
+ <created_at type="datetime">2011-01-08T08:02:50Z</created_at>
119
120
  <state>active</state>
120
121
  </account>
121
122
 
@@ -142,13 +143,13 @@
142
143
  content-type:
143
144
  - application/xml; charset=utf-8
144
145
  date:
145
- - Tue, 16 Nov 2010 07:02:51 GMT
146
+ - Sat, 08 Jan 2011 08:02:52 GMT
146
147
  server:
147
- - nginx/0.7.65
148
+ - nginx/0.8.53
148
149
  content-length:
149
150
  - "93"
150
151
  set-cookie:
151
- - _recurly_session=4238759f4587b25cc83edf0463994ec9; domain=.recurly.com; path=/; secure; HttpOnly
152
+ - _recurly_session=6f7441435a273c3d8b75004865b9ae47; domain=.recurly.com; path=/; secure; HttpOnly
152
153
  cache-control:
153
154
  - no-cache
154
155
  body: |