recurly 0.4.11 → 0.4.13

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 (70) hide show
  1. data/README.md +4 -8
  2. data/lib/recurly.rb +10 -19
  3. data/lib/recurly/config_parser.rb +5 -2
  4. data/lib/recurly/plan.rb +0 -1
  5. data/lib/recurly/rails3/recurly.rake +10 -26
  6. data/lib/recurly/transparent.rb +2 -0
  7. data/lib/recurly/verification.rb +14 -8
  8. data/lib/recurly/version.rb +1 -1
  9. data/spec/config/recurly.yml +3 -3
  10. data/spec/config/test1.yml +1 -3
  11. data/spec/config/test2.yml +2 -6
  12. data/spec/unit/config_spec.rb +9 -16
  13. data/spec/unit/transparent_spec.rb +0 -20
  14. data/spec/unit/verification_spec.rb +15 -9
  15. data/spec/vcr/account/accept-language-account/1313708721.yml +52 -31
  16. data/spec/vcr/account/close/1313708721.yml +107 -79
  17. data/spec/vcr/account/create-blank/1313708721.yml +37 -26
  18. data/spec/vcr/account/create-duplicate/1313708721.yml +83 -54
  19. data/spec/vcr/account/create-min/1313708721.yml +48 -30
  20. data/spec/vcr/account/create/1313708721.yml +52 -31
  21. data/spec/vcr/account/find/1313708721.yml +111 -81
  22. data/spec/vcr/account/list/1313708721.yml +1148 -719
  23. data/spec/vcr/account/update/1313708721.yml +182 -124
  24. data/spec/vcr/billing/create/1313708721.yml +156 -93
  25. data/spec/vcr/billing/destroy/1313708721.yml +198 -135
  26. data/spec/vcr/billing/errors/1313708721.yml +91 -56
  27. data/spec/vcr/billing/find/1313708721.yml +200 -122
  28. data/spec/vcr/billing/update/1313708721.yml +218 -126
  29. data/spec/vcr/charge/create/1313708721.yml +189 -120
  30. data/spec/vcr/charge/delete-uninvoiced/1313708721.yml +195 -154
  31. data/spec/vcr/charge/list-all/1313708721.yml +235 -157
  32. data/spec/vcr/charge/list-invoiced/1313708721.yml +351 -234
  33. data/spec/vcr/charge/list-pending/1313708721.yml +235 -159
  34. data/spec/vcr/charge/lookup/1313708721.yml +127 -87
  35. data/spec/vcr/coupon/create/1296774903.yml +83 -95
  36. data/spec/vcr/coupon/destroy/1296774903.yml +81 -115
  37. data/spec/vcr/credit/create/1313708090.yml +127 -87
  38. data/spec/vcr/credit/delete/1313708090.yml +169 -129
  39. data/spec/vcr/credit/list/1313708090.yml +235 -157
  40. data/spec/vcr/credit/lookup/1313708090.yml +127 -87
  41. data/spec/vcr/invoice/create-no-charges/1296674173.yml +140 -89
  42. data/spec/vcr/invoice/create/1296674173.yml +259 -162
  43. data/spec/vcr/invoice/list/1296674173.yml +342 -227
  44. data/spec/vcr/invoice/lookup/1296674173.yml +260 -167
  45. data/spec/vcr/plan/all.yml +206 -198
  46. data/spec/vcr/plan/find.yml +109 -103
  47. data/spec/vcr/plan/update.yml +126 -93
  48. data/spec/vcr/subscription/addons/add/1296674173.yml +156 -261
  49. data/spec/vcr/subscription/addons/create/1296674173.yml +156 -164
  50. data/spec/vcr/subscription/addons/remove/1296674173.yml +156 -249
  51. data/spec/vcr/subscription/cancel-with-code/1296674173.yml +340 -243
  52. data/spec/vcr/subscription/cancel/1296674173.yml +297 -210
  53. data/spec/vcr/subscription/change1/1296674173.yml +303 -213
  54. data/spec/vcr/subscription/change2/1296674173.yml +303 -214
  55. data/spec/vcr/subscription/create/1296674173.yml +167 -111
  56. data/spec/vcr/subscription/find/1296674173.yml +210 -145
  57. data/spec/vcr/subscription/reactivate/1296674173.yml +318 -233
  58. data/spec/vcr/subscription/refund-full/1296674173.yml +277 -199
  59. data/spec/vcr/subscription/refund-none/1296674173.yml +277 -199
  60. data/spec/vcr/subscription/refund-partial/1296674173.yml +277 -199
  61. data/spec/vcr/transaction/all/1311126815.yml +388 -206
  62. data/spec/vcr/transaction/create-no-account/1311126815.yml +74 -43
  63. data/spec/vcr/transaction/create-with-account/1311126815.yml +172 -101
  64. data/spec/vcr/transaction/list-filled/1311126815.yml +486 -291
  65. data/spec/vcr/transaction/list-initial/1311126815.yml +159 -98
  66. data/spec/vcr/transaction/lookup/1311126815.yml +420 -268
  67. data/spec/vcr/transaction/void/1311126815.yml +280 -174
  68. metadata +109 -77
  69. data/spec/vcr/transaction/refund/1311126815.yml +0 -163
  70. data/spec/vcr/transparent/post-url/1311239470.yml +0 -76
@@ -1,38 +1,56 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
6
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>d00d-1313708721</account-code>\n
7
- \ <billing-info>\n <credit-card>\n </credit-card>\n </billing-info>\n
8
- \ <accept-language nil=\"true\"></accept-language>\n</account>\n"
9
- headers:
10
- user-agent:
11
- - Recurly Ruby Client v0.4.10
12
- content-type:
5
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
6
+ body: |
7
+ <?xml version="1.0" encoding="UTF-8"?>
8
+ <account>
9
+ <account-code>d00d-1313708721</account-code>
10
+ <billing-info>
11
+ <credit-card>
12
+ </credit-card>
13
+ </billing-info>
14
+ <accept-language nil="true"></accept-language>
15
+ </account>
16
+
17
+ headers:
18
+ user-agent:
19
+ - Recurly Ruby Client v0.4.13
20
+ content-type:
13
21
  - application/xml
14
- response: !ruby/struct:VCR::Response
15
- status: !ruby/struct:VCR::ResponseStatus
22
+ response: !ruby/struct:VCR::Response
23
+ status: !ruby/struct:VCR::ResponseStatus
16
24
  code: 201
17
25
  message: Created
18
- headers:
19
- location:
20
- - http://app.lvh.me:3000/accounts/d00d-1313708721
21
- content-type:
26
+ headers:
27
+ location:
28
+ - http://api.lvh.me:3000/accounts/d00d-1313708721
29
+ content-type:
22
30
  - application/xml; charset=utf-8
23
- cache-control:
31
+ cache-control:
24
32
  - no-cache
25
- x-ua-compatible:
33
+ x-ua-compatible:
26
34
  - IE=Edge
27
- set-cookie:
28
- - _recurly_session=8353d2a8b0f3906c7091fb70efcd4d61; domain=.lvh.me; path=/;
29
- HttpOnly
30
- server:
35
+ set-cookie:
36
+ - _recurly_session=3fbc7cd03238c551d3728137f7c7ea80; domain=.lvh.me; path=/; HttpOnly
37
+ server:
31
38
  - thin 1.2.11 codename Bat-Shit Crazy
32
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>d00d-1313708721</id>\n
33
- \ <account_code>d00d-1313708721</account_code>\n <username></username>\n <email></email>\n
34
- \ <first_name></first_name>\n <last_name></last_name>\n <company_name></company_name>\n
35
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n <closed type=\"boolean\">false</closed>\n
36
- \ <hosted_login_token>19455e06a9ed4126b60e45f5f2b9d036</hosted_login_token>\n
37
- \ <created_at type=\"datetime\">2011-08-19T20:00:32Z</created_at>\n <state>active</state>\n</account>\n"
38
- http_version: '1.1'
39
+ body: |
40
+ <?xml version="1.0" encoding="UTF-8"?>
41
+ <account>
42
+ <id>d00d-1313708721</id>
43
+ <account_code>d00d-1313708721</account_code>
44
+ <username></username>
45
+ <email></email>
46
+ <first_name></first_name>
47
+ <last_name></last_name>
48
+ <company_name></company_name>
49
+ <balance_in_cents type="integer">0</balance_in_cents>
50
+ <closed type="boolean">false</closed>
51
+ <hosted_login_token>c4aba8dc864d490b8e1a704fb9903646</hosted_login_token>
52
+ <created_at type="datetime">2011-09-22T22:01:29Z</created_at>
53
+ <state>active</state>
54
+ </account>
55
+
56
+ http_version: "1.1"
@@ -1,39 +1,60 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
6
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-create-1313708721</account-code>\n
7
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
8
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
9
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
10
- headers:
11
- user-agent:
12
- - Recurly Ruby Client v0.4.10
13
- content-type:
5
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
6
+ body: |
7
+ <?xml version="1.0" encoding="UTF-8"?>
8
+ <account>
9
+ <account-code>account-create-1313708721</account-code>
10
+ <first-name>Verena</first-name>
11
+ <last-name>Test</last-name>
12
+ <email>verena@test.com</email>
13
+ <company-name>Recurly Ruby Gem</company-name>
14
+ <billing-info>
15
+ <credit-card>
16
+ </credit-card>
17
+ </billing-info>
18
+ <accept-language nil="true"></accept-language>
19
+ </account>
20
+
21
+ headers:
22
+ user-agent:
23
+ - Recurly Ruby Client v0.4.13
24
+ content-type:
14
25
  - application/xml
15
- response: !ruby/struct:VCR::Response
16
- status: !ruby/struct:VCR::ResponseStatus
26
+ response: !ruby/struct:VCR::Response
27
+ status: !ruby/struct:VCR::ResponseStatus
17
28
  code: 201
18
29
  message: Created
19
- headers:
20
- location:
21
- - http://app.lvh.me:3000/accounts/account-create-1313708721
22
- content-type:
30
+ headers:
31
+ location:
32
+ - http://api.lvh.me:3000/accounts/account-create-1313708721
33
+ content-type:
23
34
  - application/xml; charset=utf-8
24
- cache-control:
35
+ cache-control:
25
36
  - no-cache
26
- x-ua-compatible:
37
+ x-ua-compatible:
27
38
  - IE=Edge
28
- set-cookie:
29
- - _recurly_session=50a5183d68b8a0acb8acb25dc46786ea; domain=.lvh.me; path=/;
30
- HttpOnly
31
- server:
39
+ set-cookie:
40
+ - _recurly_session=67995abdf7eccd756ac771c92c93ad16; domain=.lvh.me; path=/; HttpOnly
41
+ server:
32
42
  - thin 1.2.11 codename Bat-Shit Crazy
33
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-create-1313708721</id>\n
34
- \ <account_code>account-create-1313708721</account_code>\n <username></username>\n
35
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
36
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
37
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>511f924f8b114781b8ab61a3b8fdb8f2</hosted_login_token>\n
38
- \ <created_at type=\"datetime\">2011-08-19T20:00:32Z</created_at>\n <state>active</state>\n</account>\n"
39
- http_version: '1.1'
43
+ body: |
44
+ <?xml version="1.0" encoding="UTF-8"?>
45
+ <account>
46
+ <id>account-create-1313708721</id>
47
+ <account_code>account-create-1313708721</account_code>
48
+ <username></username>
49
+ <email>verena@test.com</email>
50
+ <first_name>Verena</first_name>
51
+ <last_name>Test</last_name>
52
+ <company_name>Recurly Ruby Gem</company_name>
53
+ <balance_in_cents type="integer">0</balance_in_cents>
54
+ <closed type="boolean">false</closed>
55
+ <hosted_login_token>056da8b68c7247449414f1b2bc634168</hosted_login_token>
56
+ <created_at type="datetime">2011-09-22T22:01:29Z</created_at>
57
+ <state>active</state>
58
+ </account>
59
+
60
+ http_version: "1.1"
@@ -1,107 +1,137 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
6
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-get-1313708721</account-code>\n
7
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
8
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
9
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
10
- headers:
11
- user-agent:
12
- - Recurly Ruby Client v0.4.10
13
- content-type:
5
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
6
+ body: |
7
+ <?xml version="1.0" encoding="UTF-8"?>
8
+ <account>
9
+ <account-code>account-get-1313708721</account-code>
10
+ <first-name>Verena</first-name>
11
+ <last-name>Test</last-name>
12
+ <email>verena@test.com</email>
13
+ <company-name>Recurly Ruby Gem</company-name>
14
+ <billing-info>
15
+ <credit-card>
16
+ </credit-card>
17
+ </billing-info>
18
+ <accept-language nil="true"></accept-language>
19
+ </account>
20
+
21
+ headers:
22
+ user-agent:
23
+ - Recurly Ruby Client v0.4.13
24
+ content-type:
14
25
  - application/xml
15
- response: !ruby/struct:VCR::Response
16
- status: !ruby/struct:VCR::ResponseStatus
26
+ response: !ruby/struct:VCR::Response
27
+ status: !ruby/struct:VCR::ResponseStatus
17
28
  code: 201
18
29
  message: Created
19
- headers:
20
- location:
21
- - http://app.lvh.me:3000/accounts/account-get-1313708721
22
- content-type:
30
+ headers:
31
+ location:
32
+ - http://api.lvh.me:3000/accounts/account-get-1313708721
33
+ content-type:
23
34
  - application/xml; charset=utf-8
