recurly 0.2.3 → 0.2.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.

Files changed (80) hide show
  1. data/lib/recurly.rb +1 -0
  2. data/lib/recurly/charge.rb +6 -0
  3. data/lib/recurly/subscription.rb +23 -5
  4. data/lib/recurly/version.rb +1 -1
  5. data/spec/integration/charge_spec.rb +45 -0
  6. data/spec/integration/credit_spec.rb +19 -0
  7. data/spec/integration/subscription_spec.rb +62 -9
  8. data/spec/vcr/account/close/1287167046.yml +15 -15
  9. data/spec/vcr/account/create-blank/1287167046.yml +3 -3
  10. data/spec/vcr/account/create-duplicate/1287167046.yml +8 -8
  11. data/spec/vcr/account/create-min/1287167046.yml +6 -6
  12. data/spec/vcr/account/create/1287167046.yml +6 -6
  13. data/spec/vcr/account/find/1287167046.yml +14 -14
  14. data/spec/vcr/account/list/1287167046.yml +101 -101
  15. data/spec/vcr/account/update/1287167046.yml +26 -26
  16. data/spec/vcr/billing/create/1286682213.yml +15 -15
  17. data/spec/vcr/billing/destroy/1286682213.yml +23 -23
  18. data/spec/vcr/billing/find/1286682213.yml +21 -21
  19. data/spec/vcr/billing/update/1286682213.yml +21 -21
  20. data/spec/vcr/charge/create/1286681273.yml +24 -24
  21. data/spec/vcr/charge/delete-uninvoiced/1287460783.yml +246 -0
  22. data/spec/vcr/charge/list-all/1286681273.yml +37 -37
  23. data/spec/vcr/charge/list-invoiced/1286681273.yml +62 -62
  24. data/spec/vcr/charge/list-pending/1286681273.yml +37 -37
  25. data/spec/vcr/charge/lookup/1286681273.yml +20 -20
  26. data/spec/vcr/credit/create/1286681343.yml +20 -20
  27. data/spec/vcr/credit/create/1287460732.yml +171 -0
  28. data/spec/vcr/credit/create/1287461340.yml +171 -0
  29. data/spec/vcr/credit/delete-invoiced/1287460732.yml +233 -0
  30. data/spec/vcr/credit/delete-invoiced/1287461340.yml +283 -0
  31. data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +246 -0
  32. data/spec/vcr/credit/delete-uninvoiced/1287460732.yml +246 -0
  33. data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +221 -0
  34. data/spec/vcr/credit/list/1286681343.yml +36 -36
  35. data/spec/vcr/credit/list/1287460732.yml +299 -0
  36. data/spec/vcr/credit/list/1287461340.yml +299 -0
  37. data/spec/vcr/credit/lookup/1286681343.yml +20 -20
  38. data/spec/vcr/credit/lookup/1287460732.yml +171 -0
  39. data/spec/vcr/credit/lookup/1287461340.yml +171 -0
  40. data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
  41. data/spec/vcr/invoice/create/1287167121.yml +36 -36
  42. data/spec/vcr/invoice/list/1287167121.yml +52 -52
  43. data/spec/vcr/invoice/lookup/1287167121.yml +38 -38
  44. data/spec/vcr/plan/all.yml +9 -9
  45. data/spec/vcr/plan/delete/1286677585.yml +16 -16
  46. data/spec/vcr/plan/find.yml +9 -9
  47. data/spec/vcr/plan/update.yml +9 -9
  48. data/spec/vcr/subscription/{cancel/1287442108.yml → cancel-with-code/1287455769.yml} +124 -65
  49. data/spec/vcr/subscription/cancel/{1287439446.yml → 1287455769.yml} +59 -59
  50. data/spec/vcr/subscription/change1/{1287442352.yml → 1287455769.yml} +56 -56
  51. data/spec/vcr/subscription/change2/{1287442352.yml → 1287455769.yml} +56 -56
  52. data/spec/vcr/subscription/create/{1287442352.yml → 1287455769.yml} +25 -25
  53. data/spec/vcr/subscription/find/{1287442108.yml → 1287455769.yml} +36 -36
  54. data/spec/vcr/subscription/{cancel/1287442352.yml → reactivate/1287455769.yml} +107 -66
  55. data/spec/vcr/subscription/refund-full/{1287442108.yml → 1287455769.yml} +50 -50
  56. data/spec/vcr/subscription/{refund-full/1287439446.yml → refund-none/1287455769.yml} +51 -51
  57. data/spec/vcr/subscription/refund-partial/{1287442108.yml → 1287455769.yml} +50 -50
  58. data/spec/vcr/transaction/all/1287186411.yml +80 -80
  59. data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
  60. data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
  61. data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
  62. data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
  63. data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
  64. data/spec/vcr/transaction/refund/1287186411.yml +24 -24
  65. data/spec/vcr/transaction/void/1287186411.yml +60 -60
  66. metadata +67 -56
  67. data/spec/vcr/subscription/change1/1287439446.yml +0 -409
  68. data/spec/vcr/subscription/change1/1287442108.yml +0 -409
  69. data/spec/vcr/subscription/change2/1287439446.yml +0 -409
  70. data/spec/vcr/subscription/change2/1287442108.yml +0 -409
  71. data/spec/vcr/subscription/create/1287439446.yml +0 -224
  72. data/spec/vcr/subscription/create/1287442108.yml +0 -224
  73. data/spec/vcr/subscription/find/1287439446.yml +0 -283
  74. data/spec/vcr/subscription/find/1287442352.yml +0 -283
  75. data/spec/vcr/subscription/refund-full/1287442352.yml +0 -382
  76. data/spec/vcr/subscription/refund-none/1287439446.yml +0 -382
  77. data/spec/vcr/subscription/refund-none/1287442108.yml +0 -382
  78. data/spec/vcr/subscription/refund-none/1287442352.yml +0 -382
  79. data/spec/vcr/subscription/refund-partial/1287439446.yml +0 -382
  80. data/spec/vcr/subscription/refund-partial/1287442352.yml +0 -382
