recurly 0.2.4 → 0.2.5
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/charge.rb +5 -6
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/charge_spec.rb +1 -0
- data/spec/vcr/account/close/1287167046.yml +15 -15
- data/spec/vcr/account/create-blank/1287167046.yml +3 -3
- data/spec/vcr/account/create-duplicate/1287167046.yml +9 -9
- data/spec/vcr/account/create-min/1287167046.yml +6 -6
- data/spec/vcr/account/create/1287167046.yml +6 -6
- data/spec/vcr/account/find/1287167046.yml +14 -14
- data/spec/vcr/account/list/1287167046.yml +100 -100
- data/spec/vcr/account/update/1287167046.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +16 -16
- data/spec/vcr/billing/destroy/1286682213.yml +24 -24
- data/spec/vcr/billing/find/1286682213.yml +20 -20
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/{1286681273.yml → 1287465632.yml} +35 -35
- data/spec/vcr/charge/delete-uninvoiced/{1287460783.yml → 1287465632.yml} +102 -56
- data/spec/vcr/charge/list-all/{1286681273.yml → 1287465632.yml} +51 -51
- data/spec/vcr/charge/list-invoiced/{1286681273.yml → 1287465632.yml} +80 -80
- data/spec/vcr/charge/list-pending/{1286681273.yml → 1287465632.yml} +51 -51
- data/spec/vcr/charge/lookup/{1286681273.yml → 1287465632.yml} +27 -27
- data/spec/vcr/credit/create/{1287461340.yml → 1287461400.yml} +25 -25
- data/spec/vcr/credit/{delete-uninvoiced/1287460732.yml → delete/1287461400.yml} +34 -34
- data/spec/vcr/credit/list/{1287460732.yml → 1287461400.yml} +50 -50
- data/spec/vcr/credit/lookup/{1287461340.yml → 1287461400.yml} +26 -26
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
- data/spec/vcr/invoice/create/1287167121.yml +36 -36
- data/spec/vcr/invoice/list/1287167121.yml +51 -51
- data/spec/vcr/invoice/lookup/1287167121.yml +37 -37
- data/spec/vcr/plan/all.yml +9 -9
- data/spec/vcr/plan/delete/1286677585.yml +16 -16
- data/spec/vcr/plan/find.yml +9 -9
- data/spec/vcr/plan/update.yml +9 -9
- data/spec/vcr/subscription/cancel-with-code/1287455769.yml +51 -51
- data/spec/vcr/subscription/cancel/1287455769.yml +42 -42
- data/spec/vcr/subscription/change1/1287455769.yml +38 -38
- data/spec/vcr/subscription/change2/1287455769.yml +38 -38
- data/spec/vcr/subscription/create/1287455769.yml +17 -17
- data/spec/vcr/subscription/find/1287455769.yml +24 -24
- data/spec/vcr/subscription/reactivate/1287455769.yml +44 -44
- data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
- data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
- data/spec/vcr/subscription/refund-partial/1287455769.yml +36 -36
- data/spec/vcr/transaction/all/1287186411.yml +45 -45
- data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
- data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
- data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
- data/spec/vcr/transaction/refund/1287186411.yml +24 -24
- data/spec/vcr/transaction/void/1287186411.yml +61 -61
- metadata +23 -43
- data/spec/vcr/credit/create/1286681343.yml +0 -171
- data/spec/vcr/credit/create/1287460732.yml +0 -171
- data/spec/vcr/credit/delete-invoiced/1287460732.yml +0 -233
- data/spec/vcr/credit/delete-invoiced/1287461340.yml +0 -283
- data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +0 -246
- data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +0 -221
- data/spec/vcr/credit/list/1286681343.yml +0 -299
- data/spec/vcr/credit/list/1287461340.yml +0 -299
- data/spec/vcr/credit/lookup/1286681343.yml +0 -171
- data/spec/vcr/credit/lookup/1287460732.yml +0 -171
@@ -1,171 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>credit-create-1286681343</account-code>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<first-name>Verena</first-name>
|
14
|
-
</account>
|
15
|
-
|
16
|
-
headers:
|
17
|
-
accept:
|
18
|
-
- "*/*"
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
content-type:
|
22
|
-
- application/xml
|
23
|
-
authorization:
|
24
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
25
|
-
response: !ruby/struct:VCR::Response
|
26
|
-
status: !ruby/struct:VCR::ResponseStatus
|
27
|
-
code: 201
|
28
|
-
message: Created
|
29
|
-
headers:
|
30
|
-
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/credit-create-1286681343
|
32
|
-
connection:
|
33
|
-
- close
|
34
|
-
content-type:
|
35
|
-
- application/xml; charset=utf-8
|
36
|
-
x-runtime:
|
37
|
-
- "586"
|
38
|
-
date:
|
39
|
-
- Tue, 19 Oct 2010 03:19:37 GMT
|
40
|
-
server:
|
41
|
-
- nginx/0.7.65
|
42
|
-
content-length:
|
43
|
-
- "581"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=4b163c2630be63f59483c72f96a1d8543901977abf63136ec9a146287e2446bc797c05f7c2c9f183db36611100410d6b4686c204a11f794327f188df5696c5e4%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=07f8dd9c0ade135270ba25af10ec88f2; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
|
-
cache-control:
|
49
|
-
- no-cache
|
50
|
-
body: |
|
51
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
-
<account>
|
53
|
-
<id>credit-create-1286681343</id>
|
54
|
-
<account_code>credit-create-1286681343</account_code>
|
55
|
-
<username></username>
|
56
|
-
<email>verena@test.com</email>
|
57
|
-
<first_name>Verena</first_name>
|
58
|
-
<last_name>Test</last_name>
|
59
|
-
<company_name>Recurly Ruby Gem</company_name>
|
60
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
61
|
-
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>de43179393dd4301a105a8b5a1db62e5</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-19T03:19:37Z</created_at>
|
64
|
-
<state>active</state>
|
65
|
-
</account>
|
66
|
-
|
67
|
-
http_version: "1.1"
|
68
|
-
- !ruby/struct:VCR::HTTPInteraction
|
69
|
-
request: !ruby/struct:VCR::Request
|
70
|
-
method: :post
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1286681343/credits.xml
|
72
|
-
body: |
|
73
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
-
<credit>
|
75
|
-
<amount type="float">10.05</amount>
|
76
|
-
<description>free moniez</description>
|
77
|
-
</credit>
|
78
|
-
|
79
|
-
headers:
|
80
|
-
accept:
|
81
|
-
- "*/*"
|
82
|
-
connection:
|
83
|
-
- close
|
84
|
-
content-type:
|
85
|
-
- application/xml
|
86
|
-
authorization:
|
87
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
88
|
-
response: !ruby/struct:VCR::Response
|
89
|
-
status: !ruby/struct:VCR::ResponseStatus
|
90
|
-
code: 201
|
91
|
-
message: Created
|
92
|
-
headers:
|
93
|
-
connection:
|
94
|
-
- close
|
95
|
-
content-type:
|
96
|
-
- application/xml; charset=utf-8
|
97
|
-
x-runtime:
|
98
|
-
- "48"
|
99
|
-
date:
|
100
|
-
- Tue, 19 Oct 2010 03:19:38 GMT
|
101
|
-
server:
|
102
|
-
- nginx/0.7.65
|
103
|
-
content-length:
|
104
|
-
- "450"
|
105
|
-
set-cookie:
|
106
|
-
- _recurly_session=b8be68d24dca52d43ad4d36f6341d30d; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
|
-
cache-control:
|
108
|
-
- no-cache
|
109
|
-
body: |
|
110
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
111
|
-
<credit type="credit">
|
112
|
-
<id>2512059ac4c94d5aba9c608d08197e40</id>
|
113
|
-
<account_code>credit-create-1286681343</account_code>
|
114
|
-
<amount_in_cents type="integer">-1005</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-19T03:19:37Z</start_date>
|
116
|
-
<end_date nil="true" type="datetime"></end_date>
|
117
|
-
<description>free moniez</description>
|
118
|
-
<created_at type="datetime">2010-10-19T03:19:37Z</created_at>
|
119
|
-
</credit>
|
120
|
-
|
121
|
-
http_version: "1.1"
|
122
|
-
- !ruby/struct:VCR::HTTPInteraction
|
123
|
-
request: !ruby/struct:VCR::Request
|
124
|
-
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1286681343/credits/2512059ac4c94d5aba9c608d08197e40.xml
|
126
|
-
body:
|
127
|
-
headers:
|
128
|
-
accept:
|
129
|
-
- application/xml
|
130
|
-
connection:
|
131
|
-
- close
|
132
|
-
authorization:
|
133
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
134
|
-
response: !ruby/struct:VCR::Response
|
135
|
-
status: !ruby/struct:VCR::ResponseStatus
|
136
|
-
code: 200
|
137
|
-
message: OK
|
138
|
-
headers:
|
139
|
-
x-ua-compatible:
|
140
|
-
- IE=Edge
|
141
|
-
etag:
|
142
|
-
- "\"42ff6385f148c3d11ae0d0a108cb6885\""
|
143
|
-
connection:
|
144
|
-
- close
|
145
|
-
content-type:
|
146
|
-
- application/xml; charset=utf-8
|
147
|
-
x-runtime:
|
148
|
-
- "24"
|
149
|
-
date:
|
150
|
-
- Tue, 19 Oct 2010 03:19:38 GMT
|
151
|
-
server:
|
152
|
-
- nginx/0.7.65
|
153
|
-
content-length:
|
154
|
-
- "450"
|
155
|
-
set-cookie:
|
156
|
-
- _recurly_session=f396661d9bf16a2b1dd071660bdca81e; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
|
-
cache-control:
|
158
|
-
- private, max-age=0, must-revalidate
|
159
|
-
body: |
|
160
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
161
|
-
<credit type="credit">
|
162
|
-
<id>2512059ac4c94d5aba9c608d08197e40</id>
|
163
|
-
<account_code>credit-create-1286681343</account_code>
|
164
|
-
<amount_in_cents type="integer">-1005</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-19T03:19:37Z</start_date>
|
166
|
-
<end_date nil="true" type="datetime"></end_date>
|
167
|
-
<description>free moniez</description>
|
168
|
-
<created_at type="datetime">2010-10-19T03:19:37Z</created_at>
|
169
|
-
</credit>
|
170
|
-
|
171
|
-
http_version: "1.1"
|
@@ -1,171 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<account-code>credit-create-1287460732</account-code>
|
10
|
-
<company-name>Recurly Ruby Gem</company-name>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<first-name>Verena</first-name>
|
14
|
-
</account>
|
15
|
-
|
16
|
-
headers:
|
17
|
-
accept:
|
18
|
-
- "*/*"
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
content-type:
|
22
|
-
- application/xml
|
23
|
-
authorization:
|
24
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
25
|
-
response: !ruby/struct:VCR::Response
|
26
|
-
status: !ruby/struct:VCR::ResponseStatus
|
27
|
-
code: 201
|
28
|
-
message: Created
|
29
|
-
headers:
|
30
|
-
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/credit-create-1287460732
|
32
|
-
connection:
|
33
|
-
- close
|
34
|
-
content-type:
|
35
|
-
- application/xml; charset=utf-8
|
36
|
-
x-runtime:
|
37
|
-
- "595"
|
38
|
-
date:
|
39
|
-
- Tue, 19 Oct 2010 04:07:42 GMT
|
40
|
-
server:
|
41
|
-
- nginx/0.7.65
|
42
|
-
content-length:
|
43
|
-
- "581"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=60dba90b000276ef026ae01900e125637133da3774e926c7bbfc56a49bae7761a49bfb36b3261b20f4c951c672baff0758edb3b7acdd3960eb2b9e82cbec4d4d%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=9ed5901fc165dfc9548f328d9b0c36ac; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
|
-
cache-control:
|
49
|
-
- no-cache
|
50
|
-
body: |
|
51
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
-
<account>
|
53
|
-
<id>credit-create-1287460732</id>
|
54
|
-
<account_code>credit-create-1287460732</account_code>
|
55
|
-
<username></username>
|
56
|
-
<email>verena@test.com</email>
|
57
|
-
<first_name>Verena</first_name>
|
58
|
-
<last_name>Test</last_name>
|
59
|
-
<company_name>Recurly Ruby Gem</company_name>
|
60
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
61
|
-
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>bd2fcb83409b440f960e427dbee0dca6</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-19T04:07:42Z</created_at>
|
64
|
-
<state>active</state>
|
65
|
-
</account>
|
66
|
-
|
67
|
-
http_version: "1.1"
|
68
|
-
- !ruby/struct:VCR::HTTPInteraction
|
69
|
-
request: !ruby/struct:VCR::Request
|
70
|
-
method: :post
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287460732/credits.xml
|
72
|
-
body: |
|
73
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
-
<credit>
|
75
|
-
<amount type="float">10.05</amount>
|
76
|
-
<description>free moniez</description>
|
77
|
-
</credit>
|
78
|
-
|
79
|
-
headers:
|
80
|
-
accept:
|
81
|
-
- "*/*"
|
82
|
-
connection:
|
83
|
-
- close
|
84
|
-
content-type:
|
85
|
-
- application/xml
|
86
|
-
authorization:
|
87
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
88
|
-
response: !ruby/struct:VCR::Response
|
89
|
-
status: !ruby/struct:VCR::ResponseStatus
|
90
|
-
code: 201
|
91
|
-
message: Created
|
92
|
-
headers:
|
93
|
-
connection:
|
94
|
-
- close
|
95
|
-
content-type:
|
96
|
-
- application/xml; charset=utf-8
|
97
|
-
x-runtime:
|
98
|
-
- "67"
|
99
|
-
date:
|
100
|
-
- Tue, 19 Oct 2010 04:07:43 GMT
|
101
|
-
server:
|
102
|
-
- nginx/0.7.65
|
103
|
-
content-length:
|
104
|
-
- "450"
|
105
|
-
set-cookie:
|
106
|
-
- _recurly_session=8d6aaeb288c181f4e1775def03661b0a; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
|
-
cache-control:
|
108
|
-
- no-cache
|
109
|
-
body: |
|
110
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
111
|
-
<credit type="credit">
|
112
|
-
<id>f412a15ac5894ad0bdb4c86ea7be3a9a</id>
|
113
|
-
<account_code>credit-create-1287460732</account_code>
|
114
|
-
<amount_in_cents type="integer">-1005</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-19T04:07:43Z</start_date>
|
116
|
-
<end_date nil="true" type="datetime"></end_date>
|
117
|
-
<description>free moniez</description>
|
118
|
-
<created_at type="datetime">2010-10-19T04:07:43Z</created_at>
|
119
|
-
</credit>
|
120
|
-
|
121
|
-
http_version: "1.1"
|
122
|
-
- !ruby/struct:VCR::HTTPInteraction
|
123
|
-
request: !ruby/struct:VCR::Request
|
124
|
-
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287460732/credits/f412a15ac5894ad0bdb4c86ea7be3a9a.xml
|
126
|
-
body:
|
127
|
-
headers:
|
128
|
-
accept:
|
129
|
-
- application/xml
|
130
|
-
connection:
|
131
|
-
- close
|
132
|
-
authorization:
|
133
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
134
|
-
response: !ruby/struct:VCR::Response
|
135
|
-
status: !ruby/struct:VCR::ResponseStatus
|
136
|
-
code: 200
|
137
|
-
message: OK
|
138
|
-
headers:
|
139
|
-
x-ua-compatible:
|
140
|
-
- IE=Edge
|
141
|
-
etag:
|
142
|
-
- "\"2bf126b1782a5cb4c8ecafd72a1239f1\""
|
143
|
-
connection:
|
144
|
-
- close
|
145
|
-
content-type:
|
146
|
-
- application/xml; charset=utf-8
|
147
|
-
x-runtime:
|
148
|
-
- "15"
|
149
|
-
date:
|
150
|
-
- Tue, 19 Oct 2010 04:07:43 GMT
|
151
|
-
server:
|
152
|
-
- nginx/0.7.65
|
153
|
-
content-length:
|
154
|
-
- "450"
|
155
|
-
set-cookie:
|
156
|
-
- _recurly_session=20a7d297b583f601c1c314d809e2bc40; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
|
-
cache-control:
|
158
|
-
- private, max-age=0, must-revalidate
|
159
|
-
body: |
|
160
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
161
|
-
<credit type="credit">
|
162
|
-
<id>f412a15ac5894ad0bdb4c86ea7be3a9a</id>
|
163
|
-
<account_code>credit-create-1287460732</account_code>
|
164
|
-
<amount_in_cents type="integer">-1005</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-19T04:07:43Z</start_date>
|
166
|
-
<end_date nil="true" type="datetime"></end_date>
|
167
|
-
<description>free moniez</description>
|
168
|
-
<created_at type="datetime">2010-10-19T04:07:43Z</created_at>
|
169
|
-
</credit>
|
170
|
-
|
171
|
-
http_version: "1.1"
|
@@ -1,233 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<account-code>delete-invoiced-1287460732</account-code>
|
10
|
-
<company-name>Recurly Ruby Gem</company-name>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<first-name>Verena</first-name>
|
14
|
-
</account>
|
15
|
-
|
16
|
-
headers:
|
17
|
-
accept:
|
18
|
-
- "*/*"
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
content-type:
|
22
|
-
- application/xml
|
23
|
-
authorization:
|
24
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
25
|
-
response: !ruby/struct:VCR::Response
|
26
|
-
status: !ruby/struct:VCR::ResponseStatus
|
27
|
-
code: 201
|
28
|
-
message: Created
|
29
|
-
headers:
|
30
|
-
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/delete-invoiced-1287460732
|
32
|
-
connection:
|
33
|
-
- close
|
34
|
-
content-type:
|
35
|
-
- application/xml; charset=utf-8
|
36
|
-
x-runtime:
|
37
|
-
- "612"
|
38
|
-
date:
|
39
|
-
- Tue, 19 Oct 2010 04:07:56 GMT
|
40
|
-
server:
|
41
|
-
- nginx/0.7.65
|
42
|
-
content-length:
|
43
|
-
- "585"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=e051bd8d8bd7d5982c04b1af3bf3169723da8d1f0b38abb79f2de73f2c0f29eb0fb9b2768a22bfd926cda48374c1b10f18432d3e5fb527d8e59c772ba7a3ecf2%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=499703c15118fed1d7a637470bbc92d5; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
|
-
cache-control:
|
49
|
-
- no-cache
|
50
|
-
body: |
|
51
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
-
<account>
|
53
|
-
<id>delete-invoiced-1287460732</id>
|
54
|
-
<account_code>delete-invoiced-1287460732</account_code>
|
55
|
-
<username></username>
|
56
|
-
<email>verena@test.com</email>
|
57
|
-
<first_name>Verena</first_name>
|
58
|
-
<last_name>Test</last_name>
|
59
|
-
<company_name>Recurly Ruby Gem</company_name>
|
60
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
61
|
-
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>3ed8b524c6474691a3c1c48eae79c03a</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-19T04:07:56Z</created_at>
|
64
|
-
<state>active</state>
|
65
|
-
</account>
|
66
|
-
|
67
|
-
http_version: "1.1"
|
68
|
-
- !ruby/struct:VCR::HTTPInteraction
|
69
|
-
request: !ruby/struct:VCR::Request
|
70
|
-
method: :post
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-invoiced-1287460732/credits.xml
|
72
|
-
body: |
|
73
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
-
<credit>
|
75
|
-
<amount type="float">13.15</amount>
|
76
|
-
<description>free moniez 4 u</description>
|
77
|
-
</credit>
|
78
|
-
|
79
|
-
headers:
|
80
|
-
accept:
|
81
|
-
- "*/*"
|
82
|
-
connection:
|
83
|
-
- close
|
84
|
-
content-type:
|
85
|
-
- application/xml
|
86
|
-
authorization:
|
87
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
88
|
-
response: !ruby/struct:VCR::Response
|
89
|
-
status: !ruby/struct:VCR::ResponseStatus
|
90
|
-
code: 201
|
91
|
-
message: Created
|
92
|
-
headers:
|
93
|
-
connection:
|
94
|
-
- close
|
95
|
-
content-type:
|
96
|
-
- application/xml; charset=utf-8
|
97
|
-
x-runtime:
|
98
|
-
- "46"
|
99
|
-
date:
|
100
|
-
- Tue, 19 Oct 2010 04:07:57 GMT
|
101
|
-
server:
|
102
|
-
- nginx/0.7.65
|
103
|
-
content-length:
|
104
|
-
- "456"
|
105
|
-
set-cookie:
|
106
|
-
- _recurly_session=64dda0288d2af144dee670ed3418c2ae; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
|
-
cache-control:
|
108
|
-
- no-cache
|
109
|
-
body: |
|
110
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
111
|
-
<credit type="credit">
|
112
|
-
<id>5a65fb1d4f1a494e957ab3417aca9a1e</id>
|
113
|
-
<account_code>delete-invoiced-1287460732</account_code>
|
114
|
-
<amount_in_cents type="integer">-1315</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-19T04:07:57Z</start_date>
|
116
|
-
<end_date nil="true" type="datetime"></end_date>
|
117
|
-
<description>free moniez 4 u</description>
|
118
|
-
<created_at type="datetime">2010-10-19T04:07:57Z</created_at>
|
119
|
-
</credit>
|
120
|
-
|
121
|
-
http_version: "1.1"
|
122
|
-
- !ruby/struct:VCR::HTTPInteraction
|
123
|
-
request: !ruby/struct:VCR::Request
|
124
|
-
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-invoiced-1287460732/credits/5a65fb1d4f1a494e957ab3417aca9a1e.xml
|
126
|
-
body:
|
127
|
-
headers:
|
128
|
-
accept:
|
129
|
-
- application/xml
|
130
|
-
connection:
|
131
|
-
- close
|
132
|
-
authorization:
|
133
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
134
|
-
response: !ruby/struct:VCR::Response
|
135
|
-
status: !ruby/struct:VCR::ResponseStatus
|
136
|
-
code: 200
|
137
|
-
message: OK
|
138
|
-
headers:
|
139
|
-
x-ua-compatible:
|
140
|
-
- IE=Edge
|
141
|
-
etag:
|
142
|
-
- "\"d6cdf09b9cbb70c1130de0b706772f8e\""
|
143
|
-
connection:
|
144
|
-
- close
|
145
|
-
content-type:
|
146
|
-
- application/xml; charset=utf-8
|
147
|
-
x-runtime:
|
148
|
-
- "14"
|
149
|
-
date:
|
150
|
-
- Tue, 19 Oct 2010 04:07:57 GMT
|
151
|
-
server:
|
152
|
-
- nginx/0.7.65
|
153
|
-
content-length:
|
154
|
-
- "456"
|
155
|
-
set-cookie:
|
156
|
-
- _recurly_session=718956e33cadd14b60c0431a32972bfd; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
|
-
cache-control:
|
158
|
-
- private, max-age=0, must-revalidate
|
159
|
-
body: |
|
160
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
161
|
-
<credit type="credit">
|
162
|
-
<id>5a65fb1d4f1a494e957ab3417aca9a1e</id>
|
163
|
-
<account_code>delete-invoiced-1287460732</account_code>
|
164
|
-
<amount_in_cents type="integer">-1315</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-19T04:07:57Z</start_date>
|
166
|
-
<end_date nil="true" type="datetime"></end_date>
|
167
|
-
<description>free moniez 4 u</description>
|
168
|
-
<created_at type="datetime">2010-10-19T04:07:57Z</created_at>
|
169
|
-
</credit>
|
170
|
-
|
171
|
-
http_version: "1.1"
|
172
|
-
- !ruby/struct:VCR::HTTPInteraction
|
173
|
-
request: !ruby/struct:VCR::Request
|
174
|
-
method: :post
|
175
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-invoiced-1287460732/invoices.xml
|
176
|
-
body: |
|
177
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
178
|
-
<invoice>
|
179
|
-
</invoice>
|
180
|
-
|
181
|
-
headers:
|
182
|
-
accept:
|
183
|
-
- "*/*"
|
184
|
-
connection:
|
185
|
-
- close
|
186
|
-
content-type:
|
187
|
-
- application/xml
|
188
|
-
authorization:
|
189
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
190
|
-
response: !ruby/struct:VCR::Response
|
191
|
-
status: !ruby/struct:VCR::ResponseStatus
|
192
|
-
code: 201
|
193
|
-
message: Created
|
194
|
-
headers:
|
195
|
-
location:
|
196
|
-
- https://recurlytest3-test.recurly.com/invoices/207fb9533696452bb202c20664b44c34
|
197
|
-
connection:
|
198
|
-
- close
|
199
|
-
content-type:
|
200
|
-
- application/xml; charset=utf-8
|
201
|
-
x-runtime:
|
202
|
-
- "82"
|
203
|
-
date:
|
204
|
-
- Tue, 19 Oct 2010 04:07:58 GMT
|
205
|
-
server:
|
206
|
-
- nginx/0.7.65
|
207
|
-
content-length:
|
208
|
-
- "689"
|
209
|
-
set-cookie:
|
210
|
-
- _recurly_session=f8b3ffd9a4e342579e01f90fc5a80244; domain=.recurly.com; path=/; Secure; HttpOnly
|
211
|
-
cache-control:
|
212
|
-
- no-cache
|
213
|
-
body: |
|
214
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
215
|
-
<invoice>
|
216
|
-
<id>207fb9533696452bb202c20664b44c34</id>
|
217
|
-
<account_code>delete-invoiced-1287460732</account_code>
|
218
|
-
<date type="datetime">2010-10-19T04:07:58Z</date>
|
219
|
-
<invoice_number type="integer">2023</invoice_number>
|
220
|
-
<vat_number></vat_number>
|
221
|
-
<status>closed</status>
|
222
|
-
<subtotal_in_cents type="integer">0</subtotal_in_cents>
|
223
|
-
<total_in_cents type="integer">0</total_in_cents>
|
224
|
-
<vat_amount_in_cents type="integer">0</vat_amount_in_cents>
|
225
|
-
<paid_in_cents type="integer">0</paid_in_cents>
|
226
|
-
<total_due_in_cents type="integer">0</total_due_in_cents>
|
227
|
-
<line_items type="array">
|
228
|
-
</line_items>
|
229
|
-
<payments type="array">
|
230
|
-
</payments>
|
231
|
-
</invoice>
|
232
|
-
|
233
|
-
http_version: "1.1"
|