24
- cache-control:
35
+ cache-control:
25
36
  - no-cache
26
- x-ua-compatible:
37
+ x-ua-compatible:
27
38
  - IE=Edge
28
- set-cookie:
29
- - _recurly_session=59dc5493eee8a8e0b368cdfbaa9b622a; domain=.lvh.me; path=/;
30
- HttpOnly
31
- server:
39
+ set-cookie:
40
+ - _recurly_session=db545fe55c56b120ab7d5c976ef1135f; domain=.lvh.me; path=/; HttpOnly
41
+ server:
32
42
  - thin 1.2.11 codename Bat-Shit Crazy
33
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-get-1313708721</id>\n
34
- \ <account_code>account-get-1313708721</account_code>\n <username></username>\n
35
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
36
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
37
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>a0ba2bb34205484281c24bc7d24988d0</hosted_login_token>\n
38
- \ <created_at type=\"datetime\">2011-08-19T20:00:32Z</created_at>\n <state>active</state>\n</account>\n"
39
- http_version: '1.1'
40
- - !ruby/struct:VCR::HTTPInteraction
41
- request: !ruby/struct:VCR::Request
43
+ body: |
44
+ <?xml version="1.0" encoding="UTF-8"?>
45
+ <account>
46
+ <id>account-get-1313708721</id>
47
+ <account_code>account-get-1313708721</account_code>
48
+ <username></username>
49
+ <email>verena@test.com</email>
50
+ <first_name>Verena</first_name>
51
+ <last_name>Test</last_name>
52
+ <company_name>Recurly Ruby Gem</company_name>
53
+ <balance_in_cents type="integer">0</balance_in_cents>
54
+ <closed type="boolean">false</closed>
55
+ <hosted_login_token>572e1b9670a9498a83e7f1447a9f187e</hosted_login_token>
56
+ <created_at type="datetime">2011-09-22T22:01:29Z</created_at>
57
+ <state>active</state>
58
+ </account>
59
+
60
+ http_version: "1.1"
61
+ - !ruby/struct:VCR::HTTPInteraction
62
+ request: !ruby/struct:VCR::Request
42
63
  method: :get
43
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-get-1313708721.xml
44
- body: !!null
45
- headers:
46
- user-agent:
47
- - Recurly Ruby Client v0.4.10
48
- accept:
64
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-get-1313708721.xml
65
+ body:
66
+ headers:
67
+ user-agent:
68
+ - Recurly Ruby Client v0.4.13
69
+ accept:
49
70
  - application/xml
50
- accept-encoding:
71
+ accept-encoding:
51
72
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
52
- response: !ruby/struct:VCR::Response
53
- status: !ruby/struct:VCR::ResponseStatus
73
+ response: !ruby/struct:VCR::Response
74
+ status: !ruby/struct:VCR::ResponseStatus
54
75
  code: 200
55
76
  message: OK
56
- headers:
57
- content-type:
77
+ headers:
78
+ content-type:
58
79
  - application/xml; charset=utf-8
59
- etag:
60
- - ! '"457dbf17cdeb876cceb2c0da4e96cae4"'
61
- cache-control:
80
+ etag:
81
+ - "\"b891fe3135ba5d95bfd26fe446e306fb\""
82
+ cache-control:
62
83
  - max-age=0, private, must-revalidate
63
- x-ua-compatible:
84
+ x-ua-compatible:
64
85
  - IE=Edge
65
- set-cookie:
66
- - _recurly_session=41325195fb2b11f70e856e595fd85490; domain=.lvh.me; path=/;
67
- HttpOnly
68
- server:
86
+ server:
69
87
  - thin 1.2.11 codename Bat-Shit Crazy
70
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-get-1313708721</id>\n
71
- \ <account_code>account-get-1313708721</account_code>\n <username></username>\n
72
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
73
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
74
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>a0ba2bb34205484281c24bc7d24988d0</hosted_login_token>\n
75
- \ <created_at type=\"datetime\">2011-08-19T20:00:32Z</created_at>\n <state>active</state>\n</account>\n"
76
- http_version: '1.1'
77
- - !ruby/struct:VCR::HTTPInteraction
78
- request: !ruby/struct:VCR::Request
88
+ body: |
89
+ <?xml version="1.0" encoding="UTF-8"?>
90
+ <account>
91
+ <id>account-get-1313708721</id>
92
+ <account_code>account-get-1313708721</account_code>
93
+ <username></username>
94
+ <email>verena@test.com</email>
95
+ <first_name>Verena</first_name>
96
+ <last_name>Test</last_name>
97
+ <company_name>Recurly Ruby Gem</company_name>
98
+ <balance_in_cents type="integer">0</balance_in_cents>
99
+ <closed type="boolean">false</closed>
100
+ <hosted_login_token>572e1b9670a9498a83e7f1447a9f187e</hosted_login_token>
101
+ <created_at type="datetime">2011-09-22T22:01:29Z</created_at>
102
+ <state>active</state>
103
+ </account>
104
+
105
+ http_version: "1.1"
106
+ - !ruby/struct:VCR::HTTPInteraction
107
+ request: !ruby/struct:VCR::Request
79
108
  method: :get
80
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-that-doesnt-exist.xml
81
- body: !!null
82
- headers:
83
- user-agent:
84
- - Recurly Ruby Client v0.4.10
85
- accept:
109
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-that-doesnt-exist.xml
110
+ body:
111
+ headers:
112
+ user-agent:
113
+ - Recurly Ruby Client v0.4.13
114
+ accept:
86
115
  - application/xml
87
- accept-encoding:
116
+ accept-encoding:
88
117
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
89
- response: !ruby/struct:VCR::Response
90
- status: !ruby/struct:VCR::ResponseStatus
118
+ response: !ruby/struct:VCR::Response
119
+ status: !ruby/struct:VCR::ResponseStatus
91
120
  code: 404
92
121
  message: Not Found
93
- headers:
94
- content-type:
122
+ headers:
123
+ content-type:
95
124
  - application/xml; charset=utf-8
96
- cache-control:
125
+ cache-control:
97
126
  - no-cache
98
- x-ua-compatible:
127
+ x-ua-compatible:
99
128
  - IE=Edge
100
- set-cookie:
101
- - _recurly_session=61f77585c7af4881109a8a369f2eb2ee; domain=.lvh.me; path=/;
102
- HttpOnly
103
- server:
129
+ server:
104
130
  - thin 1.2.11 codename Bat-Shit Crazy
105
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<errors>\n <error>Account
106
- not found</error>\n</errors>\n"
107
- http_version: '1.1'
131
+ body: |
132
+ <?xml version="1.0" encoding="UTF-8"?>
133
+ <errors>
134
+ <error>Account not found</error>
135
+ </errors>
136
+
137
+ http_version: "1.1"
@@ -1,878 +1,1307 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
6
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-0-1313708721</account-code>\n
7
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
8
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
9
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
10
- headers:
11
- user-agent:
12
- - Recurly Ruby Client v0.4.10
13
- content-type:
5
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
6
+ body: |
7
+ <?xml version="1.0" encoding="UTF-8"?>
8
+ <account>
9
+ <account-code>account-list-num-0-1313708721</account-code>
10
+ <first-name>Verena</first-name>
11
+ <last-name>Test</last-name>
12
+ <email>verena@test.com</email>
13
+ <company-name>Recurly Ruby Gem</company-name>
14
+ <billing-info>
15
+ <credit-card>
16
+ </credit-card>
17
+ </billing-info>
18
+ <accept-language nil="true"></accept-language>
19
+ </account>
20
+
21
+ headers:
22
+ user-agent:
23
+ - Recurly Ruby Client v0.4.13
24
+ content-type:
14
25
  - application/xml
15
- response: !ruby/struct:VCR::Response
16
- status: !ruby/struct:VCR::ResponseStatus
26
+ response: !ruby/struct:VCR::Response
27
+ status: !ruby/struct:VCR::ResponseStatus
17
28
  code: 201
18
29
  message: Created
19
- headers:
20
- location:
21
- - http://app.lvh.me:3000/accounts/account-list-num-0-1313708721
22
- content-type:
30
+ headers:
31
+ location:
32
+ - http://api.lvh.me:3000/accounts/account-list-num-0-1313708721
33
+ content-type:
23
34
  - application/xml; charset=utf-8
24
- cache-control:
35
+ cache-control:
25
36
  - no-cache
26
- x-ua-compatible:
37
+ x-ua-compatible:
27
38
  - IE=Edge
28
- set-cookie:
29
- - _recurly_session=f17c06067963dab2ba7192fd85ec4f85; domain=.lvh.me; path=/;
30
- HttpOnly
31
- server:
39
+ set-cookie:
40
+ - _recurly_session=902225e219f1b2ab572b4eddc046a953; domain=.lvh.me; path=/; HttpOnly
41
+ server:
32
42
  - thin 1.2.11 codename Bat-Shit Crazy
33
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-0-1313708721</id>\n
34
- \ <account_code>account-list-num-0-1313708721</account_code>\n <username></username>\n
35
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
36
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
37
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>d4200f68901940c4953587addcac775c</hosted_login_token>\n
38
- \ <created_at type=\"datetime\">2011-08-19T20:00:33Z</created_at>\n <state>active</state>\n</account>\n"
39
- http_version: '1.1'
40
- - !ruby/struct:VCR::HTTPInteraction
41
- request: !ruby/struct:VCR::Request
43
+ body: |
44
+ <?xml version="1.0" encoding="UTF-8"?>
45
+ <account>
46
+ <id>account-list-num-0-1313708721</id>
47
+ <account_code>account-list-num-0-1313708721</account_code>
48
+ <username></username>
49
+ <email>verena@test.com</email>
50
+ <first_name>Verena</first_name>
51
+ <last_name>Test</last_name>
52
+ <company_name>Recurly Ruby Gem</company_name>
53
+ <balance_in_cents type="integer">0</balance_in_cents>
54
+ <closed type="boolean">false</closed>
55
+ <hosted_login_token>2a302fcfe682451381919f3797df211f</hosted_login_token>
56
+ <created_at type="datetime">2011-09-22T22:01:29Z</created_at>
57
+ <state>active</state>
58
+ </account>
59
+
60
+ http_version: "1.1"
61
+ - !ruby/struct:VCR::HTTPInteraction
62
+ request: !ruby/struct:VCR::Request
42
63
  method: :post
43
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
44
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-1-1313708721</account-code>\n
45
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
46
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
47
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
48
- headers:
49
- user-agent:
50
- - Recurly Ruby Client v0.4.10
51
- content-type:
64
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
65
+ body: |
66
+ <?xml version="1.0" encoding="UTF-8"?>
67
+ <account>
68
+ <account-code>account-list-num-1-1313708721</account-code>
69
+ <first-name>Verena</first-name>
70
+ <last-name>Test</last-name>
71
+ <email>verena@test.com</email>
72
+ <company-name>Recurly Ruby Gem</company-name>
73
+ <billing-info>
74
+ <credit-card>
75
+ </credit-card>
76
+ </billing-info>
77
+ <accept-language nil="true"></accept-language>
78
+ </account>
79
+
80
+ headers:
81
+ user-agent:
82
+ - Recurly Ruby Client v0.4.13
83
+ content-type:
52
84
  - application/xml
53
- response: !ruby/struct:VCR::Response
54
- status: !ruby/struct:VCR::ResponseStatus
85
+ response: !ruby/struct:VCR::Response
86
+ status: !ruby/struct:VCR::ResponseStatus
55
87
  code: 201
56
88
  message: Created
57
- headers:
58
- location:
59
- - http://app.lvh.me:3000/accounts/account-list-num-1-1313708721
60
- content-type:
89
+ headers:
90
+ location:
91
+ - http://api.lvh.me:3000/accounts/account-list-num-1-1313708721
92
+ content-type:
61
93
  - application/xml; charset=utf-8
62
- cache-control:
94
+ cache-control:
63
95
  - no-cache
64
- x-ua-compatible:
96
+ x-ua-compatible:
65
97
  - IE=Edge
66
- set-cookie:
67
- - _recurly_session=4ddc12aa35e199672bea3e69ef16c003; domain=.lvh.me; path=/;
68
- HttpOnly
69
- server:
98
+ set-cookie:
99
+ - _recurly_session=ee0874d96af2d2e57dcbe1c25b291b53; domain=.lvh.me; path=/; HttpOnly
100
+ server:
70
101
  - thin 1.2.11 codename Bat-Shit Crazy
71
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-1-1313708721</id>\n
72
- \ <account_code>account-list-num-1-1313708721</account_code>\n <username></username>\n
73
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
74
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
75
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>43f4316a43a64ffe8586cf32248488f6</hosted_login_token>\n
76
- \ <created_at type=\"datetime\">2011-08-19T20:00:33Z</created_at>\n <state>active</state>\n</account>\n"
77
- http_version: '1.1'
78
- - !ruby/struct:VCR::HTTPInteraction
79
- request: !ruby/struct:VCR::Request
102
+ body: |
103
+ <?xml version="1.0" encoding="UTF-8"?>
104
+ <account>
105
+ <id>account-list-num-1-1313708721</id>
106
+ <account_code>account-list-num-1-1313708721</account_code>
107
+ <username></username>
108
+ <email>verena@test.com</email>
109
+ <first_name>Verena</first_name>
110
+ <last_name>Test</last_name>
111
+ <company_name>Recurly Ruby Gem</company_name>
112
+ <balance_in_cents type="integer">0</balance_in_cents>
113
+ <closed type="boolean">false</closed>
114
+ <hosted_login_token>d7c4f1f50bec43209243565f5a7f18e9</hosted_login_token>
115
+ <created_at type="datetime">2011-09-22T22:01:29Z</created_at>
116
+ <state>active</state>
117
+ </account>
118
+
119
+ http_version: "1.1"
120
+ - !ruby/struct:VCR::HTTPInteraction
121
+ request: !ruby/struct:VCR::Request
80
122
  method: :post