@@ -0,0 +1,246 @@
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-uninvoiced-1287459796</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-uninvoiced-1287459796
32
+ connection:
33
+ - close
34
+ content-type:
35
+ - application/xml; charset=utf-8
36
+ x-runtime:
37
+ - "622"
38
+ date:
39
+ - Tue, 19 Oct 2010 03:43:33 GMT
40
+ server:
41
+ - nginx/0.7.65
42
+ content-length:
43
+ - "589"
44
+ set-cookie:
45
+ - account_credentials=76f00fd70724d30b134ae96b0a812953d32c6f678e772b70f7cc941ebb670f90ecd437a42ac4dc7d1f19dd08b6936a0273784e4ee8c3a69153d291ea0d1a3687%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
+ - ""
47
+ - _recurly_session=37ff4c040ceb1ef880a1dc2f3a4bfdf6; 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-uninvoiced-1287459796</id>
54
+ <account_code>delete-uninvoiced-1287459796</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>1ff1ffe324ab4d4e84cc1edbf00a2ab6</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T03:43:33Z</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-uninvoiced-1287459796/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
+ - "49"
99
+ date:
100
+ - Tue, 19 Oct 2010 03:43:34 GMT
101
+ server:
102
+ - nginx/0.7.65
103
+ content-length:
104
+ - "458"
105
+ set-cookie:
106
+ - _recurly_session=b82aa70284891877ad3fb4bdfe322eb2; 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>c784314edb9a42cf959ab4e50bde6d33</id>
113
+ <account_code>delete-uninvoiced-1287459796</account_code>
114
+ <amount_in_cents type="integer">-1315</amount_in_cents>
115
+ <start_date type="datetime">2010-10-19T03:43:34Z</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-19T03:43:34Z</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-uninvoiced-1287459796/credits/c784314edb9a42cf959ab4e50bde6d33.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
+ - "\"f55e1a077af520db61913d7bcff17a5f\""
143
+ connection:
144
+ - close
145
+ content-type:
146
+ - application/xml; charset=utf-8
147
+ x-runtime:
148
+ - "16"
149
+ date:
150
+ - Tue, 19 Oct 2010 03:43:34 GMT
151
+ server:
152
+ - nginx/0.7.65
153
+ content-length:
154
+ - "458"
155
+ set-cookie:
156
+ - _recurly_session=772c25796ffbc39e542c2184bcaa0f7a; 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>c784314edb9a42cf959ab4e50bde6d33</id>
163
+ <account_code>delete-uninvoiced-1287459796</account_code>
164
+ <amount_in_cents type="integer">-1315</amount_in_cents>
165
+ <start_date type="datetime">2010-10-19T03:43:34Z</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-19T03:43:34Z</created_at>
169
+ </credit>
170
+
171
+ http_version: "1.1"
172
+ - !ruby/struct:VCR::HTTPInteraction
173
+ request: !ruby/struct:VCR::Request
174
+ method: :delete
175
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287459796/credits/c784314edb9a42cf959ab4e50bde6d33.xml
176
+ body:
177
+ headers:
178
+ accept:
179
+ - application/xml
180
+ connection:
181
+ - close
182
+ authorization:
183
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
184
+ response: !ruby/struct:VCR::Response
185
+ status: !ruby/struct:VCR::ResponseStatus
186
+ code: 200
187
+ message: OK
188
+ headers:
189
+ x-ua-compatible:
190
+ - IE=Edge
191
+ connection:
192
+ - close
193
+ content-type:
194
+ - application/xml; charset=utf-8
195
+ x-runtime:
196
+ - "214"
197
+ date:
198
+ - Tue, 19 Oct 2010 03:43:35 GMT
199
+ server:
200
+ - nginx/0.7.65
201
+ content-length:
202
+ - "1"
203
+ set-cookie:
204
+ - _recurly_session=3f2a4d5b22b045d4f8cc459b9707d256; domain=.recurly.com; path=/; Secure; HttpOnly
205
+ cache-control:
206
+ - no-cache
207
+ body: " "
208
+ http_version: "1.1"
209
+ - !ruby/struct:VCR::HTTPInteraction
210
+ request: !ruby/struct:VCR::Request
211
+ method: :get
212
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287459796/credits/c784314edb9a42cf959ab4e50bde6d33.xml
213
+ body:
214
+ headers:
215
+ accept:
216
+ - application/xml
217
+ connection:
218
+ - close
219
+ authorization:
220
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
221
+ response: !ruby/struct:VCR::Response
222
+ status: !ruby/struct:VCR::ResponseStatus
223
+ code: 404
224
+ message: Not Found
225
+ headers:
226
+ connection:
227
+ - close
228
+ content-type:
229
+ - application/xml; charset=utf-8
230
+ date:
231
+ - Tue, 19 Oct 2010 03:43:36 GMT
232
+ server:
233
+ - nginx/0.7.65
234
+ content-length:
235
+ - "92"
236
+ set-cookie:
237
+ - _recurly_session=6dc7a5a32eab32a5e46adf84817288ca; domain=.recurly.com; path=/; Secure; HttpOnly
238
+ cache-control:
239
+ - no-cache
240
+ body: |
241
+ <?xml version="1.0" encoding="UTF-8"?>
242
+ <errors>
243
+ <error>Credit not found</error>
244
+ </errors>
245
+
246
+ http_version: "1.1"
@@ -0,0 +1,246 @@
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-uninvoiced-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-uninvoiced-1287460732
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 04:07:52 GMT
40
+ server:
41
+ - nginx/0.7.65
42
+ content-length:
43
+ - "589"
44
+ set-cookie:
45
+ - account_credentials=a3e0edc64930a882c1260cc15cb90155563046fd10168af19c2ffcf0caa282e0ab6d41e4f37638d313d5babf5e067822cd907b83350f500fc81852efd90dc8e2%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
+ - ""
47
+ - _recurly_session=6d6760cf56db0c7f2fbaf9f05bd4ded9; 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-uninvoiced-1287460732</id>
54
+ <account_code>delete-uninvoiced-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>db8e4f9d79804f858d1b640a0c88ffcb</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T04:07:52Z</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-uninvoiced-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
+ - "48"
99
+ date:
100
+ - Tue, 19 Oct 2010 04:07:53 GMT
101
+ server:
102
+ - nginx/0.7.65
103
+ content-length:
104
+ - "458"
105
+ set-cookie:
106
+ - _recurly_session=22fb218df1116e1fcf9d99481582aa08; 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>08d37c86bff84eb7aa5dd88f18edc49b</id>
113
+ <account_code>delete-uninvoiced-1287460732</account_code>
114
+ <amount_in_cents type="integer">-1315</amount_in_cents>
115
+ <start_date type="datetime">2010-10-19T04:07:53Z</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:53Z</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-uninvoiced-1287460732/credits/08d37c86bff84eb7aa5dd88f18edc49b.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
+ - "\"4674cf840cdf126fe0895e1da639efbb\""
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 04:07:53 GMT
151
+ server:
152
+ - nginx/0.7.65
153
+ content-length:
154
+ - "458"
155
+ set-cookie:
156
+ - _recurly_session=8a103af422ff872b27e2b40fad2fc6eb; 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>08d37c86bff84eb7aa5dd88f18edc49b</id>
163
+ <account_code>delete-uninvoiced-1287460732</account_code>
164
+ <amount_in_cents type="integer">-1315</amount_in_cents>
165
+ <start_date type="datetime">2010-10-19T04:07:53Z</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:53Z</created_at>
169
+ </credit>
170
+
171
+ http_version: "1.1"
172
+ - !ruby/struct:VCR::HTTPInteraction
173
+ request: !ruby/struct:VCR::Request
174
+ method: :delete
175
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287460732/credits/08d37c86bff84eb7aa5dd88f18edc49b.xml
176
+ body:
177
+ headers:
178
+ accept:
179
+ - application/xml
180
+ connection:
181
+ - close
182
+ authorization:
183
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
184
+ response: !ruby/struct:VCR::Response
185
+ status: !ruby/struct:VCR::ResponseStatus
186
+ code: 200
187
+ message: OK
188
+ headers:
189
+ x-ua-compatible:
190
+ - IE=Edge
191
+ connection:
192
+ - close
193
+ content-type:
194
+ - application/xml; charset=utf-8
195
+ x-runtime:
196
+ - "41"
197
+ date:
198
+ - Tue, 19 Oct 2010 04:07:54 GMT
199
+ server:
200
+ - nginx/0.7.65
201
+ content-length:
202
+ - "1"
203
+ set-cookie:
204
+ - _recurly_session=1a8b82004d469044920e48fa8fb1530d; domain=.recurly.com; path=/; Secure; HttpOnly
205
+ cache-control:
206
+ - no-cache
207
+ body: " "
208
+ http_version: "1.1"
209
+ - !ruby/struct:VCR::HTTPInteraction
210
+ request: !ruby/struct:VCR::Request
211
+ method: :get
212
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287460732/credits/08d37c86bff84eb7aa5dd88f18edc49b.xml
213
+ body:
214
+ headers:
215
+ accept:
216
+ - application/xml
217
+ connection:
218
+ - close
219
+ authorization:
220
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
221
+ response: !ruby/struct:VCR::Response
222
+ status: !ruby/struct:VCR::ResponseStatus
223
+ code: 404
224
+ message: Not Found
225
+ headers:
226
+ connection:
227
+ - close
228
+ content-type:
229
+ - application/xml; charset=utf-8
230
+ date:
231
+ - Tue, 19 Oct 2010 04:07:55 GMT
232
+ server:
233
+ - nginx/0.7.65
234
+ content-length:
235
+ - "92"
236
+ set-cookie:
237
+ - _recurly_session=6c9524776733bef355e8e73ae6950744; domain=.recurly.com; path=/; Secure; HttpOnly
238
+ cache-control:
239
+ - no-cache
240
+ body: |
241
+ <?xml version="1.0" encoding="UTF-8"?>
242
+ <errors>
243
+ <error>Credit not found</error>
244
+ </errors>
245
+
246
+ http_version: "1.1"