recurly 0.4.3 → 0.4.4
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/base.rb +9 -4
- data/lib/recurly/coupon.rb +1 -1
- data/lib/recurly/formats/xml_with_errors.rb +2 -2
- data/lib/recurly/rails3/recurly.rake +2 -2
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/account_spec.rb +3 -3
- data/spec/vcr/account/accept-language-account/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/close/{1297746103.yml → 1301979678.yml} +19 -19
- data/spec/vcr/account/create-blank/{1297746103.yml → 1301979678.yml} +2 -2
- data/spec/vcr/account/create-duplicate/{1297746103.yml → 1301979678.yml} +6 -6
- data/spec/vcr/account/create-min/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/create/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/find/{1297746103.yml → 1301979678.yml} +17 -17
- data/spec/vcr/account/list/{1297746103.yml → 1301979678.yml} +151 -151
- data/spec/vcr/account/update/{1297746103.yml → 1301979678.yml} +36 -36
- data/spec/vcr/billing/create/1298594128.yml +12 -12
- data/spec/vcr/billing/destroy/1298594128.yml +15 -15
- data/spec/vcr/billing/find/1298594128.yml +16 -16
- data/spec/vcr/billing/update/1298594128.yml +16 -16
- data/spec/vcr/charge/create/1297746103.yml +20 -20
- data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +23 -23
- data/spec/vcr/charge/list-all/1297746103.yml +31 -31
- data/spec/vcr/charge/list-invoiced/1297746103.yml +54 -54
- data/spec/vcr/charge/list-pending/1297746103.yml +31 -31
- data/spec/vcr/charge/lookup/1297746103.yml +16 -16
- data/spec/vcr/coupon/create/1299714521.yml +11 -11
- data/spec/vcr/coupon/destroy/1299714521.yml +10 -10
- data/spec/vcr/credit/create/1299714599.yml +16 -16
- data/spec/vcr/credit/delete/1299714599.yml +21 -21
- data/spec/vcr/credit/list/1299714599.yml +31 -31
- data/spec/vcr/credit/lookup/1299714599.yml +16 -16
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +10 -10
- data/spec/vcr/invoice/create/1297746103.yml +30 -30
- data/spec/vcr/invoice/list/1297746103.yml +45 -45
- data/spec/vcr/invoice/lookup/1297746103.yml +31 -31
- data/spec/vcr/plan/all.yml +6 -6
- data/spec/vcr/plan/find.yml +6 -6
- data/spec/vcr/plan/update.yml +6 -6
- data/spec/vcr/subscription/addons/add/{1297746103.yml → 1301885121.yml} +49 -49
- data/spec/vcr/subscription/addons/create/{1301884213.yml → 1301885121.yml} +31 -31
- data/spec/vcr/subscription/addons/remove/{1297746103.yml → 1301885121.yml} +49 -49
- data/spec/vcr/subscription/cancel-with-code/1301881900.yml +43 -43
- data/spec/vcr/subscription/cancel/1301881900.yml +35 -35
- data/spec/vcr/subscription/change1/1301881900.yml +31 -31
- data/spec/vcr/subscription/change2/1301881900.yml +31 -31
- data/spec/vcr/subscription/create/1301881900.yml +13 -13
- data/spec/vcr/subscription/find/1301881900.yml +19 -19
- data/spec/vcr/subscription/reactivate/1301881900.yml +36 -36
- data/spec/vcr/subscription/refund-full/1301881900.yml +27 -27
- data/spec/vcr/subscription/refund-none/1301881900.yml +28 -28
- data/spec/vcr/subscription/refund-partial/1301881900.yml +28 -28
- data/spec/vcr/transaction/all/1301883347.yml +43 -43
- data/spec/vcr/transaction/create-no-account/1301883347.yml +5 -5
- data/spec/vcr/transaction/create-with-account/1301883347.yml +13 -13
- data/spec/vcr/transaction/list-filled/1301883347.yml +45 -45
- data/spec/vcr/transaction/list-initial/1301883347.yml +13 -13
- data/spec/vcr/transaction/lookup/1301883347.yml +41 -41
- data/spec/vcr/transaction/refund/1301883347.yml +19 -19
- data/spec/vcr/transaction/void/1301883347.yml +26 -26
- data/spec/vcr/transparent/post-url/1301879142.yml +9 -9
- metadata +27 -33
- data/spec/vcr/subscription/addons/add/1301884213.yml +0 -480
- data/spec/vcr/subscription/addons/create/1297746103.yml +0 -321
- data/spec/vcr/subscription/addons/remove/1301884213.yml +0 -449
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/charge-lookup-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "277"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "581"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=dcf850fb2f06e9dcd611812b6493745d; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>8dc2089ef79544bcbcbaf03a5b3f43db</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:15:39Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -98,13 +98,13 @@
|
|
98
98
|
cache-control:
|
99
99
|
- no-cache
|
100
100
|
x-runtime:
|
101
|
-
- "
|
101
|
+
- "83"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "517"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=3967eba5f35f3180b4ee268d24ae833f; domain=.recurly.local; path=/; HttpOnly
|
108
108
|
connection:
|
109
109
|
- close
|
110
110
|
server:
|
@@ -112,21 +112,21 @@
|
|
112
112
|
body: |
|
113
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
114
114
|
<charge type="charge">
|
115
|
-
<id>
|
115
|
+
<id>5a7906294c344526b3fbfd7b60bdacfe</id>
|
116
116
|
<account_code>charge-lookup-1297746103</account_code>
|
117
117
|
<amount_in_cents type="integer">1315</amount_in_cents>
|
118
|
-
<start_date type="datetime">2011-04-
|
118
|
+
<start_date type="datetime">2011-04-05T05:15:41Z</start_date>
|
119
119
|
<end_date nil="true" type="datetime"></end_date>
|
120
120
|
<invoice_number nil="true" type="integer"></invoice_number>
|
121
121
|
<description>inconvenience fee</description>
|
122
|
-
<created_at type="datetime">2011-04-
|
122
|
+
<created_at type="datetime">2011-04-05T05:15:41Z</created_at>
|
123
123
|
</charge>
|
124
124
|
|
125
125
|
http_version: "1.1"
|
126
126
|
- !ruby/struct:VCR::HTTPInteraction
|
127
127
|
request: !ruby/struct:VCR::Request
|
128
128
|
method: :get
|
129
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-lookup-1297746103/charges/
|
129
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-lookup-1297746103/charges/5a7906294c344526b3fbfd7b60bdacfe.xml
|
130
130
|
body:
|
131
131
|
headers:
|
132
132
|
authorization:
|
@@ -145,17 +145,17 @@
|
|
145
145
|
message: OK
|
146
146
|
headers:
|
147
147
|
x-runtime:
|
148
|
-
- "
|
148
|
+
- "255"
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
etag:
|
152
|
-
- "\"
|
152
|
+
- "\"395e25f1ad14c1efa585824658f53a01\""
|
153
153
|
cache-control:
|
154
154
|
- private, max-age=0, must-revalidate
|
155
155
|
content-length:
|
156
156
|
- "517"
|
157
157
|
set-cookie:
|
158
|
-
- _recurly_session=
|
158
|
+
- _recurly_session=221d10d74835d4cdb5e7835655a0258c; domain=.recurly.local; path=/; HttpOnly
|
159
159
|
connection:
|
160
160
|
- close
|
161
161
|
server:
|
@@ -163,14 +163,14 @@
|
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<charge type="charge">
|
166
|
-
<id>
|
166
|
+
<id>5a7906294c344526b3fbfd7b60bdacfe</id>
|
167
167
|
<account_code>charge-lookup-1297746103</account_code>
|
168
168
|
<amount_in_cents type="integer">1315</amount_in_cents>
|
169
|
-
<start_date type="datetime">2011-04-
|
169
|
+
<start_date type="datetime">2011-04-05T05:15:41Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<invoice_number nil="true" type="integer"></invoice_number>
|
172
172
|
<description>inconvenience fee</description>
|
173
|
-
<created_at type="datetime">2011-04-
|
173
|
+
<created_at type="datetime">2011-04-05T05:15:41Z</created_at>
|
174
174
|
</charge>
|
175
175
|
|
176
176
|
http_version: "1.1"
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/coupon-create-1299714521
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "276"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "581"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=eeb9ed2426b01561014da6a6d0b45aec; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>d68c993dd8864a27984a372c4bfd24da</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:15:56Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -97,13 +97,13 @@
|
|
97
97
|
cache-control:
|
98
98
|
- no-cache
|
99
99
|
x-runtime:
|
100
|
-
- "
|
100
|
+
- "281"
|
101
101
|
content-type:
|
102
102
|
- application/xml; charset=utf-8
|
103
103
|
content-length:
|
104
104
|
- "520"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=016eec6002ed8d0e434336a422b69d35; domain=.recurly.local; path=/; HttpOnly
|
107
107
|
connection:
|
108
108
|
- close
|
109
109
|
server:
|
@@ -118,7 +118,7 @@
|
|
118
118
|
<discount_percent type="integer"></discount_percent>
|
119
119
|
<redemption>
|
120
120
|
<account_code>coupon-create-1299714521</account_code>
|
121
|
-
<redeemed_at type="datetime">2011-04-
|
121
|
+
<redeemed_at type="datetime">2011-04-05T05:15:58Z</redeemed_at>
|
122
122
|
<total_discounted_in_cents type="integer">0</total_discounted_in_cents>
|
123
123
|
</redemption>
|
124
124
|
</coupon>
|
@@ -146,17 +146,17 @@
|
|
146
146
|
message: OK
|
147
147
|
headers:
|
148
148
|
x-runtime:
|
149
|
-
- "
|
149
|
+
- "270"
|
150
150
|
content-type:
|
151
151
|
- application/xml; charset=utf-8
|
152
152
|
etag:
|
153
|
-
- "\"
|
153
|
+
- "\"1f0c21ec9fba77001a6bc15abc6b82da\""
|
154
154
|
cache-control:
|
155
155
|
- private, max-age=0, must-revalidate
|
156
156
|
content-length:
|
157
157
|
- "520"
|
158
158
|
set-cookie:
|
159
|
-
- _recurly_session=
|
159
|
+
- _recurly_session=b190a64bb13c4e45d80d3216b827d3f1; domain=.recurly.local; path=/; HttpOnly
|
160
160
|
connection:
|
161
161
|
- close
|
162
162
|
server:
|
@@ -171,7 +171,7 @@
|
|
171
171
|
<discount_percent type="integer"></discount_percent>
|
172
172
|
<redemption>
|
173
173
|
<account_code>coupon-create-1299714521</account_code>
|
174
|
-
<redeemed_at type="datetime">2011-04-
|
174
|
+
<redeemed_at type="datetime">2011-04-05T05:15:58Z</redeemed_at>
|
175
175
|
<total_discounted_in_cents type="integer">0</total_discounted_in_cents>
|
176
176
|
</redemption>
|
177
177
|
</coupon>
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/coupon-destroy-1299714521
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "440"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "583"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=b1f89f15d367718708b9428cb7c9a8ab; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>f7eec11339c647bb90a7c6f9f20acecf</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:16:02Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -97,13 +97,13 @@
|
|
97
97
|
cache-control:
|
98
98
|
- no-cache
|
99
99
|
x-runtime:
|
100
|
-
- "
|
100
|
+
- "494"
|
101
101
|
content-type:
|
102
102
|
- application/xml; charset=utf-8
|
103
103
|
content-length:
|
104
104
|
- "522"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=dab26df8f120671174013b1a5f6dd26c; domain=.recurly.local; path=/; HttpOnly
|
107
107
|
connection:
|
108
108
|
- close
|
109
109
|
server:
|
@@ -118,7 +118,7 @@
|
|
118
118
|
<discount_percent type="integer"></discount_percent>
|
119
119
|
<redemption>
|
120
120
|
<account_code>coupon-destroy-1299714521</account_code>
|
121
|
-
<redeemed_at type="datetime">2011-04-
|
121
|
+
<redeemed_at type="datetime">2011-04-05T05:16:04Z</redeemed_at>
|
122
122
|
<total_discounted_in_cents type="integer">0</total_discounted_in_cents>
|
123
123
|
</redemption>
|
124
124
|
</coupon>
|
@@ -146,13 +146,13 @@
|
|
146
146
|
cache-control:
|
147
147
|
- no-cache
|
148
148
|
x-runtime:
|
149
|
-
- "
|
149
|
+
- "253"
|
150
150
|
content-type:
|
151
151
|
- application/xml; charset=utf-8
|
152
152
|
content-length:
|
153
153
|
- "1"
|
154
154
|
set-cookie:
|
155
|
-
- _recurly_session=
|
155
|
+
- _recurly_session=d29e1ae4fb729fba6d509ba99d15b849; domain=.recurly.local; path=/; HttpOnly
|
156
156
|
connection:
|
157
157
|
- close
|
158
158
|
server:
|
@@ -187,7 +187,7 @@
|
|
187
187
|
content-length:
|
188
188
|
- "92"
|
189
189
|
set-cookie:
|
190
|
-
- _recurly_session=
|
190
|
+
- _recurly_session=f3a5aee8a87d95e4fabc5930c19afce0; domain=.recurly.local; path=/; HttpOnly
|
191
191
|
connection:
|
192
192
|
- close
|
193
193
|
server:
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/credit-create-1299714599
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "457"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "581"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=1900f617722ad639c8db1c6d17f0864d; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>5020b545c89149b6a96dbdc548eda329</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:16:09Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -98,13 +98,13 @@
|
|
98
98
|
cache-control:
|
99
99
|
- no-cache
|
100
100
|
x-runtime:
|
101
|
-
- "
|
101
|
+
- "246"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "512"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=9f2fd56b9cadb334d7b24df9ba871385; domain=.recurly.local; path=/; HttpOnly
|
108
108
|
connection:
|
109
109
|
- close
|
110
110
|
server:
|
@@ -112,21 +112,21 @@
|
|
112
112
|
body: |
|
113
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
114
114
|
<credit type="credit">
|
115
|
-
<id>
|
115
|
+
<id>c29445991a6545a5856a7003e3120ff8</id>
|
116
116
|
<account_code>credit-create-1299714599</account_code>
|
117
117
|
<amount_in_cents type="integer">-1005</amount_in_cents>
|
118
|
-
<start_date type="datetime">2011-04-
|
118
|
+
<start_date type="datetime">2011-04-05T05:16:11Z</start_date>
|
119
119
|
<end_date nil="true" type="datetime"></end_date>
|
120
120
|
<invoice_number nil="true" type="integer"></invoice_number>
|
121
121
|
<description>free moniez</description>
|
122
|
-
<created_at type="datetime">2011-04-
|
122
|
+
<created_at type="datetime">2011-04-05T05:16:11Z</created_at>
|
123
123
|
</credit>
|
124
124
|
|
125
125
|
http_version: "1.1"
|
126
126
|
- !ruby/struct:VCR::HTTPInteraction
|
127
127
|
request: !ruby/struct:VCR::Request
|
128
128
|
method: :get
|
129
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/credit-create-1299714599/credits/
|
129
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/credit-create-1299714599/credits/c29445991a6545a5856a7003e3120ff8.xml
|
130
130
|
body:
|
131
131
|
headers:
|
132
132
|
authorization:
|
@@ -145,17 +145,17 @@
|
|
145
145
|
message: OK
|
146
146
|
headers:
|
147
147
|
x-runtime:
|
148
|
-
- "
|
148
|
+
- "236"
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
etag:
|
152
|
-
- "\"
|
152
|
+
- "\"67ee38ba33f34e1bd792dfadaed6ac7e\""
|
153
153
|
cache-control:
|
154
154
|
- private, max-age=0, must-revalidate
|
155
155
|
content-length:
|
156
156
|
- "512"
|
157
157
|
set-cookie:
|
158
|
-
- _recurly_session=
|
158
|
+
- _recurly_session=c073b578c9216ab440fbafc51d1966ed; domain=.recurly.local; path=/; HttpOnly
|
159
159
|
connection:
|
160
160
|
- close
|
161
161
|
server:
|
@@ -163,14 +163,14 @@
|
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<credit type="credit">
|
166
|
-
<id>
|
166
|
+
<id>c29445991a6545a5856a7003e3120ff8</id>
|
167
167
|
<account_code>credit-create-1299714599</account_code>
|
168
168
|
<amount_in_cents type="integer">-1005</amount_in_cents>
|
169
|
-
<start_date type="datetime">2011-04-
|
169
|
+
<start_date type="datetime">2011-04-05T05:16:11Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<invoice_number nil="true" type="integer"></invoice_number>
|
172
172
|
<description>free moniez</description>
|
173
|
-
<created_at type="datetime">2011-04-
|
173
|
+
<created_at type="datetime">2011-04-05T05:16:11Z</created_at>
|
174
174
|
</credit>
|
175
175
|
|
176
176
|
http_version: "1.1"
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/delete-uninvoiced-1299714599
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "291"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "589"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=7ff2615264d63e97abd0ba8cd8ea8b7d; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>95e2a7503a264162a519bd2d7f803a07</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:16:31Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -98,13 +98,13 @@
|
|
98
98
|
cache-control:
|
99
99
|
- no-cache
|
100
100
|
x-runtime:
|
101
|
-
- "
|
101
|
+
- "254"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "520"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=331b2b25b3c42cfeab2f3af3fceb16ca; domain=.recurly.local; path=/; HttpOnly
|
108
108
|
connection:
|
109
109
|
- close
|
110
110
|
server:
|
@@ -112,21 +112,21 @@
|
|
112
112
|
body: |
|
113
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
114
114
|
<credit type="credit">
|
115
|
-
<id>
|
115
|
+
<id>ab203de22e6b46cf807cbbd34433fa7f</id>
|
116
116
|
<account_code>delete-uninvoiced-1299714599</account_code>
|
117
117
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
118
|
-
<start_date type="datetime">2011-04-
|
118
|
+
<start_date type="datetime">2011-04-05T05:16:33Z</start_date>
|
119
119
|
<end_date nil="true" type="datetime"></end_date>
|
120
120
|
<invoice_number nil="true" type="integer"></invoice_number>
|
121
121
|
<description>free moniez 4 u</description>
|
122
|
-
<created_at type="datetime">2011-04-
|
122
|
+
<created_at type="datetime">2011-04-05T05:16:33Z</created_at>
|
123
123
|
</credit>
|
124
124
|
|
125
125
|
http_version: "1.1"
|
126
126
|
- !ruby/struct:VCR::HTTPInteraction
|
127
127
|
request: !ruby/struct:VCR::Request
|
128
128
|
method: :get
|
129
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/
|
129
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/ab203de22e6b46cf807cbbd34433fa7f.xml
|
130
130
|
body:
|
131
131
|
headers:
|
132
132
|
authorization:
|
@@ -145,17 +145,17 @@
|
|
145
145
|
message: OK
|
146
146
|
headers:
|
147
147
|
x-runtime:
|
148
|
-
- "
|
148
|
+
- "71"
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
etag:
|
152
|
-
- "\"
|
152
|
+
- "\"9ecb3df1dd3d3a683bfb50ccebb50c83\""
|
153
153
|
cache-control:
|
154
154
|
- private, max-age=0, must-revalidate
|
155
155
|
content-length:
|
156
156
|
- "520"
|
157
157
|
set-cookie:
|
158
|
-
- _recurly_session=
|
158
|
+
- _recurly_session=9210dab74c0030f7c4980c1aa28911b3; domain=.recurly.local; path=/; HttpOnly
|
159
159
|
connection:
|
160
160
|
- close
|
161
161
|
server:
|
@@ -163,21 +163,21 @@
|
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<credit type="credit">
|
166
|
-
<id>
|
166
|
+
<id>ab203de22e6b46cf807cbbd34433fa7f</id>
|
167
167
|
<account_code>delete-uninvoiced-1299714599</account_code>
|
168
168
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
169
|
-
<start_date type="datetime">2011-04-
|
169
|
+
<start_date type="datetime">2011-04-05T05:16:33Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<invoice_number nil="true" type="integer"></invoice_number>
|
172
172
|
<description>free moniez 4 u</description>
|
173
|
-
<created_at type="datetime">2011-04-
|
173
|
+
<created_at type="datetime">2011-04-05T05:16:33Z</created_at>
|
174
174
|
</credit>
|
175
175
|
|
176
176
|
http_version: "1.1"
|
177
177
|
- !ruby/struct:VCR::HTTPInteraction
|
178
178
|
request: !ruby/struct:VCR::Request
|
179
179
|
method: :delete
|
180
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/
|
180
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/ab203de22e6b46cf807cbbd34433fa7f.xml
|
181
181
|
body:
|
182
182
|
headers:
|
183
183
|
authorization:
|
@@ -196,13 +196,13 @@
|
|
196
196
|
cache-control:
|
197
197
|
- no-cache
|
198
198
|
x-runtime:
|
199
|
-
- "
|
199
|
+
- "235"
|
200
200
|
content-type:
|
201
201
|
- application/xml; charset=utf-8
|
202
202
|
content-length:
|
203
203
|
- "1"
|
204
204
|
set-cookie:
|
205
|
-
- _recurly_session=
|
205
|
+
- _recurly_session=4153d87770e8dce362b1161755012e21; domain=.recurly.local; path=/; HttpOnly
|
206
206
|
connection:
|
207
207
|
- close
|
208
208
|
server:
|
@@ -212,7 +212,7 @@
|
|
212
212
|
- !ruby/struct:VCR::HTTPInteraction
|
213
213
|
request: !ruby/struct:VCR::Request
|
214
214
|
method: :get
|
215
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/
|
215
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/ab203de22e6b46cf807cbbd34433fa7f.xml
|
216
216
|
body:
|
217
217
|
headers:
|
218
218
|
authorization:
|
@@ -237,7 +237,7 @@
|
|
237
237
|
content-length:
|
238
238
|
- "92"
|
239
239
|
set-cookie:
|
240
|
-
- _recurly_session=
|
240
|
+
- _recurly_session=4d1e15551f2fc2d58fc733061073de78; domain=.recurly.local; path=/; HttpOnly
|
241
241
|
connection:
|
242
242
|
- close
|
243
243
|
server:
|