81
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
82
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-2-1313708721</account-code>\n
83
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
84
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
85
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
86
- headers:
87
- user-agent:
88
- - Recurly Ruby Client v0.4.10
89
- content-type:
123
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
124
+ body: |
125
+ <?xml version="1.0" encoding="UTF-8"?>
126
+ <account>
127
+ <account-code>account-list-num-2-1313708721</account-code>
128
+ <first-name>Verena</first-name>
129
+ <last-name>Test</last-name>
130
+ <email>verena@test.com</email>
131
+ <company-name>Recurly Ruby Gem</company-name>
132
+ <billing-info>
133
+ <credit-card>
134
+ </credit-card>
135
+ </billing-info>
136
+ <accept-language nil="true"></accept-language>
137
+ </account>
138
+
139
+ headers:
140
+ user-agent:
141
+ - Recurly Ruby Client v0.4.13
142
+ content-type:
90
143
  - application/xml
91
- response: !ruby/struct:VCR::Response
92
- status: !ruby/struct:VCR::ResponseStatus
144
+ response: !ruby/struct:VCR::Response
145
+ status: !ruby/struct:VCR::ResponseStatus
93
146
  code: 201
94
147
  message: Created
95
- headers:
96
- location:
97
- - http://app.lvh.me:3000/accounts/account-list-num-2-1313708721
98
- content-type:
148
+ headers:
149
+ location:
150
+ - http://api.lvh.me:3000/accounts/account-list-num-2-1313708721
151
+ content-type:
99
152
  - application/xml; charset=utf-8
100
- cache-control:
153
+ cache-control:
101
154
  - no-cache
102
- x-ua-compatible:
155
+ x-ua-compatible:
103
156
  - IE=Edge
104
- set-cookie:
105
- - _recurly_session=7ca0ec5f40bb2d3df008097f2b1054b9; domain=.lvh.me; path=/;
106
- HttpOnly
107
- server:
157
+ set-cookie:
158
+ - _recurly_session=39b0cb906d17946245f915ab2946ba6d; domain=.lvh.me; path=/; HttpOnly
159
+ server:
108
160
  - thin 1.2.11 codename Bat-Shit Crazy
109
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-2-1313708721</id>\n
110
- \ <account_code>account-list-num-2-1313708721</account_code>\n <username></username>\n
111
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
112
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
113
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>4be2f79bbb6c4c48b3c9e6013afb63f6</hosted_login_token>\n
114
- \ <created_at type=\"datetime\">2011-08-19T20:00:33Z</created_at>\n <state>active</state>\n</account>\n"
115
- http_version: '1.1'
116
- - !ruby/struct:VCR::HTTPInteraction
117
- request: !ruby/struct:VCR::Request
161
+ body: |
162
+ <?xml version="1.0" encoding="UTF-8"?>
163
+ <account>
164
+ <id>account-list-num-2-1313708721</id>
165
+ <account_code>account-list-num-2-1313708721</account_code>
166
+ <username></username>
167
+ <email>verena@test.com</email>
168
+ <first_name>Verena</first_name>
169
+ <last_name>Test</last_name>
170
+ <company_name>Recurly Ruby Gem</company_name>
171
+ <balance_in_cents type="integer">0</balance_in_cents>
172
+ <closed type="boolean">false</closed>
173
+ <hosted_login_token>4ec147f2ba6b4cffb98b8ace3573e081</hosted_login_token>
174
+ <created_at type="datetime">2011-09-22T22:01:29Z</created_at>
175
+ <state>active</state>
176
+ </account>
177
+
178
+ http_version: "1.1"
179
+ - !ruby/struct:VCR::HTTPInteraction
180
+ request: !ruby/struct:VCR::Request
118
181
  method: :post
119
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
120
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-3-1313708721</account-code>\n
121
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
122
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
123
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
124
- headers:
125
- user-agent:
126
- - Recurly Ruby Client v0.4.10
127
- content-type:
182
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
183
+ body: |
184
+ <?xml version="1.0" encoding="UTF-8"?>
185
+ <account>
186
+ <account-code>account-list-num-3-1313708721</account-code>
187
+ <first-name>Verena</first-name>
188
+ <last-name>Test</last-name>
189
+ <email>verena@test.com</email>
190
+ <company-name>Recurly Ruby Gem</company-name>
191
+ <billing-info>
192
+ <credit-card>
193
+ </credit-card>
194
+ </billing-info>
195
+ <accept-language nil="true"></accept-language>
196
+ </account>
197
+
198
+ headers:
199
+ user-agent:
200
+ - Recurly Ruby Client v0.4.13
201
+ content-type:
128
202
  - application/xml
129
- response: !ruby/struct:VCR::Response
130
- status: !ruby/struct:VCR::ResponseStatus
203
+ response: !ruby/struct:VCR::Response
204
+ status: !ruby/struct:VCR::ResponseStatus
131
205
  code: 201
132
206
  message: Created
133
- headers:
134
- location:
135
- - http://app.lvh.me:3000/accounts/account-list-num-3-1313708721
136
- content-type:
207
+ headers:
208
+ location:
209
+ - http://api.lvh.me:3000/accounts/account-list-num-3-1313708721
210
+ content-type:
137
211
  - application/xml; charset=utf-8
138
- cache-control:
212
+ cache-control:
139
213
  - no-cache
140
- x-ua-compatible:
214
+ x-ua-compatible:
141
215
  - IE=Edge
142
- set-cookie:
143
- - _recurly_session=609823fc94d30ff8ce3242ea14a49d7b; domain=.lvh.me; path=/;
144
- HttpOnly
145
- server:
216
+ set-cookie:
217
+ - _recurly_session=65be0bad6322b1696cd509a888609561; domain=.lvh.me; path=/; HttpOnly
218
+ server:
146
219
  - thin 1.2.11 codename Bat-Shit Crazy
147
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-3-1313708721</id>\n
148
- \ <account_code>account-list-num-3-1313708721</account_code>\n <username></username>\n
149
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
150
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
151
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>af0b66ea61f74ce387554058b832e348</hosted_login_token>\n
152
- \ <created_at type=\"datetime\">2011-08-19T20:00:33Z</created_at>\n <state>active</state>\n</account>\n"
153
- http_version: '1.1'
154
- - !ruby/struct:VCR::HTTPInteraction
155
- request: !ruby/struct:VCR::Request
220
+ body: |
221
+ <?xml version="1.0" encoding="UTF-8"?>
222
+ <account>
223
+ <id>account-list-num-3-1313708721</id>
224
+ <account_code>account-list-num-3-1313708721</account_code>
225
+ <username></username>
226
+ <email>verena@test.com</email>
227
+ <first_name>Verena</first_name>
228
+ <last_name>Test</last_name>
229
+ <company_name>Recurly Ruby Gem</company_name>
230
+ <balance_in_cents type="integer">0</balance_in_cents>
231
+ <closed type="boolean">false</closed>
232
+ <hosted_login_token>4ce63e6677c342ffa7ec6440d764c1f0</hosted_login_token>
233
+ <created_at type="datetime">2011-09-22T22:01:29Z</created_at>
234
+ <state>active</state>
235
+ </account>
236
+
237
+ http_version: "1.1"
238
+ - !ruby/struct:VCR::HTTPInteraction
239
+ request: !ruby/struct:VCR::Request
156
240
  method: :post
157
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
158
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-4-1313708721</account-code>\n
159
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
160
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
161
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
162
- headers:
163
- user-agent:
164
- - Recurly Ruby Client v0.4.10
165
- content-type:
241
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
242
+ body: |
243
+ <?xml version="1.0" encoding="UTF-8"?>
244
+ <account>
245
+ <account-code>account-list-num-4-1313708721</account-code>
246
+ <first-name>Verena</first-name>
247
+ <last-name>Test</last-name>
248
+ <email>verena@test.com</email>
249
+ <company-name>Recurly Ruby Gem</company-name>
250
+ <billing-info>
251
+ <credit-card>
252
+ </credit-card>
253
+ </billing-info>
254
+ <accept-language nil="true"></accept-language>
255
+ </account>
256
+
257
+ headers:
258
+ user-agent:
259
+ - Recurly Ruby Client v0.4.13
260
+ content-type:
166
261
  - application/xml
167
- response: !ruby/struct:VCR::Response
168
- status: !ruby/struct:VCR::ResponseStatus
262
+ response: !ruby/struct:VCR::Response
263
+ status: !ruby/struct:VCR::ResponseStatus
169
264
  code: 201
170
265
  message: Created
171
- headers:
172
- location:
173
- - http://app.lvh.me:3000/accounts/account-list-num-4-1313708721
174
- content-type:
266
+ headers:
267
+ location:
268
+ - http://api.lvh.me:3000/accounts/account-list-num-4-1313708721
269
+ content-type:
175
270
  - application/xml; charset=utf-8
176
- cache-control:
271
+ cache-control:
177
272
  - no-cache
178
- x-ua-compatible:
273
+ x-ua-compatible:
179
274
  - IE=Edge
180
- set-cookie:
181
- - _recurly_session=c3b13d0f7641d624d8a2433f948fae93; domain=.lvh.me; path=/;
182
- HttpOnly
183
- server:
275
+ set-cookie:
276
+ - _recurly_session=3aa6475f3a7796047581831578814ea4; domain=.lvh.me; path=/; HttpOnly
277
+ server:
184
278
  - thin 1.2.11 codename Bat-Shit Crazy
185
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-4-1313708721</id>\n
186
- \ <account_code>account-list-num-4-1313708721</account_code>\n <username></username>\n
187
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
188
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
189
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>734152a3e70347ccbb191831593d4b90</hosted_login_token>\n
190
- \ <created_at type=\"datetime\">2011-08-19T20:00:33Z</created_at>\n <state>active</state>\n</account>\n"
191
- http_version: '1.1'
192
- - !ruby/struct:VCR::HTTPInteraction
193
- request: !ruby/struct:VCR::Request
279
+ body: |
280
+ <?xml version="1.0" encoding="UTF-8"?>
281
+ <account>
282
+ <id>account-list-num-4-1313708721</id>
283
+ <account_code>account-list-num-4-1313708721</account_code>
284
+ <username></username>
285
+ <email>verena@test.com</email>
286
+ <first_name>Verena</first_name>
287
+ <last_name>Test</last_name>
288
+ <company_name>Recurly Ruby Gem</company_name>
289
+ <balance_in_cents type="integer">0</balance_in_cents>
290
+ <closed type="boolean">false</closed>
291
+ <hosted_login_token>63f070c035b44b45b9943da39931bcf0</hosted_login_token>
292
+ <created_at type="datetime">2011-09-22T22:01:30Z</created_at>
293
+ <state>active</state>
294
+ </account>
295
+
296
+ http_version: "1.1"
297
+ - !ruby/struct:VCR::HTTPInteraction
298
+ request: !ruby/struct:VCR::Request
194
299
  method: :post
195
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
196
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-5-1313708721</account-code>\n
197
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
198
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
199
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
200
- headers:
201
- user-agent:
202
- - Recurly Ruby Client v0.4.10
203
- content-type:
300
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
301
+ body: |
302
+ <?xml version="1.0" encoding="UTF-8"?>
303
+ <account>
304
+ <account-code>account-list-num-5-1313708721</account-code>
305
+ <first-name>Verena</first-name>
306
+ <last-name>Test</last-name>
307
+ <email>verena@test.com</email>
308
+ <company-name>Recurly Ruby Gem</company-name>
309
+ <billing-info>
310
+ <credit-card>
311
+ </credit-card>
312
+ </billing-info>
313
+ <accept-language nil="true"></accept-language>
314
+ </account>
315
+
316
+ headers:
317
+ user-agent:
318
+ - Recurly Ruby Client v0.4.13
319
+ content-type:
204
320
  - application/xml
205
- response: !ruby/struct:VCR::Response
206
- status: !ruby/struct:VCR::ResponseStatus
321
+ response: !ruby/struct:VCR::Response
322
+ status: !ruby/struct:VCR::ResponseStatus
207
323
  code: 201
208
324
  message: Created
209
- headers:
210
- location:
211
- - http://app.lvh.me:3000/accounts/account-list-num-5-1313708721
212
- content-type:
325
+ headers:
326
+ location:
327
+ - http://api.lvh.me:3000/accounts/account-list-num-5-1313708721
328
+ content-type:
213
329
  - application/xml; charset=utf-8
214
- cache-control:
330
+ cache-control:
215
331
  - no-cache
216
- x-ua-compatible:
332
+ x-ua-compatible:
217
333
  - IE=Edge
218
- set-cookie:
219
- - _recurly_session=612efa8592a9ed5b727c74b0dfc81b47; domain=.lvh.me; path=/;
220
- HttpOnly
221
- server:
334
+ set-cookie:
335
+ - _recurly_session=dde5995979e942c8577acbe79b481189; domain=.lvh.me; path=/; HttpOnly
336
+ server:
222
337
  - thin 1.2.11 codename Bat-Shit Crazy
