recurly 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/lib/recurly.rb +8 -0
- data/lib/recurly/account.rb +5 -0
- data/lib/recurly/rails3/railtie.rb +9 -0
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/account_spec.rb +29 -1
- data/spec/integration/add_on_spec.rb +84 -0
- data/spec/vcr/account/accept-language-account/1294473653.yml +68 -0
- data/spec/vcr/account/accept-language-account/1294473761.yml +68 -0
- data/spec/vcr/account/accept-language/1294473117.yml +167 -0
- data/spec/vcr/account/close/{1288381765.yml → 1294473761.yml} +26 -25
- data/spec/vcr/account/create-blank/{1288381765.yml → 1294473761.yml} +5 -4
- data/spec/vcr/account/create-duplicate/{1288381765.yml → 1294473761.yml} +13 -11
- data/spec/vcr/account/create-min/{1288381765.yml → 1294473761.yml} +12 -11
- data/spec/vcr/account/create/{1288381765.yml → 1294473761.yml} +12 -11
- data/spec/vcr/account/find/{1288381765.yml → 1294473761.yml} +25 -24
- data/spec/vcr/account/list/{1288381765.yml → 1294473761.yml} +328 -287
- data/spec/vcr/account/update/{1288381765.yml → 1294473761.yml} +47 -45
- data/spec/vcr/billing/create/1286682213.yml +28 -27
- data/spec/vcr/billing/destroy/1286682213.yml +42 -41
- data/spec/vcr/billing/find/1286682213.yml +38 -37
- data/spec/vcr/billing/update/1286682213.yml +40 -39
- data/spec/vcr/charge/create/1287465632.yml +36 -35
- data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +36 -35
- data/spec/vcr/charge/list-all/1287465632.yml +43 -42
- data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -69
- data/spec/vcr/charge/list-pending/1287465632.yml +43 -42
- data/spec/vcr/charge/lookup/1287465632.yml +22 -21
- data/spec/vcr/credit/create/1287461400.yml +23 -22
- data/spec/vcr/credit/delete/1287461400.yml +33 -32
- data/spec/vcr/credit/list/1287461400.yml +43 -42
- data/spec/vcr/credit/lookup/1287461400.yml +24 -23
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +23 -22
- data/spec/vcr/invoice/create/1287167121.yml +48 -47
- data/spec/vcr/invoice/list/1287167121.yml +67 -66
- data/spec/vcr/invoice/lookup/1287167121.yml +50 -49
- data/spec/vcr/plan/all.yml +29 -17
- data/spec/vcr/plan/delete/1286677585.yml +21 -21
- data/spec/vcr/plan/find.yml +42 -18
- data/spec/vcr/plan/update.yml +17 -17
- data/spec/vcr/subscription/addons/add/1292420980.yml +479 -0
- data/spec/vcr/subscription/addons/create/1292420980.yml +318 -0
- data/spec/vcr/subscription/addons/remove/1292420980.yml +448 -0
- data/spec/vcr/subscription/cancel-with-code/1287455769.yml +93 -69
- data/spec/vcr/subscription/cancel/1287455769.yml +80 -58
- data/spec/vcr/subscription/change1/1287455769.yml +77 -55
- data/spec/vcr/subscription/change2/1287455769.yml +77 -55
- data/spec/vcr/subscription/create/1287455769.yml +43 -27
- data/spec/vcr/subscription/find/1287455769.yml +54 -36
- data/spec/vcr/subscription/reactivate/1287455769.yml +83 -61
- data/spec/vcr/subscription/refund-full/1287455769.yml +69 -51
- data/spec/vcr/subscription/refund-none/1287455769.yml +70 -52
- data/spec/vcr/subscription/refund-partial/1287455769.yml +70 -52
- data/spec/vcr/transaction/all/1289558212.yml +46 -46
- data/spec/vcr/transaction/create-no-account/1289558212.yml +11 -11
- data/spec/vcr/transaction/create-with-account/1289558212.yml +27 -26
- data/spec/vcr/transaction/list-filled/1289558212.yml +54 -53
- data/spec/vcr/transaction/list-initial/1289558212.yml +27 -26
- data/spec/vcr/transaction/lookup/1289558212.yml +64 -63
- data/spec/vcr/transaction/refund/1289558212.yml +35 -34
- data/spec/vcr/transaction/void/1289558212.yml +71 -70
- metadata +34 -20
@@ -7,8 +7,9 @@
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
9
|
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>account-close-
|
10
|
+
<account-code>account-close-1294473761</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
|
+
<accept-language type="yaml" nil="true"></accept-language>
|
12
13
|
<email>verena@test.com</email>
|
13
14
|
<first-name>Verena</first-name>
|
14
15
|
</account>
|
@@ -28,30 +29,30 @@
|
|
28
29
|
message: Created
|
29
30
|
headers:
|
30
31
|
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/account-close-
|
32
|
+
- https://recurlytest3-test.recurly.com/accounts/account-close-1294473761
|
32
33
|
connection:
|
33
34
|
- close
|
34
35
|
content-type:
|
35
36
|
- application/xml; charset=utf-8
|
36
37
|
x-runtime:
|
37
|
-
- "
|
38
|
+
- "351"
|
38
39
|
date:
|
39
|
-
-
|
40
|
+
- Sat, 08 Jan 2011 08:03:21 GMT
|
40
41
|
server:
|
41
|
-
- nginx/0.
|
42
|
+
- nginx/0.8.53
|
42
43
|
content-length:
|
43
44
|
- "581"
|
44
45
|
set-cookie:
|
45
|
-
- account_credentials=
|
46
|
+
- account_credentials=48b11df9d000407372bf439d15c0bb6a9f270783b3e93e44bfccc9ea96259ea740f6409917bf0dfe9ba7bf684f8b7d360632957ed6876ee01f82e853a8919cfa%3A%3A; domain=.recurly.com; path=/
|
46
47
|
- ""
|
47
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=bc4b1f4da2a7a6207f0c0252cd7c9180; domain=.recurly.com; path=/; secure; HttpOnly
|
48
49
|
cache-control:
|
49
50
|
- no-cache
|
50
51
|
body: |
|
51
52
|
<?xml version="1.0" encoding="UTF-8"?>
|
52
53
|
<account>
|
53
|
-
<id>account-close-
|
54
|
-
<account_code>account-close-
|
54
|
+
<id>account-close-1294473761</id>
|
55
|
+
<account_code>account-close-1294473761</account_code>
|
55
56
|
<username></username>
|
56
57
|
<email>verena@test.com</email>
|
57
58
|
<first_name>Verena</first_name>
|
@@ -59,8 +60,8 @@
|
|
59
60
|
<company_name>Recurly Ruby Gem</company_name>
|
60
61
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
62
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">
|
63
|
+
<hosted_login_token>6f6e4b24cbe24477af25fbe9d15bfa57</hosted_login_token>
|
64
|
+
<created_at type="datetime">2011-01-08T08:03:21Z</created_at>
|
64
65
|
<state>active</state>
|
65
66
|
</account>
|
66
67
|
|
@@ -68,7 +69,7 @@
|
|
68
69
|
- !ruby/struct:VCR::HTTPInteraction
|
69
70
|
request: !ruby/struct:VCR::Request
|
70
71
|
method: :delete
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-
|
72
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-1294473761.xml
|
72
73
|
body:
|
73
74
|
headers:
|
74
75
|
accept:
|
@@ -89,15 +90,15 @@
|
|
89
90
|
content-type:
|
90
91
|
- application/xml; charset=utf-8
|
91
92
|
x-runtime:
|
92
|
-
- "
|
93
|
+
- "40"
|
93
94
|
date:
|
94
|
-
-
|
95
|
+
- Sat, 08 Jan 2011 08:03:22 GMT
|
95
96
|
server:
|
96
|
-
- nginx/0.
|
97
|
+
- nginx/0.8.53
|
97
98
|
content-length:
|
98
99
|
- "1"
|
99
100
|
set-cookie:
|
100
|
-
- _recurly_session=
|
101
|
+
- _recurly_session=1df9f4455a0e476facb3ac0c1f1929b2; domain=.recurly.com; path=/; secure; HttpOnly
|
101
102
|
cache-control:
|
102
103
|
- no-cache
|
103
104
|
body: " "
|
@@ -105,7 +106,7 @@
|
|
105
106
|
- !ruby/struct:VCR::HTTPInteraction
|
106
107
|
request: !ruby/struct:VCR::Request
|
107
108
|
method: :get
|
108
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-
|
109
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-1294473761.xml
|
109
110
|
body:
|
110
111
|
headers:
|
111
112
|
accept:
|
@@ -122,7 +123,7 @@
|
|
122
123
|
x-ua-compatible:
|
123
124
|
- IE=Edge
|
124
125
|
etag:
|
125
|
-
- "\"
|
126
|
+
- "\"f4e2aa63ff4e056f9c7f3a899778edd0\""
|
126
127
|
connection:
|
127
128
|
- close
|
128
129
|
content-type:
|
@@ -130,20 +131,20 @@
|
|
130
131
|
x-runtime:
|
131
132
|
- "29"
|
132
133
|
date:
|
133
|
-
-
|
134
|
+
- Sat, 08 Jan 2011 08:03:23 GMT
|
134
135
|
server:
|
135
|
-
- nginx/0.
|
136
|
+
- nginx/0.8.53
|
136
137
|
content-length:
|
137
138
|
- "580"
|
138
139
|
set-cookie:
|
139
|
-
- _recurly_session=
|
140
|
+
- _recurly_session=9c6a0603039991d3d326372fff7ec378; domain=.recurly.com; path=/; secure; HttpOnly
|
140
141
|
cache-control:
|
141
142
|
- private, max-age=0, must-revalidate
|
142
143
|
body: |
|
143
144
|
<?xml version="1.0" encoding="UTF-8"?>
|
144
145
|
<account>
|
145
|
-
<id>account-close-
|
146
|
-
<account_code>account-close-
|
146
|
+
<id>account-close-1294473761</id>
|
147
|
+
<account_code>account-close-1294473761</account_code>
|
147
148
|
<username></username>
|
148
149
|
<email>verena@test.com</email>
|
149
150
|
<first_name>Verena</first_name>
|
@@ -151,8 +152,8 @@
|
|
151
152
|
<company_name>Recurly Ruby Gem</company_name>
|
152
153
|
<balance_in_cents type="integer">0</balance_in_cents>
|
153
154
|
<closed type="boolean">true</closed>
|
154
|
-
<hosted_login_token>
|
155
|
-
<created_at type="datetime">
|
155
|
+
<hosted_login_token>6f6e4b24cbe24477af25fbe9d15bfa57</hosted_login_token>
|
156
|
+
<created_at type="datetime">2011-01-08T08:03:21Z</created_at>
|
156
157
|
<state>closed</state>
|
157
158
|
</account>
|
158
159
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
9
|
<account-code></account-code>
|
10
|
+
<accept-language type="yaml" nil="true"></accept-language>
|
10
11
|
</account>
|
11
12
|
|
12
13
|
headers:
|
@@ -28,15 +29,15 @@
|
|
28
29
|
content-type:
|
29
30
|
- application/xml; charset=utf-8
|
30
31
|
x-runtime:
|
31
|
-
- "
|
32
|
+
- "19"
|
32
33
|
date:
|
33
|
-
-
|
34
|
+
- Sat, 08 Jan 2011 08:03:24 GMT
|
34
35
|
server:
|
35
|
-
- nginx/0.
|
36
|
+
- nginx/0.8.53
|
36
37
|
content-length:
|
37
38
|
- "186"
|
38
39
|
set-cookie:
|
39
|
-
- _recurly_session=
|
40
|
+
- _recurly_session=83935f90e5d9717a7857062791b0a7ef; domain=.recurly.com; path=/; secure; HttpOnly
|
40
41
|
cache-control:
|
41
42
|
- no-cache
|
42
43
|
body: |
|
@@ -7,6 +7,7 @@
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
9
|
<account-code>account-exists</account-code>
|
10
|
+
<accept-language type="yaml" nil="true"></accept-language>
|
10
11
|
</account>
|
11
12
|
|
12
13
|
headers:
|
@@ -30,17 +31,17 @@
|
|
30
31
|
content-type:
|
31
32
|
- application/xml; charset=utf-8
|
32
33
|
x-runtime:
|
33
|
-
- "
|
34
|
+
- "422"
|
34
35
|
date:
|
35
|
-
-
|
36
|
+
- Sat, 08 Jan 2011 08:03:25 GMT
|
36
37
|
server:
|
37
|
-
- nginx/0.
|
38
|
+
- nginx/0.8.53
|
38
39
|
content-length:
|
39
40
|
- "520"
|
40
41
|
set-cookie:
|
41
|
-
- account_credentials=
|
42
|
+
- account_credentials=20b2064648d897ee1e609d4f57cc96904d5a8d4b8adff3d19bc4080f9232c5f355f1ce8d3383f94d8ad3c7b40cc32f592fd97149245be93253ae01dc89478647%3A%3A; domain=.recurly.com; path=/
|
42
43
|
- ""
|
43
|
-
- _recurly_session=
|
44
|
+
- _recurly_session=7a5e714ee160474edd6d33d53623f6c8; domain=.recurly.com; path=/; secure; HttpOnly
|
44
45
|
cache-control:
|
45
46
|
- no-cache
|
46
47
|
body: |
|
@@ -55,8 +56,8 @@
|
|
55
56
|
<company_name></company_name>
|
56
57
|
<balance_in_cents type="integer">0</balance_in_cents>
|
57
58
|
<closed type="boolean">false</closed>
|
58
|
-
<hosted_login_token>
|
59
|
-
<created_at type="datetime">
|
59
|
+
<hosted_login_token>aaef6e2a471b46208b1d061fc691015f</hosted_login_token>
|
60
|
+
<created_at type="datetime">2011-01-08T08:03:25Z</created_at>
|
60
61
|
<state>active</state>
|
61
62
|
</account>
|
62
63
|
|
@@ -69,6 +70,7 @@
|
|
69
70
|
<?xml version="1.0" encoding="UTF-8"?>
|
70
71
|
<account>
|
71
72
|
<account-code>account-exists</account-code>
|
73
|
+
<accept-language type="yaml" nil="true"></accept-language>
|
72
74
|
</account>
|
73
75
|
|
74
76
|
headers:
|
@@ -90,15 +92,15 @@
|
|
90
92
|
content-type:
|
91
93
|
- application/xml; charset=utf-8
|
92
94
|
x-runtime:
|
93
|
-
- "
|
95
|
+
- "19"
|
94
96
|
date:
|
95
|
-
-
|
97
|
+
- Sat, 08 Jan 2011 08:03:26 GMT
|
96
98
|
server:
|
97
|
-
- nginx/0.
|
99
|
+
- nginx/0.8.53
|
98
100
|
content-length:
|
99
101
|
- "132"
|
100
102
|
set-cookie:
|
101
|
-
- _recurly_session=
|
103
|
+
- _recurly_session=d44b2ca9d73ab2bdbd31ed9f98639712; domain=.recurly.com; path=/; secure; HttpOnly
|
102
104
|
cache-control:
|
103
105
|
- no-cache
|
104
106
|
body: |
|
@@ -6,7 +6,8 @@
|
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
|
-
<account-code>d00d-
|
9
|
+
<account-code>d00d-1294473761</account-code>
|
10
|
+
<accept-language type="yaml" nil="true"></accept-language>
|
10
11
|
</account>
|
11
12
|
|
12
13
|
headers:
|
@@ -24,30 +25,30 @@
|
|
24
25
|
message: Created
|
25
26
|
headers:
|
26
27
|
location:
|
27
|
-
- https://recurlytest3-test.recurly.com/accounts/d00d-
|
28
|
+
- https://recurlytest3-test.recurly.com/accounts/d00d-1294473761
|
28
29
|
connection:
|
29
30
|
- close
|
30
31
|
content-type:
|
31
32
|
- application/xml; charset=utf-8
|
32
33
|
x-runtime:
|
33
|
-
- "
|
34
|
+
- "354"
|
34
35
|
date:
|
35
|
-
-
|
36
|
+
- Sat, 08 Jan 2011 08:02:49 GMT
|
36
37
|
server:
|
37
|
-
- nginx/0.
|
38
|
+
- nginx/0.8.53
|
38
39
|
content-length:
|
39
40
|
- "522"
|
40
41
|
set-cookie:
|
41
|
-
- account_credentials=
|
42
|
+
- account_credentials=ef789125be12e017d91e4648d1afcb13ea0d6b00012deccedbb5af4771d4b954be5c5a2fec20fbd4c314be1c98355492a76a95c212a5bc990a71505b67eab55a%3A%3A; domain=.recurly.com; path=/
|
42
43
|
- ""
|
43
|
-
- _recurly_session=
|
44
|
+
- _recurly_session=d19aba13359d431507227187e3ea4678; domain=.recurly.com; path=/; secure; HttpOnly
|
44
45
|
cache-control:
|
45
46
|
- no-cache
|
46
47
|
body: |
|
47
48
|
<?xml version="1.0" encoding="UTF-8"?>
|
48
49
|
<account>
|
49
|
-
<id>d00d-
|
50
|
-
<account_code>d00d-
|
50
|
+
<id>d00d-1294473761</id>
|
51
|
+
<account_code>d00d-1294473761</account_code>
|
51
52
|
<username></username>
|
52
53
|
<email></email>
|
53
54
|
<first_name></first_name>
|
@@ -55,8 +56,8 @@
|
|
55
56
|
<company_name></company_name>
|
56
57
|
<balance_in_cents type="integer">0</balance_in_cents>
|
57
58
|
<closed type="boolean">false</closed>
|
58
|
-
<hosted_login_token>
|
59
|
-
<created_at type="datetime">
|
59
|
+
<hosted_login_token>6ffab820d54b4153ba13c01069d32943</hosted_login_token>
|
60
|
+
<created_at type="datetime">2011-01-08T08:02:49Z</created_at>
|
60
61
|
<state>active</state>
|
61
62
|
</account>
|
62
63
|
|
@@ -7,8 +7,9 @@
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
9
|
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>account-create-
|
10
|
+
<account-code>account-create-1294473761</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
|
+
<accept-language type="yaml" nil="true"></accept-language>
|
12
13
|
<email>verena@test.com</email>
|
13
14
|
<first-name>Verena</first-name>
|
14
15
|
</account>
|
@@ -28,30 +29,30 @@
|
|
28
29
|
message: Created
|
29
30
|
headers:
|
30
31
|
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/account-create-
|
32
|
+
- https://recurlytest3-test.recurly.com/accounts/account-create-1294473761
|
32
33
|
connection:
|
33
34
|
- close
|
34
35
|
content-type:
|
35
36
|
- application/xml; charset=utf-8
|
36
37
|
x-runtime:
|
37
|
-
- "
|
38
|
+
- "454"
|
38
39
|
date:
|
39
|
-
-
|
40
|
+
- Sat, 08 Jan 2011 08:02:46 GMT
|
40
41
|
server:
|
41
|
-
- nginx/0.
|
42
|
+
- nginx/0.8.53
|
42
43
|
content-length:
|
43
44
|
- "583"
|
44
45
|
set-cookie:
|
45
|
-
- account_credentials=
|
46
|
+
- account_credentials=0f99d095c38feb22ea3b31df000529183641583f23287c77695380802c63383bd98f300223bf78762d854a3da980f1256ca3ecfe1cc37663aaded29cd8e6ee39%3A%3A; domain=.recurly.com; path=/
|
46
47
|
- ""
|
47
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=4dc878db023909291b705bf15c9c7aad; domain=.recurly.com; path=/; secure; HttpOnly
|
48
49
|
cache-control:
|
49
50
|
- no-cache
|
50
51
|
body: |
|
51
52
|
<?xml version="1.0" encoding="UTF-8"?>
|
52
53
|
<account>
|
53
|
-
<id>account-create-
|
54
|
-
<account_code>account-create-
|
54
|
+
<id>account-create-1294473761</id>
|
55
|
+
<account_code>account-create-1294473761</account_code>
|
55
56
|
<username></username>
|
56
57
|
<email>verena@test.com</email>
|
57
58
|
<first_name>Verena</first_name>
|
@@ -59,8 +60,8 @@
|
|
59
60
|
<company_name>Recurly Ruby Gem</company_name>
|
60
61
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
62
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">
|
63
|
+
<hosted_login_token>89b8c00b370b46e880b69dc6d5d60493</hosted_login_token>
|
64
|
+
<created_at type="datetime">2011-01-08T08:02:46Z</created_at>
|
64
65
|
<state>active</state>
|
65
66
|
</account>
|
66
67
|
|
@@ -7,8 +7,9 @@
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
9
|
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>account-get-
|
10
|
+
<account-code>account-get-1294473761</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
|
+
<accept-language type="yaml" nil="true"></accept-language>
|
12
13
|
<email>verena@test.com</email>
|
13
14
|
<first-name>Verena</first-name>
|
14
15
|
</account>
|
@@ -28,30 +29,30 @@
|
|
28
29
|
message: Created
|
29
30
|
headers:
|
30
31
|
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/account-get-
|
32
|
+
- https://recurlytest3-test.recurly.com/accounts/account-get-1294473761
|
32
33
|
content-type:
|
33
34
|
- application/xml; charset=utf-8
|
34
35
|
connection:
|
35
36
|
- close
|
36
37
|
server:
|
37
|
-
- nginx/0.
|
38
|
+
- nginx/0.8.53
|
38
39
|
date:
|
39
|
-
-
|
40
|
+
- Sat, 08 Jan 2011 08:02:50 GMT
|
40
41
|
x-runtime:
|
41
|
-
- "
|
42
|
+
- "349"
|
42
43
|
content-length:
|
43
44
|
- "577"
|
44
45
|
set-cookie:
|
45
|
-
- account_credentials=
|
46
|
+
- account_credentials=0eaa961126a432078ede73ff4ac656aa78a4e915e339552724c545aa261e4516162cb5424cb81aa1b678701797a8c53d0626fac083cbffcf867253912fa90980%3A%3A; domain=.recurly.com; path=/
|
46
47
|
- ""
|
47
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=4ec5249453780a18c532bf124ce9a12e; domain=.recurly.com; path=/; secure; HttpOnly
|
48
49
|
cache-control:
|
49
50
|
- no-cache
|
50
51
|
body: |
|
51
52
|
<?xml version="1.0" encoding="UTF-8"?>
|
52
53
|
<account>
|
53
|
-
<id>account-get-
|
54
|
-
<account_code>account-get-
|
54
|
+
<id>account-get-1294473761</id>
|
55
|
+
<account_code>account-get-1294473761</account_code>
|
55
56
|
<username></username>
|
56
57
|
<email>verena@test.com</email>
|
57
58
|
<first_name>Verena</first_name>
|
@@ -59,8 +60,8 @@
|
|
59
60
|
<company_name>Recurly Ruby Gem</company_name>
|
60
61
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
62
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">
|
63
|
+
<hosted_login_token>fe8210afec3a463d93c13c377b256cb8</hosted_login_token>
|
64
|
+
<created_at type="datetime">2011-01-08T08:02:50Z</created_at>
|
64
65
|
<state>active</state>
|
65
66
|
</account>
|
66
67
|
|
@@ -68,7 +69,7 @@
|
|
68
69
|
- !ruby/struct:VCR::HTTPInteraction
|
69
70
|
request: !ruby/struct:VCR::Request
|
70
71
|
method: :get
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-get-
|
72
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-get-1294473761.xml
|
72
73
|
body:
|
73
74
|
headers:
|
74
75
|
accept:
|
@@ -85,28 +86,28 @@
|
|
85
86
|
x-ua-compatible:
|
86
87
|
- IE=Edge
|
87
88
|
etag:
|
88
|
-
- "\"
|
89
|
+
- "\"c4a43c689c3fcab3f8c0c1ec65fcd2c8\""
|
89
90
|
content-type:
|
90
91
|
- application/xml; charset=utf-8
|
91
92
|
connection:
|
92
93
|
- close
|
93
94
|
server:
|
94
|
-
- nginx/0.
|
95
|
+
- nginx/0.8.53
|
95
96
|
date:
|
96
|
-
-
|
97
|
+
- Sat, 08 Jan 2011 08:02:51 GMT
|
97
98
|
x-runtime:
|
98
|
-
- "
|
99
|
+
- "31"
|
99
100
|
content-length:
|
100
101
|
- "577"
|
101
102
|
set-cookie:
|
102
|
-
- _recurly_session=
|
103
|
+
- _recurly_session=0e8871c32884f6a65c609194343b2aa0; domain=.recurly.com; path=/; secure; HttpOnly
|
103
104
|
cache-control:
|
104
105
|
- private, max-age=0, must-revalidate
|
105
106
|
body: |
|
106
107
|
<?xml version="1.0" encoding="UTF-8"?>
|
107
108
|
<account>
|
108
|
-
<id>account-get-
|
109
|
-
<account_code>account-get-
|
109
|
+
<id>account-get-1294473761</id>
|
110
|
+
<account_code>account-get-1294473761</account_code>
|
110
111
|
<username></username>
|
111
112
|
<email>verena@test.com</email>
|
112
113
|
<first_name>Verena</first_name>
|
@@ -114,8 +115,8 @@
|
|
114
115
|
<company_name>Recurly Ruby Gem</company_name>
|
115
116
|
<balance_in_cents type="integer">0</balance_in_cents>
|
116
117
|
<closed type="boolean">false</closed>
|
117
|
-
<hosted_login_token>
|
118
|
-
<created_at type="datetime">
|
118
|
+
<hosted_login_token>fe8210afec3a463d93c13c377b256cb8</hosted_login_token>
|
119
|
+
<created_at type="datetime">2011-01-08T08:02:50Z</created_at>
|
119
120
|
<state>active</state>
|
120
121
|
</account>
|
121
122
|
|
@@ -142,13 +143,13 @@
|
|
142
143
|
content-type:
|
143
144
|
- application/xml; charset=utf-8
|
144
145
|
date:
|
145
|
-
-
|
146
|
+
- Sat, 08 Jan 2011 08:02:52 GMT
|
146
147
|
server:
|
147
|
-
- nginx/0.
|
148
|
+
- nginx/0.8.53
|
148
149
|
content-length:
|
149
150
|
- "93"
|
150
151
|
set-cookie:
|
151
|
-
- _recurly_session=
|
152
|
+
- _recurly_session=6f7441435a273c3d8b75004865b9ae47; domain=.recurly.com; path=/; secure; HttpOnly
|
152
153
|
cache-control:
|
153
154
|
- no-cache
|
154
155
|
body: |
|