recurly 0.4.0 → 0.4.1
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/patches/rails2/active_resource/connection.rb +10 -0
- data/lib/patches/{active_resource → rails3/active_resource}/connection.rb +0 -0
- data/lib/recurly.rb +7 -2
- data/lib/recurly/transparent.rb +4 -1
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/transaction_spec.rb +5 -2
- data/spec/unit/transparent_spec.rb +59 -1
- data/spec/vcr/account/accept-language-account/1297746103.yml +8 -11
- data/spec/vcr/account/close/1297746103.yml +23 -30
- data/spec/vcr/account/create-blank/1297746103.yml +5 -7
- data/spec/vcr/account/create-duplicate/1297746103.yml +13 -18
- data/spec/vcr/account/create-min/1297746103.yml +8 -11
- data/spec/vcr/account/create/1297746103.yml +8 -11
- data/spec/vcr/account/find/1297746103.yml +22 -29
- data/spec/vcr/account/list/1297746103.yml +150 -196
- data/spec/vcr/account/update/1297746103.yml +37 -46
- data/spec/vcr/billing/create/1298594128.yml +24 -31
- data/spec/vcr/billing/destroy/1298594128.yml +35 -46
- data/spec/vcr/billing/find/1298594128.yml +32 -41
- data/spec/vcr/billing/update/1298594128.yml +32 -41
- data/spec/vcr/charge/create/1297746103.yml +36 -45
- data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +46 -59
- data/spec/vcr/charge/list-all/1297746103.yml +51 -62
- data/spec/vcr/charge/list-invoiced/1297746103.yml +82 -97
- data/spec/vcr/charge/list-pending/1297746103.yml +51 -62
- data/spec/vcr/charge/lookup/1297746103.yml +28 -35
- data/spec/vcr/coupon/create/1299714521.yml +23 -30
- data/spec/vcr/coupon/destroy/1299714521.yml +26 -35
- data/spec/vcr/credit/create/1299714599.yml +28 -35
- data/spec/vcr/credit/delete/1299714599.yml +41 -52
- data/spec/vcr/credit/list/1299714599.yml +51 -62
- data/spec/vcr/credit/lookup/1299714599.yml +28 -35
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +21 -28
- data/spec/vcr/invoice/create/1297746103.yml +50 -61
- data/spec/vcr/invoice/list/1297746103.yml +73 -88
- data/spec/vcr/invoice/lookup/1297746103.yml +52 -63
- data/spec/vcr/plan/all.yml +18 -24
- data/spec/vcr/plan/find.yml +18 -24
- data/spec/vcr/plan/update.yml +18 -24
- data/spec/vcr/subscription/addons/add/1297746103.yml +331 -38
- data/spec/vcr/subscription/addons/create/1297746103.yml +331 -38
- data/spec/vcr/subscription/addons/remove/1297746103.yml +331 -38
- data/spec/vcr/subscription/cancel-with-code/1297746103.yml +71 -86
- data/spec/vcr/subscription/cancel/1297746103.yml +59 -72
- data/spec/vcr/subscription/change1/1297746103.yml +55 -68
- data/spec/vcr/subscription/change2/1297746103.yml +55 -68
- data/spec/vcr/subscription/create/1297746103.yml +25 -32
- data/spec/vcr/subscription/find/1297746103.yml +35 -44
- data/spec/vcr/subscription/reactivate/1297746103.yml +64 -79
- data/spec/vcr/subscription/refund-full/1297746103.yml +52 -65
- data/spec/vcr/subscription/refund-none/1297746103.yml +52 -65
- data/spec/vcr/subscription/refund-partial/1297746103.yml +52 -65
- data/spec/vcr/transaction/all/1300473500.yml +387 -0
- data/spec/vcr/transaction/create-no-account/{1297746103.yml → 1300473500.yml} +19 -22
- data/spec/vcr/transaction/create-with-account/{1297746103.yml → 1300473500.yml} +55 -43
- data/spec/vcr/transaction/list-filled/1300473500.yml +603 -0
- data/spec/vcr/transaction/list-initial/{1297746103.yml → 1300473500.yml} +45 -52
- data/spec/vcr/transaction/lookup/1300473500.yml +561 -0
- data/spec/vcr/transaction/refund/{1297746103.yml → 1300473500.yml} +113 -41
- data/spec/vcr/transaction/void/1300473500.yml +620 -0
- metadata +21 -20
- data/spec/vcr/transaction/all/1297746103.yml +0 -389
- data/spec/vcr/transaction/list-filled/1297746103.yml +0 -213
- data/spec/vcr/transaction/lookup/1297746103.yml +0 -213
- data/spec/vcr/transaction/void/1297746103.yml +0 -213
@@ -32,27 +32,24 @@
|
|
32
32
|
response: !ruby/struct:VCR::Response
|
33
33
|
status: !ruby/struct:VCR::ResponseStatus
|
34
34
|
code: 201
|
35
|
-
message:
|
35
|
+
message: Created
|
36
36
|
headers:
|
37
37
|
cache-control:
|
38
38
|
- no-cache
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/delete-uninvoiced-1299714599
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "320"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "589"
|
47
|
-
|
48
|
-
-
|
49
|
-
date:
|
50
|
-
- Fri, 11 Mar 2011 18:50:21 GMT
|
47
|
+
set-cookie:
|
48
|
+
- _recurly_session=ab3f684140dae26700e75eff5ea7b1f8; domain=.recurly.local; path=/; HttpOnly
|
51
49
|
connection:
|
52
50
|
- close
|
53
|
-
|
54
|
-
-
|
55
|
-
- _recurly_session=0b0aef010c24900ae3592a8f7e4366e2; domain=.recurly.local; path=/; HttpOnly
|
51
|
+
server:
|
52
|
+
- thin 1.2.7 codename No Hup
|
56
53
|
body: |
|
57
54
|
<?xml version="1.0" encoding="UTF-8"?>
|
58
55
|
<account>
|
@@ -65,8 +62,8 @@
|
|
65
62
|
<company_name>Recurly Ruby Gem</company_name>
|
66
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
67
64
|
<closed type="boolean">false</closed>
|
68
|
-
<hosted_login_token>
|
69
|
-
<created_at type="datetime">2011-03-
|
65
|
+
<hosted_login_token>12df0978701d4584a68906c609af6b64</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-03-18T18:50:47Z</created_at>
|
70
67
|
<state>active</state>
|
71
68
|
</account>
|
72
69
|
|
@@ -96,42 +93,40 @@
|
|
96
93
|
response: !ruby/struct:VCR::Response
|
97
94
|
status: !ruby/struct:VCR::ResponseStatus
|
98
95
|
code: 201
|
99
|
-
message:
|
96
|
+
message: Created
|
100
97
|
headers:
|
101
98
|
cache-control:
|
102
99
|
- no-cache
|
103
100
|
x-runtime:
|
104
|
-
- "
|
101
|
+
- "289"
|
105
102
|
content-type:
|
106
103
|
- application/xml; charset=utf-8
|
107
104
|
content-length:
|
108
105
|
- "520"
|
109
|
-
|
110
|
-
-
|
111
|
-
date:
|
112
|
-
- Fri, 11 Mar 2011 18:50:23 GMT
|
106
|
+
set-cookie:
|
107
|
+
- _recurly_session=f600d708a18897ff1249cf76145360a8; domain=.recurly.local; path=/; HttpOnly
|
113
108
|
connection:
|
114
109
|
- close
|
115
|
-
|
116
|
-
-
|
110
|
+
server:
|
111
|
+
- thin 1.2.7 codename No Hup
|
117
112
|
body: |
|
118
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
119
114
|
<credit type="credit">
|
120
|
-
<id>
|
115
|
+
<id>ad3ae5b6d64041ab80e268d16b45fece</id>
|
121
116
|
<account_code>delete-uninvoiced-1299714599</account_code>
|
122
117
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
123
|
-
<start_date type="datetime">2011-03-
|
118
|
+
<start_date type="datetime">2011-03-18T18:50:49Z</start_date>
|
124
119
|
<end_date nil="true" type="datetime"></end_date>
|
125
120
|
<invoice_number nil="true" type="integer"></invoice_number>
|
126
121
|
<description>free moniez 4 u</description>
|
127
|
-
<created_at type="datetime">2011-03-
|
122
|
+
<created_at type="datetime">2011-03-18T18:50:49Z</created_at>
|
128
123
|
</credit>
|
129
124
|
|
130
125
|
http_version: "1.1"
|
131
126
|
- !ruby/struct:VCR::HTTPInteraction
|
132
127
|
request: !ruby/struct:VCR::Request
|
133
128
|
method: :get
|
134
|
-
uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/
|
129
|
+
uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/ad3ae5b6d64041ab80e268d16b45fece.xml
|
135
130
|
body:
|
136
131
|
headers:
|
137
132
|
authorization:
|
@@ -147,44 +142,42 @@
|
|
147
142
|
response: !ruby/struct:VCR::Response
|
148
143
|
status: !ruby/struct:VCR::ResponseStatus
|
149
144
|
code: 200
|
150
|
-
message:
|
145
|
+
message: OK
|
151
146
|
headers:
|
152
147
|
x-runtime:
|
153
|
-
- "
|
148
|
+
- "274"
|
154
149
|
content-type:
|
155
150
|
- application/xml; charset=utf-8
|
156
151
|
etag:
|
157
|
-
- "\"
|
152
|
+
- "\"97cf949642d041db158a61d65df145a4\""
|
158
153
|
cache-control:
|
159
154
|
- private, max-age=0, must-revalidate
|
160
155
|
content-length:
|
161
156
|
- "520"
|
162
|
-
|
163
|
-
-
|
164
|
-
date:
|
165
|
-
- Fri, 11 Mar 2011 18:50:25 GMT
|
157
|
+
set-cookie:
|
158
|
+
- _recurly_session=8cd359e3304c1448359ce5f68287023b; domain=.recurly.local; path=/; HttpOnly
|
166
159
|
connection:
|
167
160
|
- close
|
168
|
-
|
169
|
-
-
|
161
|
+
server:
|
162
|
+
- thin 1.2.7 codename No Hup
|
170
163
|
body: |
|
171
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
172
165
|
<credit type="credit">
|
173
|
-
<id>
|
166
|
+
<id>ad3ae5b6d64041ab80e268d16b45fece</id>
|
174
167
|
<account_code>delete-uninvoiced-1299714599</account_code>
|
175
168
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
176
|
-
<start_date type="datetime">2011-03-
|
169
|
+
<start_date type="datetime">2011-03-18T18:50:49Z</start_date>
|
177
170
|
<end_date nil="true" type="datetime"></end_date>
|
178
171
|
<invoice_number nil="true" type="integer"></invoice_number>
|
179
172
|
<description>free moniez 4 u</description>
|
180
|
-
<created_at type="datetime">2011-03-
|
173
|
+
<created_at type="datetime">2011-03-18T18:50:49Z</created_at>
|
181
174
|
</credit>
|
182
175
|
|
183
176
|
http_version: "1.1"
|
184
177
|
- !ruby/struct:VCR::HTTPInteraction
|
185
178
|
request: !ruby/struct:VCR::Request
|
186
179
|
method: :delete
|
187
|
-
uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/
|
180
|
+
uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/ad3ae5b6d64041ab80e268d16b45fece.xml
|
188
181
|
body:
|
189
182
|
headers:
|
190
183
|
authorization:
|
@@ -198,30 +191,28 @@
|
|
198
191
|
response: !ruby/struct:VCR::Response
|
199
192
|
status: !ruby/struct:VCR::ResponseStatus
|
200
193
|
code: 200
|
201
|
-
message:
|
194
|
+
message: OK
|
202
195
|
headers:
|
203
196
|
cache-control:
|
204
197
|
- no-cache
|
205
198
|
x-runtime:
|
206
|
-
- "
|
199
|
+
- "270"
|
207
200
|
content-type:
|
208
201
|
- application/xml; charset=utf-8
|
209
202
|
content-length:
|
210
203
|
- "1"
|
211
|
-
|
212
|
-
-
|
213
|
-
date:
|
214
|
-
- Fri, 11 Mar 2011 18:50:27 GMT
|
204
|
+
set-cookie:
|
205
|
+
- _recurly_session=994f34feec711acc42b8b301de5c945f; domain=.recurly.local; path=/; HttpOnly
|
215
206
|
connection:
|
216
207
|
- close
|
217
|
-
|
218
|
-
-
|
208
|
+
server:
|
209
|
+
- thin 1.2.7 codename No Hup
|
219
210
|
body: " "
|
220
211
|
http_version: "1.1"
|
221
212
|
- !ruby/struct:VCR::HTTPInteraction
|
222
213
|
request: !ruby/struct:VCR::Request
|
223
214
|
method: :get
|
224
|
-
uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/
|
215
|
+
uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/ad3ae5b6d64041ab80e268d16b45fece.xml
|
225
216
|
body:
|
226
217
|
headers:
|
227
218
|
authorization:
|
@@ -237,7 +228,7 @@
|
|
237
228
|
response: !ruby/struct:VCR::Response
|
238
229
|
status: !ruby/struct:VCR::ResponseStatus
|
239
230
|
code: 404
|
240
|
-
message:
|
231
|
+
message: Not Found
|
241
232
|
headers:
|
242
233
|
cache-control:
|
243
234
|
- no-cache
|
@@ -245,14 +236,12 @@
|
|
245
236
|
- application/xml; charset=utf-8
|
246
237
|
content-length:
|
247
238
|
- "92"
|
248
|
-
|
249
|
-
-
|
250
|
-
date:
|
251
|
-
- Fri, 11 Mar 2011 18:50:30 GMT
|
239
|
+
set-cookie:
|
240
|
+
- _recurly_session=2b273091314a4a688c9db1635eeeb8ca; domain=.recurly.local; path=/; HttpOnly
|
252
241
|
connection:
|
253
242
|
- close
|
254
|
-
|
255
|
-
-
|
243
|
+
server:
|
244
|
+
- thin 1.2.7 codename No Hup
|
256
245
|
body: |
|
257
246
|
<?xml version="1.0" encoding="UTF-8"?>
|
258
247
|
<errors>
|
@@ -32,27 +32,24 @@
|
|
32
32
|
response: !ruby/struct:VCR::Response
|
33
33
|
status: !ruby/struct:VCR::ResponseStatus
|
34
34
|
code: 201
|
35
|
-
message:
|
35
|
+
message: Created
|
36
36
|
headers:
|
37
37
|
cache-control:
|
38
38
|
- no-cache
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/credit-list-1299714599
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "327"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "577"
|
47
|
-
|
48
|
-
-
|
49
|
-
date:
|
50
|
-
- Fri, 11 Mar 2011 18:50:03 GMT
|
47
|
+
set-cookie:
|
48
|
+
- _recurly_session=88799713331aaad28eb6685049ee0d42; domain=.recurly.local; path=/; HttpOnly
|
51
49
|
connection:
|
52
50
|
- close
|
53
|
-
|
54
|
-
-
|
55
|
-
- _recurly_session=24029c04bfa718483db127e8ba5cbcf0; domain=.recurly.local; path=/; HttpOnly
|
51
|
+
server:
|
52
|
+
- thin 1.2.7 codename No Hup
|
56
53
|
body: |
|
57
54
|
<?xml version="1.0" encoding="UTF-8"?>
|
58
55
|
<account>
|
@@ -65,8 +62,8 @@
|
|
65
62
|
<company_name>Recurly Ruby Gem</company_name>
|
66
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
67
64
|
<closed type="boolean">false</closed>
|
68
|
-
<hosted_login_token>
|
69
|
-
<created_at type="datetime">2011-03-
|
65
|
+
<hosted_login_token>a1a5005682ef4d5c8f9d9a248a0fdf7f</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-03-18T18:50:30Z</created_at>
|
70
67
|
<state>active</state>
|
71
68
|
</account>
|
72
69
|
|
@@ -96,35 +93,33 @@
|
|
96
93
|
response: !ruby/struct:VCR::Response
|
97
94
|
status: !ruby/struct:VCR::ResponseStatus
|
98
95
|
code: 201
|
99
|
-
message:
|
96
|
+
message: Created
|
100
97
|
headers:
|
101
98
|
cache-control:
|
102
99
|
- no-cache
|
103
100
|
x-runtime:
|
104
|
-
- "
|
101
|
+
- "283"
|
105
102
|
content-type:
|
106
103
|
- application/xml; charset=utf-8
|
107
104
|
content-length:
|
108
105
|
- "501"
|
109
|
-
|
110
|
-
-
|
111
|
-
date:
|
112
|
-
- Fri, 11 Mar 2011 18:50:06 GMT
|
106
|
+
set-cookie:
|
107
|
+
- _recurly_session=3c821285ab81b4f5a76503b41be248f9; domain=.recurly.local; path=/; HttpOnly
|
113
108
|
connection:
|
114
109
|
- close
|
115
|
-
|
116
|
-
-
|
110
|
+
server:
|
111
|
+
- thin 1.2.7 codename No Hup
|
117
112
|
body: |
|
118
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
119
114
|
<credit type="credit">
|
120
|
-
<id>
|
115
|
+
<id>4f108de951c24067b4439f697703c58b</id>
|
121
116
|
<account_code>credit-list-1299714599</account_code>
|
122
117
|
<amount_in_cents type="integer">-100</amount_in_cents>
|
123
|
-
<start_date type="datetime">2011-03-
|
118
|
+
<start_date type="datetime">2011-03-18T18:50:32Z</start_date>
|
124
119
|
<end_date nil="true" type="datetime"></end_date>
|
125
120
|
<invoice_number nil="true" type="integer"></invoice_number>
|
126
121
|
<description>one</description>
|
127
|
-
<created_at type="datetime">2011-03-
|
122
|
+
<created_at type="datetime">2011-03-18T18:50:32Z</created_at>
|
128
123
|
</credit>
|
129
124
|
|
130
125
|
http_version: "1.1"
|
@@ -153,35 +148,33 @@
|
|
153
148
|
response: !ruby/struct:VCR::Response
|
154
149
|
status: !ruby/struct:VCR::ResponseStatus
|
155
150
|
code: 201
|
156
|
-
message:
|
151
|
+
message: Created
|
157
152
|
headers:
|
158
153
|
cache-control:
|
159
154
|
- no-cache
|
160
155
|
x-runtime:
|
161
|
-
- "
|
156
|
+
- "290"
|
162
157
|
content-type:
|
163
158
|
- application/xml; charset=utf-8
|
164
159
|
content-length:
|
165
160
|
- "501"
|
166
|
-
|
167
|
-
-
|
168
|
-
date:
|
169
|
-
- Fri, 11 Mar 2011 18:50:08 GMT
|
161
|
+
set-cookie:
|
162
|
+
- _recurly_session=6982ddf988bdd27d8e7ca7f88f126617; domain=.recurly.local; path=/; HttpOnly
|
170
163
|
connection:
|
171
164
|
- close
|
172
|
-
|
173
|
-
-
|
165
|
+
server:
|
166
|
+
- thin 1.2.7 codename No Hup
|
174
167
|
body: |
|
175
168
|
<?xml version="1.0" encoding="UTF-8"?>
|
176
169
|
<credit type="credit">
|
177
|
-
<id>
|
170
|
+
<id>b43c6b3646054b27a621420dae68f9fc</id>
|
178
171
|
<account_code>credit-list-1299714599</account_code>
|
179
172
|
<amount_in_cents type="integer">-200</amount_in_cents>
|
180
|
-
<start_date type="datetime">2011-03-
|
173
|
+
<start_date type="datetime">2011-03-18T18:50:34Z</start_date>
|
181
174
|
<end_date nil="true" type="datetime"></end_date>
|
182
175
|
<invoice_number nil="true" type="integer"></invoice_number>
|
183
176
|
<description>two</description>
|
184
|
-
<created_at type="datetime">2011-03-
|
177
|
+
<created_at type="datetime">2011-03-18T18:50:34Z</created_at>
|
185
178
|
</credit>
|
186
179
|
|
187
180
|
http_version: "1.1"
|
@@ -210,35 +203,33 @@
|
|
210
203
|
response: !ruby/struct:VCR::Response
|
211
204
|
status: !ruby/struct:VCR::ResponseStatus
|
212
205
|
code: 201
|
213
|
-
message:
|
206
|
+
message: Created
|
214
207
|
headers:
|
215
208
|
cache-control:
|
216
209
|
- no-cache
|
217
210
|
x-runtime:
|
218
|
-
- "
|
211
|
+
- "286"
|
219
212
|
content-type:
|
220
213
|
- application/xml; charset=utf-8
|
221
214
|
content-length:
|
222
215
|
- "503"
|
223
|
-
|
224
|
-
-
|
225
|
-
date:
|
226
|
-
- Fri, 11 Mar 2011 18:50:10 GMT
|
216
|
+
set-cookie:
|
217
|
+
- _recurly_session=40a7dfb1d3c60b0aa35ae12283e71499; domain=.recurly.local; path=/; HttpOnly
|
227
218
|
connection:
|
228
219
|
- close
|
229
|
-
|
230
|
-
-
|
220
|
+
server:
|
221
|
+
- thin 1.2.7 codename No Hup
|
231
222
|
body: |
|
232
223
|
<?xml version="1.0" encoding="UTF-8"?>
|
233
224
|
<credit type="credit">
|
234
|
-
<id>
|
225
|
+
<id>ad5a7bf457244a598a93a196c54c7d9f</id>
|
235
226
|
<account_code>credit-list-1299714599</account_code>
|
236
227
|
<amount_in_cents type="integer">-300</amount_in_cents>
|
237
|
-
<start_date type="datetime">2011-03-
|
228
|
+
<start_date type="datetime">2011-03-18T18:50:36Z</start_date>
|
238
229
|
<end_date nil="true" type="datetime"></end_date>
|
239
230
|
<invoice_number nil="true" type="integer"></invoice_number>
|
240
231
|
<description>three</description>
|
241
|
-
<created_at type="datetime">2011-03-
|
232
|
+
<created_at type="datetime">2011-03-18T18:50:36Z</created_at>
|
242
233
|
</credit>
|
243
234
|
|
244
235
|
http_version: "1.1"
|
@@ -261,58 +252,56 @@
|
|
261
252
|
response: !ruby/struct:VCR::Response
|
262
253
|
status: !ruby/struct:VCR::ResponseStatus
|
263
254
|
code: 200
|
264
|
-
message:
|
255
|
+
message: OK
|
265
256
|
headers:
|
266
257
|
x-runtime:
|
267
|
-
- "
|
258
|
+
- "78"
|
268
259
|
content-type:
|
269
260
|
- application/xml; charset=utf-8
|
270
261
|
etag:
|
271
|
-
- "\"
|
262
|
+
- "\"5144be666afb2ec40654b2bf80b4df9a\""
|
272
263
|
cache-control:
|
273
264
|
- private, max-age=0, must-revalidate
|
274
265
|
content-length:
|
275
266
|
- "1521"
|
276
|
-
|
277
|
-
-
|
278
|
-
date:
|
279
|
-
- Fri, 11 Mar 2011 18:50:12 GMT
|
267
|
+
set-cookie:
|
268
|
+
- _recurly_session=7c67dece8d0af084e2ed956e2bd5c7f4; domain=.recurly.local; path=/; HttpOnly
|
280
269
|
connection:
|
281
270
|
- close
|
282
|
-
|
283
|
-
-
|
271
|
+
server:
|
272
|
+
- thin 1.2.7 codename No Hup
|
284
273
|
body: |
|
285
274
|
<?xml version="1.0" encoding="UTF-8"?>
|
286
275
|
<credits type="array">
|
287
276
|
<credit type="credit">
|
288
|
-
<id>
|
277
|
+
<id>ad5a7bf457244a598a93a196c54c7d9f</id>
|
289
278
|
<account_code>credit-list-1299714599</account_code>
|
290
279
|
<amount_in_cents type="integer">-300</amount_in_cents>
|
291
|
-
<start_date type="datetime">2011-03-
|
280
|
+
<start_date type="datetime">2011-03-18T18:50:36Z</start_date>
|
292
281
|
<end_date nil="true" type="datetime"></end_date>
|
293
282
|
<invoice_number nil="true" type="integer"></invoice_number>
|
294
283
|
<description>three</description>
|
295
|
-
<created_at type="datetime">2011-03-
|
284
|
+
<created_at type="datetime">2011-03-18T18:50:36Z</created_at>
|
296
285
|
</credit>
|
297
286
|
<credit type="credit">
|
298
|
-
<id>
|
287
|
+
<id>b43c6b3646054b27a621420dae68f9fc</id>
|
299
288
|
<account_code>credit-list-1299714599</account_code>
|
300
289
|
<amount_in_cents type="integer">-200</amount_in_cents>
|
301
|
-
<start_date type="datetime">2011-03-
|
290
|
+
<start_date type="datetime">2011-03-18T18:50:34Z</start_date>
|
302
291
|
<end_date nil="true" type="datetime"></end_date>
|
303
292
|
<invoice_number nil="true" type="integer"></invoice_number>
|
304
293
|
<description>two</description>
|
305
|
-
<created_at type="datetime">2011-03-
|
294
|
+
<created_at type="datetime">2011-03-18T18:50:34Z</created_at>
|
306
295
|
</credit>
|
307
296
|
<credit type="credit">
|
308
|
-
<id>
|
297
|
+
<id>4f108de951c24067b4439f697703c58b</id>
|
309
298
|
<account_code>credit-list-1299714599</account_code>
|
310
299
|
<amount_in_cents type="integer">-100</amount_in_cents>
|
311
|
-
<start_date type="datetime">2011-03-
|
300
|
+
<start_date type="datetime">2011-03-18T18:50:32Z</start_date>
|
312
301
|
<end_date nil="true" type="datetime"></end_date>
|
313
302
|
<invoice_number nil="true" type="integer"></invoice_number>
|
314
303
|
<description>one</description>
|
315
|
-
<created_at type="datetime">2011-03-
|
304
|
+
<created_at type="datetime">2011-03-18T18:50:32Z</created_at>
|
316
305
|
</credit>
|
317
306
|
</credits>
|
318
307
|
|