223
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-5-1313708721</id>\n
224
- \ <account_code>account-list-num-5-1313708721</account_code>\n <username></username>\n
225
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
226
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
227
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>ee41abb9fbe74ba184160901ee3620df</hosted_login_token>\n
228
- \ <created_at type=\"datetime\">2011-08-19T20:00:34Z</created_at>\n <state>active</state>\n</account>\n"
229
- http_version: '1.1'
230
- - !ruby/struct:VCR::HTTPInteraction
231
- request: !ruby/struct:VCR::Request
338
+ body: |
339
+ <?xml version="1.0" encoding="UTF-8"?>
340
+ <account>
341
+ <id>account-list-num-5-1313708721</id>
342
+ <account_code>account-list-num-5-1313708721</account_code>
343
+ <username></username>
344
+ <email>verena@test.com</email>
345
+ <first_name>Verena</first_name>
346
+ <last_name>Test</last_name>
347
+ <company_name>Recurly Ruby Gem</company_name>
348
+ <balance_in_cents type="integer">0</balance_in_cents>
349
+ <closed type="boolean">false</closed>
350
+ <hosted_login_token>4b2ea07a6d614dfa8f36ef83f28e8872</hosted_login_token>
351
+ <created_at type="datetime">2011-09-22T22:01:30Z</created_at>
352
+ <state>active</state>
353
+ </account>
354
+
355
+ http_version: "1.1"
356
+ - !ruby/struct:VCR::HTTPInteraction
357
+ request: !ruby/struct:VCR::Request
232
358
  method: :post
233
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
234
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-6-1313708721</account-code>\n
235
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
236
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
237
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
238
- headers:
239
- user-agent:
240
- - Recurly Ruby Client v0.4.10
241
- content-type:
359
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
360
+ body: |
361
+ <?xml version="1.0" encoding="UTF-8"?>
362
+ <account>
363
+ <account-code>account-list-num-6-1313708721</account-code>
364
+ <first-name>Verena</first-name>
365
+ <last-name>Test</last-name>
366
+ <email>verena@test.com</email>
367
+ <company-name>Recurly Ruby Gem</company-name>
368
+ <billing-info>
369
+ <credit-card>
370
+ </credit-card>
371
+ </billing-info>
372
+ <accept-language nil="true"></accept-language>
373
+ </account>
374
+
375
+ headers:
376
+ user-agent:
377
+ - Recurly Ruby Client v0.4.13
378
+ content-type:
242
379
  - application/xml
243
- response: !ruby/struct:VCR::Response
244
- status: !ruby/struct:VCR::ResponseStatus
380
+ response: !ruby/struct:VCR::Response
381
+ status: !ruby/struct:VCR::ResponseStatus
245
382
  code: 201
246
383
  message: Created
247
- headers:
248
- location:
249
- - http://app.lvh.me:3000/accounts/account-list-num-6-1313708721
250
- content-type:
384
+ headers:
385
+ location:
386
+ - http://api.lvh.me:3000/accounts/account-list-num-6-1313708721
387
+ content-type:
251
388
  - application/xml; charset=utf-8
252
- cache-control:
389
+ cache-control:
253
390
  - no-cache
254
- x-ua-compatible:
391
+ x-ua-compatible:
255
392
  - IE=Edge
256
- set-cookie:
257
- - _recurly_session=f832070e6e65adb565a29162cc1440e7; domain=.lvh.me; path=/;
258
- HttpOnly
259
- server:
393
+ set-cookie:
394
+ - _recurly_session=f21e70cb25fb5d7668479956e650786f; domain=.lvh.me; path=/; HttpOnly
395
+ server:
260
396
  - thin 1.2.11 codename Bat-Shit Crazy
261
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-6-1313708721</id>\n
262
- \ <account_code>account-list-num-6-1313708721</account_code>\n <username></username>\n
263
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
264
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
265
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>b7a6328a871b49dbac975178a54859a5</hosted_login_token>\n
266
- \ <created_at type=\"datetime\">2011-08-19T20:00:34Z</created_at>\n <state>active</state>\n</account>\n"
267
- http_version: '1.1'
268
- - !ruby/struct:VCR::HTTPInteraction
269
- request: !ruby/struct:VCR::Request
397
+ body: |
398
+ <?xml version="1.0" encoding="UTF-8"?>
399
+ <account>
400
+ <id>account-list-num-6-1313708721</id>
401
+ <account_code>account-list-num-6-1313708721</account_code>
402
+ <username></username>
403
+ <email>verena@test.com</email>
404
+ <first_name>Verena</first_name>
405
+ <last_name>Test</last_name>
406
+ <company_name>Recurly Ruby Gem</company_name>
407
+ <balance_in_cents type="integer">0</balance_in_cents>
408
+ <closed type="boolean">false</closed>
409
+ <hosted_login_token>80d601f7f42744cf863832440355ed31</hosted_login_token>
410
+ <created_at type="datetime">2011-09-22T22:01:30Z</created_at>
411
+ <state>active</state>
412
+ </account>
413
+
414
+ http_version: "1.1"
415
+ - !ruby/struct:VCR::HTTPInteraction
416
+ request: !ruby/struct:VCR::Request
270
417
  method: :post
271
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
272
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-7-1313708721</account-code>\n
273
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
274
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
275
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
276
- headers:
277
- user-agent:
278
- - Recurly Ruby Client v0.4.10
279
- content-type:
418
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
419
+ body: |
420
+ <?xml version="1.0" encoding="UTF-8"?>
421
+ <account>
422
+ <account-code>account-list-num-7-1313708721</account-code>
423
+ <first-name>Verena</first-name>
424
+ <last-name>Test</last-name>
425
+ <email>verena@test.com</email>
426
+ <company-name>Recurly Ruby Gem</company-name>
427
+ <billing-info>
428
+ <credit-card>
429
+ </credit-card>
430
+ </billing-info>
431
+ <accept-language nil="true"></accept-language>
432
+ </account>
433
+
434
+ headers:
435
+ user-agent:
436
+ - Recurly Ruby Client v0.4.13
437
+ content-type:
280
438
  - application/xml
281
- response: !ruby/struct:VCR::Response
282
- status: !ruby/struct:VCR::ResponseStatus
439
+ response: !ruby/struct:VCR::Response
440
+ status: !ruby/struct:VCR::ResponseStatus
283
441
  code: 201
284
442
  message: Created
285
- headers:
286
- location:
287
- - http://app.lvh.me:3000/accounts/account-list-num-7-1313708721
288
- content-type:
443
+ headers:
444
+ location:
445
+ - http://api.lvh.me:3000/accounts/account-list-num-7-1313708721
446
+ content-type:
289
447
  - application/xml; charset=utf-8
290
- cache-control:
448
+ cache-control:
291
449
  - no-cache
292
- x-ua-compatible:
450
+ x-ua-compatible:
293
451
  - IE=Edge
294
- set-cookie:
295
- - _recurly_session=38964817445fb320eb04f368325f35e3; domain=.lvh.me; path=/;
296
- HttpOnly
297
- server:
452
+ set-cookie:
453
+ - _recurly_session=74dbf542460325375c737441e02bf4d9; domain=.lvh.me; path=/; HttpOnly
454
+ server:
298
455
  - thin 1.2.11 codename Bat-Shit Crazy
299
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-7-1313708721</id>\n
300
- \ <account_code>account-list-num-7-1313708721</account_code>\n <username></username>\n
301
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
302
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
303
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>6f047de9117449fdb5f727560ec10f49</hosted_login_token>\n
304
- \ <created_at type=\"datetime\">2011-08-19T20:00:34Z</created_at>\n <state>active</state>\n</account>\n"
305
- http_version: '1.1'
306
- - !ruby/struct:VCR::HTTPInteraction
307
- request: !ruby/struct:VCR::Request
456
+ body: |
457
+ <?xml version="1.0" encoding="UTF-8"?>
458
+ <account>
459
+ <id>account-list-num-7-1313708721</id>
460
+ <account_code>account-list-num-7-1313708721</account_code>
461
+ <username></username>
462
+ <email>verena@test.com</email>
463
+ <first_name>Verena</first_name>
464
+ <last_name>Test</last_name>
465
+ <company_name>Recurly Ruby Gem</company_name>
466
+ <balance_in_cents type="integer">0</balance_in_cents>
467
+ <closed type="boolean">false</closed>
468
+ <hosted_login_token>e0013127eb1d4472a3886920c1bf0e78</hosted_login_token>
469
+ <created_at type="datetime">2011-09-22T22:01:30Z</created_at>
470
+ <state>active</state>
471
+ </account>
472
+
473
+ http_version: "1.1"
474
+ - !ruby/struct:VCR::HTTPInteraction
475
+ request: !ruby/struct:VCR::Request
308
476
  method: :get
309
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans/paid.xml
310
- body: !!null
311
- headers:
312
- user-agent:
313
- - Recurly Ruby Client v0.4.10
314
- accept:
477
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/plans/paid.xml
478
+ body:
479
+ headers:
480
+ user-agent:
481
+ - Recurly Ruby Client v0.4.13
482
+ accept:
315
483
  - application/xml
316
- accept-encoding:
484
+ accept-encoding:
317
485
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
318
- response: !ruby/struct:VCR::Response
319
- status: !ruby/struct:VCR::ResponseStatus
486
+ response: !ruby/struct:VCR::Response
487
+ status: !ruby/struct:VCR::ResponseStatus
320
488
  code: 200
321
489
  message: OK
322
- headers:
323
- content-type:
490
+ headers:
491
+ content-type:
324
492
  - application/xml; charset=utf-8
325
- etag:
326
- - ! '"30df1bac5befaf2f9fc4564c2103a07b"'
327
- cache-control:
493
+ etag:
494
+ - "\"7487d065869e9c487e0a588e1edea5dc\""
495
+ cache-control:
328
496
  - max-age=0, private, must-revalidate
329
- x-ua-compatible:
497
+ x-ua-compatible:
330
498
  - IE=Edge
331
- set-cookie:
332
- - _recurly_session=28ab5126b8656056a11b2212d2d76a4d; domain=.lvh.me; path=/;
333
- HttpOnly
334
- server:
499
+ server:
335
500
  - thin 1.2.11 codename Bat-Shit Crazy
336
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plan>\n <plan_code>paid</plan_code>\n
337
- \ <name>Paid Plan</name>\n <description></description>\n <success_url></success_url>\n
338
- \ <cancel_url></cancel_url>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
339
- \ <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n <setup_fee_in_cents
340
- type=\"integer\">0</setup_fee_in_cents>\n <plan_interval_length type=\"integer\">1</plan_interval_length>\n
341
- \ <plan_interval_unit>months</plan_interval_unit>\n <trial_interval_length
342
- type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
343
- \ <add_ons type=\"array\">\n <add_on>\n <add_on_code>special</add_on_code>\n
344
- \ <default_quantity type=\"integer\">1</default_quantity>\n <default_unit_amount_in_cents
345
- type=\"integer\">400</default_unit_amount_in_cents>\n </add_on>\n <add_on>\n
346
- \ <add_on_code>special2</add_on_code>\n <default_quantity type=\"integer\">1</default_quantity>\n
347
- \ <default_unit_amount_in_cents type=\"integer\">1600</default_unit_amount_in_cents>\n
348
- \ </add_on>\n </add_ons>\n</plan>\n"
349
- http_version: '1.1'
350
- - !ruby/struct:VCR::HTTPInteraction
351
- request: !ruby/struct:VCR::Request
501
+ body: |
502
+ <?xml version="1.0" encoding="UTF-8"?>
503
+ <plan>
504
+ <plan_code>paid</plan_code>
505
+ <name>paid</name>
506
+ <description></description>
507
+ <success_url></success_url>
508
+ <cancel_url></cancel_url>
509
+ <created_at type="datetime">2011-09-22T21:54:04Z</created_at>
510
+ <unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
511
+ <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
512
+ <plan_interval_length type="integer">1</plan_interval_length>
513
+ <plan_interval_unit>months</plan_interval_unit>
514
+ <trial_interval_length type="integer">0</trial_interval_length>
515
+ <trial_interval_unit>days</trial_interval_unit>
516
+ </plan>
517
+
518
+ http_version: "1.1"
519
+ - !ruby/struct:VCR::HTTPInteraction
520
+ request: !ruby/struct:VCR::Request
352
521
  method: :post
353
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-list-num-0-1313708721/subscription.xml
354
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <plan-code>paid</plan-code>\n
355
- \ <quantity type=\"integer\">1</quantity>\n <account>\n <account-code>account-list-num-0-1313708721</account-code>\n
356
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
357
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <first-name>Verena</first-name>\n
358
- \ <last-name>Test</last-name>\n <address1>123 Test St</address1>\n
359
- \ <city>San Francisco</city>\n <state>CA</state>\n <zip>94115</zip>\n
360
- \ <country>US</country>\n <credit-card>\n <number>4111111111111111</number>\n
361
- \ <year type=\"integer\">2012</year>\n <month type=\"integer\">8</month>\n
362
- \ <verification-value>123</verification-value>\n </credit-card>\n
363
- \ </billing-info>\n <accept-language nil=\"true\"></accept-language>\n
364
- \ <id>account-list-num-0-1313708721</id>\n <username nil=\"true\"></username>\n
365
- \ <balance-in-cents type=\"integer\">0</balance-in-cents>\n <closed type=\"boolean\">false</closed>\n
366
- \ <hosted-login-token>d4200f68901940c4953587addcac775c</hosted-login-token>\n
367
- \ <created-at type=\"datetime\">2011-08-19T20:00:33Z</created-at>\n <state>active</state>\n
368
- \ </account>\n <addons type=\"array\"/>\n</subscription>\n"
369
- headers:
370
- user-agent:
371
- - Recurly Ruby Client v0.4.10
372
- content-type:
522
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-list-num-0-1313708721/subscription.xml
523
+ body: |
524
+ <?xml version="1.0" encoding="UTF-8"?>
525
+ <subscription>
526
+ <plan-code>paid</plan-code>
527
+ <quantity type="integer">1</quantity>
528
+ <account>
529
+ <account-code>account-list-num-0-1313708721</account-code>
530
+ <first-name>Verena</first-name>
531
+ <last-name>Test</last-name>
532
+ <email>verena@test.com</email>
533
+ <company-name>Recurly Ruby Gem</company-name>
534
+ <billing-info>
535
+ <first-name>Verena</first-name>
536
+ <last-name>Test</last-name>
537
+ <address1>123 Test St</address1>
538
+ <city>San Francisco</city>
539
+ <state>CA</state>
540
+ <zip>94115</zip>
541
+ <country>US</country>
542
+ <credit-card>
543
+ <number>4111111111111111</number>
544
+ <year type="integer">2012</year>
545
+ <month type="integer">9</month>
546
+ <verification-value>123</verification-value>
547
+ </credit-card>
548
+ </billing-info>
549
+ <accept-language nil="true"></accept-language>
550
+ <id>account-list-num-0-1313708721</id>
551
+ <username nil="true"></username>
552
+ <balance-in-cents type="integer">0</balance-in-cents>
553
+ <closed type="boolean">false</closed>
554
+ <hosted-login-token>2a302fcfe682451381919f3797df211f</hosted-login-token>
555
+ <created-at type="datetime">2011-09-22T22:01:29Z</created-at>
556
+ <state>active</state>
557
+ </account>
558
+ <addons type="array"/>
559
+ </subscription>
560
+
561
+ headers:
562
+ user-agent:
563
+ - Recurly Ruby Client v0.4.13
564
+ content-type:
373
565
  - application/xml
374
- response: !ruby/struct:VCR::Response
375
- status: !ruby/struct:VCR::ResponseStatus
566
+ response: !ruby/struct:VCR::Response
567
+ status: !ruby/struct:VCR::ResponseStatus
376
568
  code: 201
377
569
  message: Created
378
- headers:
379
- content-type:
570
+ headers:
571
+ content-type:
380
572
  - application/xml; charset=utf-8
381
- cache-control:
573
+ cache-control:
382
574
  - no-cache
383
- x-ua-compatible:
575
+ x-ua-compatible:
384
576
  - IE=Edge
385
- set-cookie:
386
- - _recurly_session=d96f390b71684b86c0045dd0f274d02b; domain=.lvh.me; path=/;
387
- HttpOnly
388
- server:
577
+ set-cookie:
578
+ - _recurly_session=8d18b19ee4160632152a43841c6f0ab8; domain=.lvh.me; path=/; HttpOnly
579
+ server:
389
580
  - thin 1.2.11 codename Bat-Shit Crazy
390
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>account-list-num-0-1313708721</id>\n
391
- \ <account_code>account-list-num-0-1313708721</account_code>\n <plan>\n <plan_code>paid</plan_code>\n
392
- \ <name>Paid Plan</name>\n </plan>\n <state>active</state>\n <quantity
393
- type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
394
- \ <total_amount_in_cents type=\"integer\">1200</total_amount_in_cents>\n <activated_at
395
- type=\"datetime\">2011-08-19T20:00:34Z</activated_at>\n <canceled_at nil=\"true\"
396
- type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
397
- \ <current_period_started_at type=\"datetime\">2011-08-19T20:00:34Z</current_period_started_at>\n
398
- \ <current_period_ends_at type=\"datetime\">2011-09-19T20:00:34Z</current_period_ends_at>\n
399
- \ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
400
- nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
401
- \ </add_ons>\n</subscription>\n"
402
- http_version: '1.1'
403
- - !ruby/struct:VCR::HTTPInteraction
404
- request: !ruby/struct:VCR::Request
581
+ body: |
582
+ <?xml version="1.0" encoding="UTF-8"?>
583
+ <subscription>
584
+ <id>account-list-num-0-1313708721</id>
585
+ <account_code>account-list-num-0-1313708721</account_code>
586
+ <plan>
587
+ <plan_code>paid</plan_code>
588
+ <name>paid</name>
589
+ </plan>
590
+ <state>active</state>
591
+ <quantity type="integer">1</quantity>
592
+ <unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
593
+ <total_amount_in_cents type="integer">1400</total_amount_in_cents>
594
+ <activated_at type="datetime">2011-09-22T22:01:30Z</activated_at>
595
+ <canceled_at nil="true" type="datetime"></canceled_at>
596
+ <expires_at nil="true" type="datetime"></expires_at>
597
+ <current_period_started_at type="datetime">2011-09-22T22:01:30Z</current_period_started_at>
598
+ <current_period_ends_at type="datetime">2011-10-22T22:01:30Z</current_period_ends_at>
599
+ <trial_started_at nil="true" type="datetime"></trial_started_at>
600
+ <trial_ends_at nil="true" type="datetime"></trial_ends_at>
601
+ <add_ons type="array">
602
+ </add_ons>
603
+ </subscription>
604
+
605
+ http_version: "1.1"
606
+ - !ruby/struct:VCR::HTTPInteraction
607
+ request: !ruby/struct:VCR::Request
405
608
  method: :get
406
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans/paid.xml
407
- body: !!null
408
- headers:
409
- user-agent:
410
- - Recurly Ruby Client v0.4.10
411
- accept:
609
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/plans/paid.xml
610
+ body:
611
+ headers:
612
+ user-agent:
613
+ - Recurly Ruby Client v0.4.13
614
+ accept:
412
615
  - application/xml
413
- accept-encoding:
616
+ accept-encoding:
414
617
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
415
- response: !ruby/struct:VCR::Response
416
- status: !ruby/struct:VCR::ResponseStatus
618
+ response: !ruby/struct:VCR::Response
619
+ status: !ruby/struct:VCR::ResponseStatus
417
620
  code: 200
418
621
  message: OK
419
- headers:
420
- content-type:
622
+ headers:
623
+ content-type:
421
624
  - application/xml; charset=utf-8
422
- etag:
423
- - ! '"30df1bac5befaf2f9fc4564c2103a07b"'
424
- cache-control:
625
+ etag:
626
+ - "\"7487d065869e9c487e0a588e1edea5dc\""
627
+ cache-control:
425
628
  - max-age=0, private, must-revalidate
426
- x-ua-compatible:
629
+ x-ua-compatible:
427
630
  - IE=Edge
428
- set-cookie:
429
- - _recurly_session=a308fffd346708adcf3277d4d2f39827; domain=.lvh.me; path=/;
430
- HttpOnly
431
- server:
631
+ server:
432
632
  - thin 1.2.11 codename Bat-Shit Crazy
433
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plan>\n <plan_code>paid</plan_code>\n
434
- \ <name>Paid Plan</name>\n <description></description>\n <success_url></success_url>\n
435
- \ <cancel_url></cancel_url>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
436
- \ <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n <setup_fee_in_cents
437
- type=\"integer\">0</setup_fee_in_cents>\n <plan_interval_length type=\"integer\">1</plan_interval_length>\n
438
- \ <plan_interval_unit>months</plan_interval_unit>\n <trial_interval_length
439
- type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
440
- \ <add_ons type=\"array\">\n <add_on>\n <add_on_code>special</add_on_code>\n
441
- \ <default_quantity type=\"integer\">1</default_quantity>\n <default_unit_amount_in_cents
442
- type=\"integer\">400</default_unit_amount_in_cents>\n </add_on>\n <add_on>\n
443
- \ <add_on_code>special2</add_on_code>\n <default_quantity type=\"integer\">1</default_quantity>\n
444
- \ <default_unit_amount_in_cents type=\"integer\">1600</default_unit_amount_in_cents>\n
445
- \ </add_on>\n </add_ons>\n</plan>\n"
446
- http_version: '1.1'
447
- - !ruby/struct:VCR::HTTPInteraction
448
- request: !ruby/struct:VCR::Request
633
+ body: |
634
+ <?xml version="1.0" encoding="UTF-8"?>
635
+ <plan>
636
+ <plan_code>paid</plan_code>
637
+ <name>paid</name>
638
+ <description></description>
639
+ <success_url></success_url>
640
+ <cancel_url></cancel_url>
641
+ <created_at type="datetime">2011-09-22T21:54:04Z</created_at>
642
+ <unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
643
+ <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
644
+ <plan_interval_length type="integer">1</plan_interval_length>
645
+ <plan_interval_unit>months</plan_interval_unit>
646
+ <trial_interval_length type="integer">0</trial_interval_length>
647
+ <trial_interval_unit>days</trial_interval_unit>
648
+ </plan>
649
+
650
+ http_version: "1.1"
651
+ - !ruby/struct:VCR::HTTPInteraction
652
+ request: !ruby/struct:VCR::Request
449
653
  method: :post
450
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-list-num-1-1313708721/subscription.xml
451
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <plan-code>paid</plan-code>\n
452
- \ <quantity type=\"integer\">1</quantity>\n <account>\n <account-code>account-list-num-1-1313708721</account-code>\n
453
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
454
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <first-name>Verena</first-name>\n
455
- \ <last-name>Test</last-name>\n <address1>123 Test St</address1>\n
456
- \ <city>San Francisco</city>\n <state>CA</state>\n <zip>94115</zip>\n
457
- \ <country>US</country>\n <credit-card>\n <number>4111111111111111</number>\n
458
- \ <year type=\"integer\">2012</year>\n <month type=\"integer\">8</month>\n
459
- \ <verification-value>123</verification-value>\n </credit-card>\n
460
- \ </billing-info>\n <accept-language nil=\"true\"></accept-language>\n
461
- \ <id>account-list-num-1-1313708721</id>\n <username nil=\"true\"></username>\n
462
- \ <balance-in-cents type=\"integer\">0</balance-in-cents>\n <closed type=\"boolean\">false</closed>\n
463
- \ <hosted-login-token>43f4316a43a64ffe8586cf32248488f6</hosted-login-token>\n
464
- \ <created-at type=\"datetime\">2011-08-19T20:00:33Z</created-at>\n <state>active</state>\n
465
- \ </account>\n <addons type=\"array\"/>\n</subscription>\n"
466
- headers:
467
- user-agent:
468
- - Recurly Ruby Client v0.4.10
469
- content-type:
654
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-list-num-1-1313708721/subscription.xml
655
+ body: |
656
+ <?xml version="1.0" encoding="UTF-8"?>
657
+ <subscription>
658
+ <plan-code>paid</plan-code>
659
+ <quantity type="integer">1</quantity>
660
+ <account>
661
+ <account-code>account-list-num-1-1313708721</account-code>
662
+ <first-name>Verena</first-name>
663
+ <last-name>Test</last-name>
664
+ <email>verena@test.com</email>
665
+ <company-name>Recurly Ruby Gem</company-name>
666
+ <billing-info>
667
+ <first-name>Verena</first-name>
668
+ <last-name>Test</last-name>
669
+ <address1>123 Test St</address1>
670
+ <city>San Francisco</city>
671
+ <state>CA</state>
672
+ <zip>94115</zip>
673
+ <country>US</country>
674
+ <credit-card>
675
+ <number>4111111111111111</number>
676
+ <year type="integer">2012</year>
677
+ <month type="integer">9</month>
678
+ <verification-value>123</verification-value>
679
+ </credit-card>
680
+ </billing-info>
681
+ <accept-language nil="true"></accept-language>
682
+ <id>account-list-num-1-1313708721</id>
683
+ <username nil="true"></username>
684
+ <balance-in-cents type="integer">0</balance-in-cents>
685
+ <closed type="boolean">false</closed>
686
+ <hosted-login-token>d7c4f1f50bec43209243565f5a7f18e9</hosted-login-token>
687
+ <created-at type="datetime">2011-09-22T22:01:29Z</created-at>
688
+ <state>active</state>
689
+ </account>
690
+ <addons type="array"/>
691
+ </subscription>
692
+
693
+ headers:
694
+ user-agent:
695
+ - Recurly Ruby Client v0.4.13
696
+ content-type:
470
697
  - application/xml
471
- response: !ruby/struct:VCR::Response
472
- status: !ruby/struct:VCR::ResponseStatus
698
+ response: !ruby/struct:VCR::Response
699
+ status: !ruby/struct:VCR::ResponseStatus
473
700
  code: 201
474
701
  message: Created
475
- headers:
476
- content-type:
702
+ headers:
703
+ content-type:
477
704
  - application/xml; charset=utf-8
478
- cache-control:
705
+ cache-control:
479
706
  - no-cache
480
- x-ua-compatible:
707
+ x-ua-compatible:
481
708
  - IE=Edge
482
- set-cookie:
483
- - _recurly_session=98d1df7e9ba788d7351991bbafcdb92b; domain=.lvh.me; path=/;
484
- HttpOnly
485
- server:
709
+ set-cookie:
710
+ - _recurly_session=4402fd472429e7f1856e68c5ef2e70fd; domain=.lvh.me; path=/; HttpOnly
711
+ server:
486
712
  - thin 1.2.11 codename Bat-Shit Crazy
487
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>account-list-num-1-1313708721</id>\n
488
- \ <account_code>account-list-num-1-1313708721</account_code>\n <plan>\n <plan_code>paid</plan_code>\n
489
- \ <name>Paid Plan</name>\n </plan>\n <state>active</state>\n <quantity
490
- type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
491
- \ <total_amount_in_cents type=\"integer\">1200</total_amount_in_cents>\n <activated_at
492
- type=\"datetime\">2011-08-19T20:00:56Z</activated_at>\n <canceled_at nil=\"true\"
493
- type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
494
- \ <current_period_started_at type=\"datetime\">2011-08-19T20:00:56Z</current_period_started_at>\n
495
- \ <current_period_ends_at type=\"datetime\">2011-09-19T20:00:56Z</current_period_ends_at>\n
496
- \ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
497
- nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
498
- \ </add_ons>\n</subscription>\n"
499
- http_version: '1.1'
500
- - !ruby/struct:VCR::HTTPInteraction
501
- request: !ruby/struct:VCR::Request
713
+ body: |
714
+ <?xml version="1.0" encoding="UTF-8"?>
715
+ <subscription>
716
+ <id>account-list-num-1-1313708721</id>
717
+ <account_code>account-list-num-1-1313708721</account_code>
718
+ <plan>
719
+ <plan_code>paid</plan_code>
720
+ <name>paid</name>
721
+ </plan>
722
+ <state>active</state>
723
+ <quantity type="integer">1</quantity>
724
+ <unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
725
+ <total_amount_in_cents type="integer">1400</total_amount_in_cents>
726
+ <activated_at type="datetime">2011-09-22T22:01:31Z</activated_at>
727
+ <canceled_at nil="true" type="datetime"></canceled_at>
728
+ <expires_at nil="true" type="datetime"></expires_at>
729
+ <current_period_started_at type="datetime">2011-09-22T22:01:31Z</current_period_started_at>
730
+ <current_period_ends_at type="datetime">2011-10-22T22:01:31Z</current_period_ends_at>
731
+ <trial_started_at nil="true" type="datetime"></trial_started_at>
732
+ <trial_ends_at nil="true" type="datetime"></trial_ends_at>
733
+ <add_ons type="array">
734
+ </add_ons>
735
+ </subscription>
736
+
737
+ http_version: "1.1"
738
+ - !ruby/struct:VCR::HTTPInteraction
739
+ request: !ruby/struct:VCR::Request
502
740
  method: :get
503
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans/paid.xml
504
- body: !!null
505
- headers:
506
- user-agent:
507
- - Recurly Ruby Client v0.4.10
508
- accept:
741
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/plans/paid.xml
742
+ body:
743
+ headers:
744
+ user-agent:
745
+ - Recurly Ruby Client v0.4.13
746
+ accept:
509
747
  - application/xml
510
- accept-encoding:
748
+ accept-encoding:
511
749
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
512
- response: !ruby/struct:VCR::Response
513
- status: !ruby/struct:VCR::ResponseStatus
750
+ response: !ruby/struct:VCR::Response
751
+ status: !ruby/struct:VCR::ResponseStatus
514
752
  code: 200
515
753
  message: OK
516
- headers:
517
- content-type:
754
+ headers:
755
+ content-type:
518
756
  - application/xml; charset=utf-8
519
- etag:
520
- - ! '"30df1bac5befaf2f9fc4564c2103a07b"'
521
- cache-control:
757
+ etag:
758
+ - "\"7487d065869e9c487e0a588e1edea5dc\""
759
+ cache-control:
522
760
  - max-age=0, private, must-revalidate
523
- x-ua-compatible:
761
+ x-ua-compatible:
524
762
  - IE=Edge
525
- set-cookie:
526
- - _recurly_session=9be129dfbc714ae10b77bb15f0a40464; domain=.lvh.me; path=/;
527
- HttpOnly
528
- server:
763
+ server:
529
764
  - thin 1.2.11 codename Bat-Shit Crazy
530
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plan>\n <plan_code>paid</plan_code>\n
531
- \ <name>Paid Plan</name>\n <description></description>\n <success_url></success_url>\n
532
- \ <cancel_url></cancel_url>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
533
- \ <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n <setup_fee_in_cents
534
- type=\"integer\">0</setup_fee_in_cents>\n <plan_interval_length type=\"integer\">1</plan_interval_length>\n
535
- \ <plan_interval_unit>months</plan_interval_unit>\n <trial_interval_length
536
- type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
537
- \ <add_ons type=\"array\">\n <add_on>\n <add_on_code>special</add_on_code>\n
538
- \ <default_quantity type=\"integer\">1</default_quantity>\n <default_unit_amount_in_cents
539
- type=\"integer\">400</default_unit_amount_in_cents>\n </add_on>\n <add_on>\n
540
- \ <add_on_code>special2</add_on_code>\n <default_quantity type=\"integer\">1</default_quantity>\n
541
- \ <default_unit_amount_in_cents type=\"integer\">1600</default_unit_amount_in_cents>\n
542
- \ </add_on>\n </add_ons>\n</plan>\n"
543
- http_version: '1.1'
544
- - !ruby/struct:VCR::HTTPInteraction
545
- request: !ruby/struct:VCR::Request
765
+ body: |
766
+ <?xml version="1.0" encoding="UTF-8"?>
767
+ <plan>
768
+ <plan_code>paid</plan_code>
769
+ <name>paid</name>
770
+ <description></description>
771
+ <success_url></success_url>
772
+ <cancel_url></cancel_url>
773
+ <created_at type="datetime">2011-09-22T21:54:04Z</created_at>
774
+ <unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
775
+ <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
776
+ <plan_interval_length type="integer">1</plan_interval_length>
777
+ <plan_interval_unit>months</plan_interval_unit>
778
+ <trial_interval_length type="integer">0</trial_interval_length>
779
+ <trial_interval_unit>days</trial_interval_unit>
780
+ </plan>
781
+
782
+ http_version: "1.1"
783
+ - !ruby/struct:VCR::HTTPInteraction
784
+ request: !ruby/struct:VCR::Request
546
785
  method: :post
547
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-list-num-2-1313708721/subscription.xml
548
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <plan-code>paid</plan-code>\n
549
- \ <quantity type=\"integer\">1</quantity>\n <account>\n <account-code>account-list-num-2-1313708721</account-code>\n
550
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
551
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <first-name>Verena</first-name>\n
552
- \ <last-name>Test</last-name>\n <address1>123 Test St</address1>\n
553
- \ <city>San Francisco</city>\n <state>CA</state>\n <zip>94115</zip>\n
554
- \ <country>US</country>\n <credit-card>\n <number>4111111111111111</number>\n
555
- \ <year type=\"integer\">2012</year>\n <month type=\"integer\">8</month>\n
556
- \ <verification-value>123</verification-value>\n </credit-card>\n
557
- \ </billing-info>\n <accept-language nil=\"true\"></accept-language>\n
558
- \ <id>account-list-num-2-1313708721</id>\n <username nil=\"true\"></username>\n
559
- \ <balance-in-cents type=\"integer\">0</balance-in-cents>\n <closed type=\"boolean\">false</closed>\n
560
- \ <hosted-login-token>4be2f79bbb6c4c48b3c9e6013afb63f6</hosted-login-token>\n
561
- \ <created-at type=\"datetime\">2011-08-19T20:00:33Z</created-at>\n <state>active</state>\n
562
- \ </account>\n <addons type=\"array\"/>\n</subscription>\n"
563
- headers:
564
- user-agent:
565
- - Recurly Ruby Client v0.4.10
566
- content-type:
786
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-list-num-2-1313708721/subscription.xml
787
+ body: |
788
+ <?xml version="1.0" encoding="UTF-8"?>
789
+ <subscription>
790
+ <plan-code>paid</plan-code>
791
+ <quantity type="integer">1</quantity>
792
+ <account>
793
+ <account-code>account-list-num-2-1313708721</account-code>
794
+ <first-name>Verena</first-name>
795
+ <last-name>Test</last-name>
796
+ <email>verena@test.com</email>
797
+ <company-name>Recurly Ruby Gem</company-name>
798
+ <billing-info>
799
+ <first-name>Verena</first-name>
800
+ <last-name>Test</last-name>
801
+ <address1>123 Test St</address1>
802
+ <city>San Francisco</city>
803
+ <state>CA</state>
804
+ <zip>94115</zip>
805
+ <country>US</country>
806
+ <credit-card>
807
+ <number>4111111111111111</number>
808
+ <year type="integer">2012</year>
809
+ <month type="integer">9</month>
810
+ <verification-value>123</verification-value>
811
+ </credit-card>
812
+ </billing-info>
813
+ <accept-language nil="true"></accept-language>
814
+ <id>account-list-num-2-1313708721</id>
815
+ <username nil="true"></username>
816
+ <balance-in-cents type="integer">0</balance-in-cents>
817
+ <closed type="boolean">false</closed>
818
+ <hosted-login-token>4ec147f2ba6b4cffb98b8ace3573e081</hosted-login-token>
819
+ <created-at type="datetime">2011-09-22T22:01:29Z</created-at>
820
+ <state>active</state>
821
+ </account>
822
+ <addons type="array"/>
823
+ </subscription>
824
+
825
+ headers:
826
+ user-agent:
827
+ - Recurly Ruby Client v0.4.13
828
+ content-type:
567
829
  - application/xml
568
- response: !ruby/struct:VCR::Response
569
- status: !ruby/struct:VCR::ResponseStatus
830
+ response: !ruby/struct:VCR::Response
831
+ status: !ruby/struct:VCR::ResponseStatus
570
832
  code: 201
571
833
  message: Created
572
- headers:
573
- content-type:
834
+ headers:
835
+ content-type:
574
836
  - application/xml; charset=utf-8
575
- cache-control:
837
+ cache-control:
576
838
  - no-cache
577
- x-ua-compatible:
839
+ x-ua-compatible:
578
840
  - IE=Edge
579
- set-cookie:
580
- - _recurly_session=b3443f60b780685f48061e3f3145617e; domain=.lvh.me; path=/;
581
- HttpOnly
582
- server:
841
+ set-cookie:
842
+ - _recurly_session=bba44a1cf8a2a06490e3339f5a57fbf8; domain=.lvh.me; path=/; HttpOnly
843
+ server:
583
844
  - thin 1.2.11 codename Bat-Shit Crazy
584
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>account-list-num-2-1313708721</id>\n
585
- \ <account_code>account-list-num-2-1313708721</account_code>\n <plan>\n <plan_code>paid</plan_code>\n
586
- \ <name>Paid Plan</name>\n </plan>\n <state>active</state>\n <quantity
587
- type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
588
- \ <total_amount_in_cents type=\"integer\">1200</total_amount_in_cents>\n <activated_at
589
- type=\"datetime\">2011-08-19T20:00:59Z</activated_at>\n <canceled_at nil=\"true\"
590
- type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
591
- \ <current_period_started_at type=\"datetime\">2011-08-19T20:00:59Z</current_period_started_at>\n
592
- \ <current_period_ends_at type=\"datetime\">2011-09-19T20:00:59Z</current_period_ends_at>\n
593
- \ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
594
- nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
595
- \ </add_ons>\n</subscription>\n"
596
- http_version: '1.1'
597
- - !ruby/struct:VCR::HTTPInteraction
598
- request: !ruby/struct:VCR::Request
845
+ body: |
846
+ <?xml version="1.0" encoding="UTF-8"?>
847
+ <subscription>
848
+ <id>account-list-num-2-1313708721</id>
849
+ <account_code>account-list-num-2-1313708721</account_code>
850
+ <plan>
851
+ <plan_code>paid</plan_code>
852
+ <name>paid</name>
853
+ </plan>
854
+ <state>active</state>
855
+ <quantity type="integer">1</quantity>
856
+ <unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
857
+ <total_amount_in_cents type="integer">1400</total_amount_in_cents>
858
+ <activated_at type="datetime">2011-09-22T22:01:33Z</activated_at>
859
+ <canceled_at nil="true" type="datetime"></canceled_at>
860
+ <expires_at nil="true" type="datetime"></expires_at>
861
+ <current_period_started_at type="datetime">2011-09-22T22:01:33Z</current_period_started_at>
862
+ <current_period_ends_at type="datetime">2011-10-22T22:01:33Z</current_period_ends_at>
863
+ <trial_started_at nil="true" type="datetime"></trial_started_at>
864
+ <trial_ends_at nil="true" type="datetime"></trial_ends_at>
865
+ <add_ons type="array">
866
+ </add_ons>
867
+ </subscription>
868
+
869
+ http_version: "1.1"
870
+ - !ruby/struct:VCR::HTTPInteraction
871
+ request: !ruby/struct:VCR::Request
599
872
  method: :get
600
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans/paid.xml
601
- body: !!null
602
- headers:
603
- user-agent:
604
- - Recurly Ruby Client v0.4.10
605
- accept:
873
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/plans/paid.xml
874
+ body:
875
+ headers:
876
+ user-agent:
877
+ - Recurly Ruby Client v0.4.13
878
+ accept:
606
879
  - application/xml
607
- accept-encoding:
880
+ accept-encoding:
608
881
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
609
- response: !ruby/struct:VCR::Response
610
- status: !ruby/struct:VCR::ResponseStatus
882
+ response: !ruby/struct:VCR::Response
883
+ status: !ruby/struct:VCR::ResponseStatus
611
884
  code: 200
612
885
  message: OK
613
- headers:
614
- content-type:
886
+ headers:
887
+ content-type:
615
888
  - application/xml; charset=utf-8
616
- etag:
617
- - ! '"30df1bac5befaf2f9fc4564c2103a07b"'
618
- cache-control:
889
+ etag:
890
+ - "\"7487d065869e9c487e0a588e1edea5dc\""
891
+ cache-control:
619
892
  - max-age=0, private, must-revalidate
620
- x-ua-compatible:
893
+ x-ua-compatible:
621
894
  - IE=Edge
622
- set-cookie:
623
- - _recurly_session=434a49c82e5cb1d35848b9269a55fd3c; domain=.lvh.me; path=/;
624
- HttpOnly
625
- server:
895
+ server:
626
896
  - thin 1.2.11 codename Bat-Shit Crazy
627
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plan>\n <plan_code>paid</plan_code>\n
628
- \ <name>Paid Plan</name>\n <description></description>\n <success_url></success_url>\n
629
- \ <cancel_url></cancel_url>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
630
- \ <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n <setup_fee_in_cents
631
- type=\"integer\">0</setup_fee_in_cents>\n <plan_interval_length type=\"integer\">1</plan_interval_length>\n
632
- \ <plan_interval_unit>months</plan_interval_unit>\n <trial_interval_length
633
- type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
634
- \ <add_ons type=\"array\">\n <add_on>\n <add_on_code>special</add_on_code>\n
635
- \ <default_quantity type=\"integer\">1</default_quantity>\n <default_unit_amount_in_cents
636
- type=\"integer\">400</default_unit_amount_in_cents>\n </add_on>\n <add_on>\n
637
- \ <add_on_code>special2</add_on_code>\n <default_quantity type=\"integer\">1</default_quantity>\n
638
- \ <default_unit_amount_in_cents type=\"integer\">1600</default_unit_amount_in_cents>\n
639
- \ </add_on>\n </add_ons>\n</plan>\n"
640
- http_version: '1.1'
641
- - !ruby/struct:VCR::HTTPInteraction
642
- request: !ruby/struct:VCR::Request
897
+ body: |
898
+ <?xml version="1.0" encoding="UTF-8"?>
899
+ <plan>
900
+ <plan_code>paid</plan_code>
901
+ <name>paid</name>
902
+ <description></description>
903
+ <success_url></success_url>
904
+ <cancel_url></cancel_url>
905
+ <created_at type="datetime">2011-09-22T21:54:04Z</created_at>
906
+ <unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
907
+ <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
908
+ <plan_interval_length type="integer">1</plan_interval_length>
909
+ <plan_interval_unit>months</plan_interval_unit>
910
+ <trial_interval_length type="integer">0</trial_interval_length>
911
+ <trial_interval_unit>days</trial_interval_unit>
912
+ </plan>
913
+
914
+ http_version: "1.1"
915
+ - !ruby/struct:VCR::HTTPInteraction
916
+ request: !ruby/struct:VCR::Request
643
917
  method: :post
644
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-list-num-3-1313708721/subscription.xml
645
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <plan-code>paid</plan-code>\n
646
- \ <quantity type=\"integer\">1</quantity>\n <account>\n <account-code>account-list-num-3-1313708721</account-code>\n
647
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
648
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <first-name>Verena</first-name>\n
649
- \ <last-name>Test</last-name>\n <address1>123 Test St</address1>\n
650
- \ <city>San Francisco</city>\n <state>CA</state>\n <zip>94115</zip>\n
651
- \ <country>US</country>\n <credit-card>\n <number>4111111111111111</number>\n
652
- \ <year type=\"integer\">2012</year>\n <month type=\"integer\">8</month>\n
653
- \ <verification-value>123</verification-value>\n </credit-card>\n
654
- \ </billing-info>\n <accept-language nil=\"true\"></accept-language>\n
655
- \ <id>account-list-num-3-1313708721</id>\n <username nil=\"true\"></username>\n
656
- \ <balance-in-cents type=\"integer\">0</balance-in-cents>\n <closed type=\"boolean\">false</closed>\n
657
- \ <hosted-login-token>af0b66ea61f74ce387554058b832e348</hosted-login-token>\n
658
- \ <created-at type=\"datetime\">2011-08-19T20:00:33Z</created-at>\n <state>active</state>\n
659
- \ </account>\n <addons type=\"array\"/>\n</subscription>\n"
660
- headers:
661
- user-agent:
662
- - Recurly Ruby Client v0.4.10
663
- content-type:
918
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-list-num-3-1313708721/subscription.xml
919
+ body: |
920
+ <?xml version="1.0" encoding="UTF-8"?>
921
+ <subscription>
922
+ <plan-code>paid</plan-code>
923
+ <quantity type="integer">1</quantity>
924
+ <account>
925
+ <account-code>account-list-num-3-1313708721</account-code>
926
+ <first-name>Verena</first-name>
927
+ <last-name>Test</last-name>
928
+ <email>verena@test.com</email>
929
+ <company-name>Recurly Ruby Gem</company-name>
930
+ <billing-info>
931
+ <first-name>Verena</first-name>
932
+ <last-name>Test</last-name>
933
+ <address1>123 Test St</address1>
934
+ <city>San Francisco</city>
935
+ <state>CA</state>
936
+ <zip>94115</zip>
937
+ <country>US</country>
938
+ <credit-card>
939
+ <number>4111111111111111</number>
940
+ <year type="integer">2012</year>
941
+ <month type="integer">9</month>
942
+ <verification-value>123</verification-value>
943
+ </credit-card>
944
+ </billing-info>
945
+ <accept-language nil="true"></accept-language>
946
+ <id>account-list-num-3-1313708721</id>
947
+ <username nil="true"></username>
948
+ <balance-in-cents type="integer">0</balance-in-cents>
949
+ <closed type="boolean">false</closed>
950
+ <hosted-login-token>4ce63e6677c342ffa7ec6440d764c1f0</hosted-login-token>
951
+ <created-at type="datetime">2011-09-22T22:01:29Z</created-at>
952
+ <state>active</state>
953
+ </account>
954
+ <addons type="array"/>
955
+ </subscription>
956
+
957
+ headers:
958
+ user-agent:
959
+ - Recurly Ruby Client v0.4.13
960
+ content-type:
664
961
  - application/xml
665
- response: !ruby/struct:VCR::Response
666
- status: !ruby/struct:VCR::ResponseStatus
962
+ response: !ruby/struct:VCR::Response
963
+ status: !ruby/struct:VCR::ResponseStatus
667
964
  code: 201
668
965
  message: Created
669
- headers:
670
- content-type:
966
+ headers:
967
+ content-type:
671
968
  - application/xml; charset=utf-8
672
- cache-control:
969
+ cache-control:
673
970
  - no-cache
674
- x-ua-compatible:
971
+ x-ua-compatible:
675
972
  - IE=Edge
676
- set-cookie:
677
- - _recurly_session=fd7e8a835a9d67a268a29fb069488729; domain=.lvh.me; path=/;
678
- HttpOnly
679
- server:
973
+ set-cookie:
974
+ - _recurly_session=00475ea8ce2d66a745c13d3e676dba3e; domain=.lvh.me; path=/; HttpOnly
975
+ server:
680
976
  - thin 1.2.11 codename Bat-Shit Crazy
681
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>account-list-num-3-1313708721</id>\n
682
- \ <account_code>account-list-num-3-1313708721</account_code>\n <plan>\n <plan_code>paid</plan_code>\n
683
- \ <name>Paid Plan</name>\n </plan>\n <state>active</state>\n <quantity
684
- type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
685
- \ <total_amount_in_cents type=\"integer\">1200</total_amount_in_cents>\n <activated_at
686
- type=\"datetime\">2011-08-19T20:01:03Z</activated_at>\n <canceled_at nil=\"true\"
687
- type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
688
- \ <current_period_started_at type=\"datetime\">2011-08-19T20:01:03Z</current_period_started_at>\n
689
- \ <current_period_ends_at type=\"datetime\">2011-09-19T20:01:03Z</current_period_ends_at>\n
690
- \ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
691
- nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
692
- \ </add_ons>\n</subscription>\n"
693
- http_version: '1.1'
694
- - !ruby/struct:VCR::HTTPInteraction
695
- request: !ruby/struct:VCR::Request
977
+ body: |
978
+ <?xml version="1.0" encoding="UTF-8"?>
979
+ <subscription>
980
+ <id>account-list-num-3-1313708721</id>
981
+ <account_code>account-list-num-3-1313708721</account_code>
982
+ <plan>
983
+ <plan_code>paid</plan_code>
984
+ <name>paid</name>
985
+ </plan>
986
+ <state>active</state>
987
+ <quantity type="integer">1</quantity>
988
+ <unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
989
+ <total_amount_in_cents type="integer">1400</total_amount_in_cents>
990
+ <activated_at type="datetime">2011-09-22T22:01:34Z</activated_at>
991
+ <canceled_at nil="true" type="datetime"></canceled_at>
992
+ <expires_at nil="true" type="datetime"></expires_at>
993
+ <current_period_started_at type="datetime">2011-09-22T22:01:34Z</current_period_started_at>
994
+ <current_period_ends_at type="datetime">2011-10-22T22:01:34Z</current_period_ends_at>
995
+ <trial_started_at nil="true" type="datetime"></trial_started_at>
996
+ <trial_ends_at nil="true" type="datetime"></trial_ends_at>
997
+ <add_ons type="array">
998
+ </add_ons>
999
+ </subscription>
1000
+
1001
+ http_version: "1.1"
1002
+ - !ruby/struct:VCR::HTTPInteraction
1003
+ request: !ruby/struct:VCR::Request
696
1004
  method: :get
697
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
698
- body: !!null
699
- headers:
700
- user-agent:
701
- - Recurly Ruby Client v0.4.10
702
- accept:
1005
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
1006
+ body:
1007
+ headers:
1008
+ user-agent:
1009
+ - Recurly Ruby Client v0.4.13
1010
+ accept:
703
1011
  - application/xml
704
- accept-encoding:
1012
+ accept-encoding:
705
1013
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
706
- response: !ruby/struct:VCR::Response
707
- status: !ruby/struct:VCR::ResponseStatus
1014
+ response: !ruby/struct:VCR::Response
1015
+ status: !ruby/struct:VCR::ResponseStatus
708
1016
  code: 200
709
1017
  message: OK
710
- headers:
711
- content-type:
1018
+ headers:
1019
+ content-type:
712
1020
  - application/xml; charset=utf-8
713
- etag:
714
- - ! '"5936b2c577dee7cfed54da4040a5097e"'
715
- cache-control:
1021
+ etag:
1022
+ - "\"5936b2c577dee7cfed54da4040a5097e\""
1023
+ cache-control:
716
1024
  - max-age=0, private, must-revalidate
717
- x-ua-compatible:
1025
+ x-ua-compatible:
718
1026
  - IE=Edge
719
- set-cookie:
720
- - _recurly_session=a55116bc21d975a6b2b94beb972ee48c; domain=.lvh.me; path=/;
721
- HttpOnly
722
- server:
1027
+ server:
723
1028
  - thin 1.2.11 codename Bat-Shit Crazy
724
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<accounts type=\"collection\">\n
725
- \ <current_page type=\"integer\">1</current_page>\n <per_page type=\"integer\">20</per_page>\n
726
- \ <total_entries type=\"integer\">11</total_entries>\n <account>\n <account_code>account-create-1313708721</account_code>\n
727
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
728
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
729
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
730
- \ <account>\n <account_code>account-get-1313708721</account_code>\n <username></username>\n
731
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
732
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
733
- \ </account>\n <account>\n <account_code>account-list-num-0-1313708721</account_code>\n
734
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
735
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
736
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
737
- \ <account>\n <account_code>account-list-num-1-1313708721</account_code>\n
738
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
739
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
740
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
741
- \ <account>\n <account_code>account-list-num-2-1313708721</account_code>\n
742
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
743
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
744
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
745
- \ <account>\n <account_code>account-list-num-3-1313708721</account_code>\n
746
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
747
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
748
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
749
- \ <account>\n <account_code>account-list-num-4-1313708721</account_code>\n
750
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
751
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
752
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
753
- \ <account>\n <account_code>account-list-num-5-1313708721</account_code>\n
754
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
755
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
756
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
757
- \ <account>\n <account_code>account-list-num-6-1313708721</account_code>\n
758
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
759
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
760
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
761
- \ <account>\n <account_code>account-list-num-7-1313708721</account_code>\n
762
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
763
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
764
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
765
- \ <account>\n <account_code>d00d-1313708721</account_code>\n <username></username>\n
766
- \ <email></email>\n <first_name></first_name>\n <last_name></last_name>\n
767
- \ <company_name></company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
768
- \ </account>\n</accounts>\n"
769
- http_version: '1.1'
770
- - !ruby/struct:VCR::HTTPInteraction
771
- request: !ruby/struct:VCR::Request
1029
+ body: |
1030
+ <?xml version="1.0" encoding="UTF-8"?>
1031
+ <accounts type="collection">
1032
+ <current_page type="integer">1</current_page>
1033
+ <per_page type="integer">20</per_page>
1034
+ <total_entries type="integer">11</total_entries>
1035
+ <account>
1036
+ <account_code>account-create-1313708721</account_code>
1037
+ <username></username>
1038
+ <email>verena@test.com</email>
1039
+ <first_name>Verena</first_name>
1040
+ <last_name>Test</last_name>
1041
+ <company_name>Recurly Ruby Gem</company_name>
1042
+ <balance_in_cents type="integer">0</balance_in_cents>
1043
+ </account>
1044
+ <account>
1045
+ <account_code>account-get-1313708721</account_code>
1046
+ <username></username>
1047
+ <email>verena@test.com</email>
1048
+ <first_name>Verena</first_name>
1049
+ <last_name>Test</last_name>
1050
+ <company_name>Recurly Ruby Gem</company_name>
1051
+ <balance_in_cents type="integer">0</balance_in_cents>
1052
+ </account>
1053
+ <account>
1054
+ <account_code>account-list-num-0-1313708721</account_code>
1055
+ <username></username>
1056
+ <email>verena@test.com</email>
1057
+ <first_name>Verena</first_name>
1058
+ <last_name>Test</last_name>
1059
+ <company_name>Recurly Ruby Gem</company_name>
1060
+ <balance_in_cents type="integer">0</balance_in_cents>
1061
+ </account>
1062
+ <account>
1063
+ <account_code>account-list-num-1-1313708721</account_code>
1064
+ <username></username>
1065
+ <email>verena@test.com</email>
1066
+ <first_name>Verena</first_name>
1067
+ <last_name>Test</last_name>
1068
+ <company_name>Recurly Ruby Gem</company_name>
1069
+ <balance_in_cents type="integer">0</balance_in_cents>
1070
+ </account>
1071
+ <account>
1072
+ <account_code>account-list-num-2-1313708721</account_code>
1073
+ <username></username>
1074
+ <email>verena@test.com</email>
1075
+ <first_name>Verena</first_name>
1076
+ <last_name>Test</last_name>
1077
+ <company_name>Recurly Ruby Gem</company_name>
1078
+ <balance_in_cents type="integer">0</balance_in_cents>
1079
+ </account>
1080
+ <account>
1081
+ <account_code>account-list-num-3-1313708721</account_code>
1082
+ <username></username>
1083
+ <email>verena@test.com</email>
1084
+ <first_name>Verena</first_name>
1085
+ <last_name>Test</last_name>
1086
+ <company_name>Recurly Ruby Gem</company_name>
1087
+ <balance_in_cents type="integer">0</balance_in_cents>
1088
+ </account>
1089
+ <account>
1090
+ <account_code>account-list-num-4-1313708721</account_code>
1091
+ <username></username>
1092
+ <email>verena@test.com</email>
1093
+ <first_name>Verena</first_name>
1094
+ <last_name>Test</last_name>
1095
+ <company_name>Recurly Ruby Gem</company_name>
1096
+ <balance_in_cents type="integer">0</balance_in_cents>
1097
+ </account>
1098
+ <account>
1099
+ <account_code>account-list-num-5-1313708721</account_code>
1100
+ <username></username>
1101
+ <email>verena@test.com</email>
1102
+ <first_name>Verena</first_name>
1103
+ <last_name>Test</last_name>
1104
+ <company_name>Recurly Ruby Gem</company_name>
1105
+ <balance_in_cents type="integer">0</balance_in_cents>
1106
+ </account>
1107
+ <account>
1108
+ <account_code>account-list-num-6-1313708721</account_code>
1109
+ <username></username>
1110
+ <email>verena@test.com</email>
1111
+ <first_name>Verena</first_name>
1112
+ <last_name>Test</last_name>
1113
+ <company_name>Recurly Ruby Gem</company_name>
1114
+ <balance_in_cents type="integer">0</balance_in_cents>
1115
+ </account>
1116
+ <account>
1117
+ <account_code>account-list-num-7-1313708721</account_code>
1118
+ <username></username>
1119
+ <email>verena@test.com</email>
1120
+ <first_name>Verena</first_name>
1121
+ <last_name>Test</last_name>
1122
+ <company_name>Recurly Ruby Gem</company_name>
1123
+ <balance_in_cents type="integer">0</balance_in_cents>
1124
+ </account>
1125
+ <account>
1126
+ <account_code>d00d-1313708721</account_code>
1127
+ <username></username>
1128
+ <email></email>
1129
+ <first_name></first_name>
1130
+ <last_name></last_name>
1131
+ <company_name></company_name>
1132
+ <balance_in_cents type="integer">0</balance_in_cents>
1133
+ </account>
1134
+ </accounts>
1135
+
1136
+ http_version: "1.1"
1137
+ - !ruby/struct:VCR::HTTPInteraction
1138
+ request: !ruby/struct:VCR::Request
772
1139
  method: :get
773
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml?show=active_subscribers
774
- body: !!null
775
- headers:
776
- user-agent:
777
- - Recurly Ruby Client v0.4.10
778
- accept:
1140
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml?show=active_subscribers
1141
+ body:
1142
+ headers:
1143
+ user-agent:
1144
+ - Recurly Ruby Client v0.4.13
1145
+ accept:
779
1146
  - application/xml
780
- accept-encoding:
1147
+ accept-encoding:
781
1148
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
782
- response: !ruby/struct:VCR::Response
783
- status: !ruby/struct:VCR::ResponseStatus
1149
+ response: !ruby/struct:VCR::Response
1150
+ status: !ruby/struct:VCR::ResponseStatus
784
1151
  code: 200
785
1152
  message: OK
786
- headers:
787
- content-type:
1153
+ headers:
1154
+ content-type:
788
1155
  - application/xml; charset=utf-8
789
- etag:
790
- - ! '"cd71abe0bebbfcf74311c85546fde64d"'
791
- cache-control:
1156
+ etag:
1157
+ - "\"cd71abe0bebbfcf74311c85546fde64d\""
1158
+ cache-control:
792
1159
  - max-age=0, private, must-revalidate
793
- x-ua-compatible:
1160
+ x-ua-compatible:
794
1161
  - IE=Edge
795
- set-cookie:
796
- - _recurly_session=165fe3f70aa25f738080c19e4a4e8f5c; domain=.lvh.me; path=/;
797
- HttpOnly
798
- server:
1162
+ server:
799
1163
  - thin 1.2.11 codename Bat-Shit Crazy
800
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<accounts type=\"collection\">\n
801
- \ <current_page type=\"integer\">1</current_page>\n <per_page type=\"integer\">20</per_page>\n
802
- \ <total_entries type=\"integer\">4</total_entries>\n <account>\n <account_code>account-list-num-0-1313708721</account_code>\n
803
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
804
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
805
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
806
- \ <account>\n <account_code>account-list-num-1-1313708721</account_code>\n
807
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
808
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
809
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
810
- \ <account>\n <account_code>account-list-num-2-1313708721</account_code>\n
811
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
812
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
813
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
814
- \ <account>\n <account_code>account-list-num-3-1313708721</account_code>\n
815
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
816
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
817
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n</accounts>\n"
818
- http_version: '1.1'
819
- - !ruby/struct:VCR::HTTPInteraction
820
- request: !ruby/struct:VCR::Request
1164
+ body: |
1165
+ <?xml version="1.0" encoding="UTF-8"?>
1166
+ <accounts type="collection">
1167
+ <current_page type="integer">1</current_page>
1168
+ <per_page type="integer">20</per_page>
1169
+ <total_entries type="integer">4</total_entries>
1170
+ <account>
1171
+ <account_code>account-list-num-0-1313708721</account_code>
1172
+ <username></username>
1173
+ <email>verena@test.com</email>
1174
+ <first_name>Verena</first_name>
1175
+ <last_name>Test</last_name>
1176
+ <company_name>Recurly Ruby Gem</company_name>
1177
+ <balance_in_cents type="integer">0</balance_in_cents>
1178
+ </account>
1179
+ <account>
1180
+ <account_code>account-list-num-1-1313708721</account_code>
1181
+ <username></username>
1182
+ <email>verena@test.com</email>
1183
+ <first_name>Verena</first_name>
1184
+ <last_name>Test</last_name>
1185
+ <company_name>Recurly Ruby Gem</company_name>
1186
+ <balance_in_cents type="integer">0</balance_in_cents>
1187
+ </account>
1188
+ <account>
1189
+ <account_code>account-list-num-2-1313708721</account_code>
1190
+ <username></username>
1191
+ <email>verena@test.com</email>
1192
+ <first_name>Verena</first_name>
1193
+ <last_name>Test</last_name>
1194
+ <company_name>Recurly Ruby Gem</company_name>
1195
+ <balance_in_cents type="integer">0</balance_in_cents>
1196
+ </account>
1197
+ <account>
1198
+ <account_code>account-list-num-3-1313708721</account_code>
1199
+ <username></username>
1200
+ <email>verena@test.com</email>
1201
+ <first_name>Verena</first_name>
1202
+ <last_name>Test</last_name>
1203
+ <company_name>Recurly Ruby Gem</company_name>
1204
+ <balance_in_cents type="integer">0</balance_in_cents>
1205
+ </account>
1206
+ </accounts>
1207
+
1208
+ http_version: "1.1"
1209
+ - !ruby/struct:VCR::HTTPInteraction
1210
+ request: !ruby/struct:VCR::Request
821
1211
  method: :get
822
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml?show=non_subscribers
823
- body: !!null
824
- headers:
825
- user-agent:
826
- - Recurly Ruby Client v0.4.10
827
- accept:
1212
+ uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml?show=non_subscribers
1213
+ body:
1214
+ headers:
1215
+ user-agent:
1216
+ - Recurly Ruby Client v0.4.13
1217
+ accept:
828
1218
  - application/xml
829
- accept-encoding:
1219
+ accept-encoding:
830
1220
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
831
- response: !ruby/struct:VCR::Response
832
- status: !ruby/struct:VCR::ResponseStatus
1221
+ response: !ruby/struct:VCR::Response
1222
+ status: !ruby/struct:VCR::ResponseStatus
833
1223
  code: 200
834
1224
  message: OK
835
- headers:
836
- content-type:
1225
+ headers:
1226
+ content-type:
837
1227
  - application/xml; charset=utf-8
838
- etag:
839
- - ! '"c9a3579b86e3ce686c3b34b8fe87f87d"'
840
- cache-control:
1228
+ etag:
1229
+ - "\"c9a3579b86e3ce686c3b34b8fe87f87d\""
1230
+ cache-control:
841
1231
  - max-age=0, private, must-revalidate
842
- x-ua-compatible:
1232
+ x-ua-compatible:
843
1233
  - IE=Edge
844
- set-cookie:
845
- - _recurly_session=ea4d76ad357a50b53501fe2a8f59e6e9; domain=.lvh.me; path=/;
846
- HttpOnly
847
- server:
1234
+ server:
848
1235
  - thin 1.2.11 codename Bat-Shit Crazy
849
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<accounts type=\"collection\">\n
850
- \ <current_page type=\"integer\">1</current_page>\n <per_page type=\"integer\">20</per_page>\n
851
- \ <total_entries type=\"integer\">7</total_entries>\n <account>\n <account_code>account-create-1313708721</account_code>\n
852
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
853
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
854
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
855
- \ <account>\n <account_code>account-get-1313708721</account_code>\n <username></username>\n
856
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
857
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
858
- \ </account>\n <account>\n <account_code>account-list-num-4-1313708721</account_code>\n
859
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
860
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
861
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
862
- \ <account>\n <account_code>account-list-num-5-1313708721</account_code>\n
863
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
864
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
865
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
866
- \ <account>\n <account_code>account-list-num-6-1313708721</account_code>\n
867
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
868
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
869
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
870
- \ <account>\n <account_code>account-list-num-7-1313708721</account_code>\n
871
- \ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
872
- \ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
873
- \ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
874
- \ <account>\n <account_code>d00d-1313708721</account_code>\n <username></username>\n
875
- \ <email></email>\n <first_name></first_name>\n <last_name></last_name>\n
876
- \ <company_name></company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
877
- \ </account>\n</accounts>\n"
878
- http_version: '1.1'
1236
+ body: |
1237
+ <?xml version="1.0" encoding="UTF-8"?>
1238
+ <accounts type="collection">
1239
+ <current_page type="integer">1</current_page>
1240
+ <per_page type="integer">20</per_page>
1241
+ <total_entries type="integer">7</total_entries>
1242
+ <account>
1243
+ <account_code>account-create-1313708721</account_code>
1244
+ <username></username>
1245
+ <email>verena@test.com</email>
1246
+ <first_name>Verena</first_name>
1247
+ <last_name>Test</last_name>
1248
+ <company_name>Recurly Ruby Gem</company_name>
1249
+ <balance_in_cents type="integer">0</balance_in_cents>
1250
+ </account>
1251
+ <account>
1252
+ <account_code>account-get-1313708721</account_code>
1253
+ <username></username>
1254
+ <email>verena@test.com</email>
1255
+ <first_name>Verena</first_name>
1256
+ <last_name>Test</last_name>
1257
+ <company_name>Recurly Ruby Gem</company_name>
1258
+ <balance_in_cents type="integer">0</balance_in_cents>
1259
+ </account>
1260
+ <account>
1261
+ <account_code>account-list-num-4-1313708721</account_code>
1262
+ <username></username>
1263
+ <email>verena@test.com</email>
1264
+ <first_name>Verena</first_name>
1265
+ <last_name>Test</last_name>
1266
+ <company_name>Recurly Ruby Gem</company_name>
1267
+ <balance_in_cents type="integer">0</balance_in_cents>
1268
+ </account>
1269
+ <account>
1270
+ <account_code>account-list-num-5-1313708721</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-list-num-6-1313708721</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-list-num-7-1313708721</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>d00d-1313708721</account_code>
1298
+ <username></username>
1299
+ <email></email>
1300
+ <first_name></first_name>
1301
+ <last_name></last_name>
1302
+ <company_name></company_name>
1303
+ <balance_in_cents type="integer">0</balance_in_cents>
1304
+ </account>
1305
+ </accounts>
1306
+
1307
+ http_version: "1.1"