recurly 0.4.7 → 0.4.8

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 (77) hide show
  1. data/README.md +6 -0
  2. data/lib/recurly/base.rb +15 -14
  3. data/lib/recurly/subscription.rb +2 -0
  4. data/lib/recurly/version.rb +1 -1
  5. data/spec/config/recurly.yml +4 -10
  6. data/spec/integration/transparent_spec.rb +72 -0
  7. data/spec/unit/transparent_spec.rb +6 -6
  8. data/spec/vcr/account/accept-language-account/{1301979678.yml → 1296674173.yml} +16 -18
  9. data/spec/vcr/account/close/{1301979678.yml → 1296674173.yml} +37 -39
  10. data/spec/vcr/account/create-blank/{1301979678.yml → 1296674173.yml} +8 -12
  11. data/spec/vcr/account/create-duplicate/{1301979678.yml → 1296674173.yml} +21 -27
  12. data/spec/vcr/account/create-min/{1301979678.yml → 1296674173.yml} +16 -18
  13. data/spec/vcr/account/create/{1301979678.yml → 1296674173.yml} +16 -18
  14. data/spec/vcr/account/find/{1301979678.yml → 1296674173.yml} +36 -38
  15. data/spec/vcr/account/list/1296674173.yml +55 -0
  16. data/spec/vcr/account/update/{1301979678.yml → 1296674173.yml} +59 -65
  17. data/spec/vcr/billing/create/{1302025874.yml → 1296690812.yml} +43 -45
  18. data/spec/vcr/billing/destroy/{1302025874.yml → 1296690812.yml} +58 -60
  19. data/spec/vcr/billing/find/{1302025874.yml → 1296690812.yml} +56 -58
  20. data/spec/vcr/billing/update/{1302025874.yml → 1296690812.yml} +59 -61
  21. data/spec/vcr/charge/create/{1297746103.yml → 1296674173.yml} +58 -64
  22. data/spec/vcr/charge/delete-uninvoiced/{1297746103.yml → 1296674173.yml} +66 -72
  23. data/spec/vcr/charge/list-all/{1297746103.yml → 1296674173.yml} +77 -91
  24. data/spec/vcr/charge/list-invoiced/{1297746103.yml → 1296674173.yml} +115 -131
  25. data/spec/vcr/charge/list-pending/{1297746103.yml → 1296674173.yml} +77 -91
  26. data/spec/vcr/charge/lookup/{1297746103.yml → 1296674173.yml} +43 -49
  27. data/spec/vcr/coupon/create/1296688818.yml +183 -0
  28. data/spec/vcr/coupon/create/1296774903.yml +183 -0
  29. data/spec/vcr/coupon/destroy/1296688818.yml +207 -0
  30. data/spec/vcr/coupon/destroy/1296774903.yml +207 -0
  31. data/spec/vcr/{coupon/create/1299714521.yml → credit/create/1296674173.yml} +34 -32
  32. data/spec/vcr/{billing/errors/1302025874.yml → credit/delete/1296674173.yml} +33 -42
  33. data/spec/vcr/{coupon/destroy/1299714521.yml → credit/list/1296674173.yml} +35 -33
  34. data/spec/vcr/credit/lookup/1296674173.yml +121 -0
  35. data/spec/vcr/invoice/create-no-charges/{1297746103.yml → 1296674173.yml} +40 -42
  36. data/spec/vcr/invoice/create/{1297746103.yml → 1296674173.yml} +77 -83
  37. data/spec/vcr/invoice/list/{1297746103.yml → 1296674173.yml} +107 -113
  38. data/spec/vcr/invoice/lookup/{1297746103.yml → 1296674173.yml} +77 -81
  39. data/spec/vcr/plan/all.yml +117 -98
  40. data/spec/vcr/plan/delete/1296674173.yml +225 -0
  41. data/spec/vcr/plan/find.yml +66 -36
  42. data/spec/vcr/plan/update.yml +64 -144
  43. data/spec/vcr/subscription/addons/add/{1301885121.yml → 1296674173.yml} +58 -51
  44. data/spec/vcr/subscription/addons/create/{1301885121.yml → 1296674173.yml} +58 -51
  45. data/spec/vcr/subscription/addons/remove/{1301885121.yml → 1296674173.yml} +58 -51
  46. data/spec/vcr/subscription/cancel-with-code/{1301881900.yml → 1296674173.yml} +135 -133
  47. data/spec/vcr/subscription/cancel/{1301881900.yml → 1296674173.yml} +117 -114
  48. data/spec/vcr/subscription/change1/{1301881900.yml → 1296674173.yml} +113 -110
  49. data/spec/vcr/subscription/change2/{1301881900.yml → 1296674173.yml} +112 -109
  50. data/spec/vcr/subscription/create/{1301881900.yml → 1296674173.yml} +65 -59
  51. data/spec/vcr/subscription/find/{1301881900.yml → 1296674173.yml} +81 -76
  52. data/spec/vcr/subscription/reactivate/{1301881900.yml → 1296674173.yml} +127 -124
  53. data/spec/vcr/subscription/refund-full/1296674173.yml +400 -0
  54. data/spec/vcr/subscription/refund-none/{1301881900.yml → 1296674173.yml} +106 -102
  55. data/spec/vcr/subscription/refund-partial/1296674173.yml +400 -0
  56. data/spec/vcr/transaction/all/{1301883347.yml → 1296674173.yml} +126 -126
  57. data/spec/vcr/transaction/create-no-account/{1301883347.yml → 1296674173.yml} +16 -16
  58. data/spec/vcr/transaction/create-with-account/{1301883347.yml → 1296674173.yml} +45 -51
  59. data/spec/vcr/transaction/list-filled/{1301883347.yml → 1296674173.yml} +91 -221
  60. data/spec/vcr/transaction/list-initial/{1301883347.yml → 1296674173.yml} +44 -46
  61. data/spec/vcr/transaction/lookup/{1301883347.yml → 1296674173.yml} +107 -121
  62. data/spec/vcr/transaction/refund/{1301883347.yml → 1296674173.yml} +57 -63
  63. data/spec/vcr/transaction/void/{1301883347.yml → 1296674173.yml} +69 -75
  64. data/spec/vcr/transparent/post-url/1311127536.yml +0 -0
  65. data/spec/vcr/transparent/post-url/1311127583.yml +0 -0
  66. data/spec/vcr/transparent/post-url/1311128042.yml +0 -0
  67. data/spec/vcr/transparent/post-url/1311128073.yml +0 -0
  68. data/spec/vcr/transparent/post-url/1311128087.yml +0 -0
  69. metadata +97 -155
  70. data/spec/vcr/account/list/1301979678.yml +0 -1588
  71. data/spec/vcr/credit/create/1299714599.yml +0 -186
  72. data/spec/vcr/credit/delete/1299714599.yml +0 -265
  73. data/spec/vcr/credit/list/1299714599.yml +0 -330
  74. data/spec/vcr/credit/lookup/1299714599.yml +0 -186
  75. data/spec/vcr/subscription/refund-full/1301881900.yml +0 -334
  76. data/spec/vcr/subscription/refund-partial/1301881900.yml +0 -334
  77. data/spec/vcr/transparent/post-url/1301879142.yml +0 -129
@@ -1,186 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :post
5
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts.xml
6
- body: |
7
- <?xml version="1.0" encoding="UTF-8"?>
8
- <account>
9
- <account-code>credit-create-1299714599</account-code>
10
- <first-name>Verena</first-name>
11
- <last-name>Test</last-name>
12
- <email>verena@test.com</email>
13
- <company-name>Recurly Ruby Gem</company-name>
14
- <billing-info>
15
- <credit-card>
16
- </credit-card>
17
- </billing-info>
18
- <accept-language type="yaml" nil="true"></accept-language>
19
- </account>
20
-
21
- headers:
22
- authorization:
23
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
24
- user-agent:
25
- - Recurly Ruby Client v0.4.6
26
- content-type:
27
- - application/xml
28
- accept:
29
- - "*/*"
30
- connection:
31
- - close
32
- response: !ruby/struct:VCR::Response
33
- status: !ruby/struct:VCR::ResponseStatus
34
- code: 201
35
- message: "Created "
36
- headers:
37
- cache-control:
38
- - no-cache
39
- location:
40
- - http://app.recurly.local:3000/accounts/credit-create-1299714599
41
- x-runtime:
42
- - "257"
43
- content-type:
44
- - application/xml; charset=utf-8
45
- content-length:
46
- - "581"
47
- server:
48
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
49
- date:
50
- - Thu, 21 Apr 2011 18:00:56 GMT
51
- connection:
52
- - close
53
- set-cookie:
54
- - _recurly_session=35c8ff54ea1319e841c6db7ca411723c; domain=.recurly.local; path=/; HttpOnly
55
- body: |
56
- <?xml version="1.0" encoding="UTF-8"?>
57
- <account>
58
- <id>credit-create-1299714599</id>
59
- <account_code>credit-create-1299714599</account_code>
60
- <username></username>
61
- <email>verena@test.com</email>
62
- <first_name>Verena</first_name>
63
- <last_name>Test</last_name>
64
- <company_name>Recurly Ruby Gem</company_name>
65
- <balance_in_cents type="integer">0</balance_in_cents>
66
- <closed type="boolean">false</closed>
67
- <hosted_login_token>d4c6d411112d4d21b327696934482766</hosted_login_token>
68
- <created_at type="datetime">2011-04-21T18:00:56Z</created_at>
69
- <state>active</state>
70
- </account>
71
-
72
- http_version: "1.1"
73
- - !ruby/struct:VCR::HTTPInteraction
74
- request: !ruby/struct:VCR::Request
75
- method: :post
76
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/credit-create-1299714599/credits.xml
77
- body: |
78
- <?xml version="1.0" encoding="UTF-8"?>
79
- <credit>
80
- <amount-in-cents type="integer">1005</amount-in-cents>
81
- <description>free moniez</description>
82
- </credit>
83
-
84
- headers:
85
- authorization:
86
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
87
- user-agent:
88
- - Recurly Ruby Client v0.4.6
89
- content-type:
90
- - application/xml
91
- accept:
92
- - "*/*"
93
- connection:
94
- - close
95
- response: !ruby/struct:VCR::Response
96
- status: !ruby/struct:VCR::ResponseStatus
97
- code: 201
98
- message: "Created "
99
- headers:
100
- cache-control:
101
- - no-cache
102
- x-runtime:
103
- - "228"
104
- content-type:
105
- - application/xml; charset=utf-8
106
- content-length:
107
- - "620"
108
- server:
109
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
110
- date:
111
- - Thu, 21 Apr 2011 18:00:58 GMT
112
- connection:
113
- - close
114
- set-cookie:
115
- - _recurly_session=725dba5763cddc1361b1f2fb3428a295; domain=.recurly.local; path=/; HttpOnly
116
- body: |
117
- <?xml version="1.0" encoding="UTF-8"?>
118
- <credit type="credit">
119
- <id>91a6750c315642fd80be167ab3eee517</id>
120
- <account_code>credit-create-1299714599</account_code>
121
- <quantity type="integer">1</quantity>
122
- <unit_amount_in_cents type="integer">-1005</unit_amount_in_cents>
123
- <amount_in_cents type="integer">-1005</amount_in_cents>
124
- <start_date type="datetime">2011-04-21T18:00:58Z</start_date>
125
- <end_date nil="true" type="datetime"></end_date>
126
- <invoice_number nil="true" type="integer"></invoice_number>
127
- <description>free moniez</description>
128
- <created_at type="datetime">2011-04-21T18:00:58Z</created_at>
129
- </credit>
130
-
131
- http_version: "1.1"
132
- - !ruby/struct:VCR::HTTPInteraction
133
- request: !ruby/struct:VCR::Request
134
- method: :get
135
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/credit-create-1299714599/credits/91a6750c315642fd80be167ab3eee517.xml
136
- body:
137
- headers:
138
- authorization:
139
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
140
- user-agent:
141
- - Recurly Ruby Client v0.4.6
142
- accept:
143
- - application/xml
144
- accept-encoding:
145
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
146
- connection:
147
- - close
148
- response: !ruby/struct:VCR::Response
149
- status: !ruby/struct:VCR::ResponseStatus
150
- code: 200
151
- message: "OK "
152
- headers:
153
- x-runtime:
154
- - "265"
155
- content-type:
156
- - application/xml; charset=utf-8
157
- etag:
158
- - "\"4f25c9d75ae3556928f4088a3a5b3005\""
159
- cache-control:
160
- - private, max-age=0, must-revalidate
161
- content-length:
162
- - "620"
163
- server:
164
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
165
- date:
166
- - Thu, 21 Apr 2011 18:01:00 GMT
167
- connection:
168
- - close
169
- set-cookie:
170
- - _recurly_session=7de3b237d5a1a30d69ed6a6ca4537d15; domain=.recurly.local; path=/; HttpOnly
171
- body: |
172
- <?xml version="1.0" encoding="UTF-8"?>
173
- <credit type="credit">
174
- <id>91a6750c315642fd80be167ab3eee517</id>
175
- <account_code>credit-create-1299714599</account_code>
176
- <quantity type="integer">1</quantity>
177
- <unit_amount_in_cents type="integer">-1005</unit_amount_in_cents>
178
- <amount_in_cents type="integer">-1005</amount_in_cents>
179
- <start_date type="datetime">2011-04-21T18:00:58Z</start_date>
180
- <end_date nil="true" type="datetime"></end_date>
181
- <invoice_number nil="true" type="integer"></invoice_number>
182
- <description>free moniez</description>
183
- <created_at type="datetime">2011-04-21T18:00:58Z</created_at>
184
- </credit>
185
-
186
- http_version: "1.1"
@@ -1,265 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :post
5
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts.xml
6
- body: |
7
- <?xml version="1.0" encoding="UTF-8"?>
8
- <account>
9
- <account-code>delete-uninvoiced-1299714599</account-code>
10
- <first-name>Verena</first-name>
11
- <last-name>Test</last-name>
12
- <email>verena@test.com</email>
13
- <company-name>Recurly Ruby Gem</company-name>
14
- <billing-info>
15
- <credit-card>
16
- </credit-card>
17
- </billing-info>
18
- <accept-language type="yaml" nil="true"></accept-language>
19
- </account>
20
-
21
- headers:
22
- authorization:
23
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
24
- user-agent:
25
- - Recurly Ruby Client v0.4.6
26
- content-type:
27
- - application/xml
28
- accept:
29
- - "*/*"
30
- connection:
31
- - close
32
- response: !ruby/struct:VCR::Response
33
- status: !ruby/struct:VCR::ResponseStatus
34
- code: 201
35
- message: "Created "
36
- headers:
37
- cache-control:
38
- - no-cache
39
- location:
40
- - http://app.recurly.local:3000/accounts/delete-uninvoiced-1299714599
41
- x-runtime:
42
- - "393"
43
- content-type:
44
- - application/xml; charset=utf-8
45
- content-length:
46
- - "589"
47
- server:
48
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
49
- date:
50
- - Thu, 21 Apr 2011 18:01:18 GMT
51
- connection:
52
- - close
53
- set-cookie:
54
- - _recurly_session=71544810f977e892ebe80284a61c8708; domain=.recurly.local; path=/; HttpOnly
55
- body: |
56
- <?xml version="1.0" encoding="UTF-8"?>
57
- <account>
58
- <id>delete-uninvoiced-1299714599</id>
59
- <account_code>delete-uninvoiced-1299714599</account_code>
60
- <username></username>
61
- <email>verena@test.com</email>
62
- <first_name>Verena</first_name>
63
- <last_name>Test</last_name>
64
- <company_name>Recurly Ruby Gem</company_name>
65
- <balance_in_cents type="integer">0</balance_in_cents>
66
- <closed type="boolean">false</closed>
67
- <hosted_login_token>56fd5e4badcc4e4197a30869b90e0b54</hosted_login_token>
68
- <created_at type="datetime">2011-04-21T18:01:18Z</created_at>
69
- <state>active</state>
70
- </account>
71
-
72
- http_version: "1.1"
73
- - !ruby/struct:VCR::HTTPInteraction
74
- request: !ruby/struct:VCR::Request
75
- method: :post
76
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits.xml
77
- body: |
78
- <?xml version="1.0" encoding="UTF-8"?>
79
- <credit>
80
- <amount-in-cents type="integer">1315</amount-in-cents>
81
- <description>free moniez 4 u</description>
82
- </credit>
83
-
84
- headers:
85
- authorization:
86
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
87
- user-agent:
88
- - Recurly Ruby Client v0.4.6
89
- content-type:
90
- - application/xml
91
- accept:
92
- - "*/*"
93
- connection:
94
- - close
95
- response: !ruby/struct:VCR::Response
96
- status: !ruby/struct:VCR::ResponseStatus
97
- code: 201
98
- message: "Created "
99
- headers:
100
- cache-control:
101
- - no-cache
102
- x-runtime:
103
- - "225"
104
- content-type:
105
- - application/xml; charset=utf-8
106
- content-length:
107
- - "628"
108
- server:
109
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
110
- date:
111
- - Thu, 21 Apr 2011 18:01:20 GMT
112
- connection:
113
- - close
114
- set-cookie:
115
- - _recurly_session=d9cf29c96623628999dcc5441d9ceee1; domain=.recurly.local; path=/; HttpOnly
116
- body: |
117
- <?xml version="1.0" encoding="UTF-8"?>
118
- <credit type="credit">
119
- <id>b54aa06bd10b4e5fa309a13a207d9b55</id>
120
- <account_code>delete-uninvoiced-1299714599</account_code>
121
- <quantity type="integer">1</quantity>
122
- <unit_amount_in_cents type="integer">-1315</unit_amount_in_cents>
123
- <amount_in_cents type="integer">-1315</amount_in_cents>
124
- <start_date type="datetime">2011-04-21T18:01:20Z</start_date>
125
- <end_date nil="true" type="datetime"></end_date>
126
- <invoice_number nil="true" type="integer"></invoice_number>
127
- <description>free moniez 4 u</description>
128
- <created_at type="datetime">2011-04-21T18:01:20Z</created_at>
129
- </credit>
130
-
131
- http_version: "1.1"
132
- - !ruby/struct:VCR::HTTPInteraction
133
- request: !ruby/struct:VCR::Request
134
- method: :get
135
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/b54aa06bd10b4e5fa309a13a207d9b55.xml
136
- body:
137
- headers:
138
- authorization:
139
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
140
- user-agent:
141
- - Recurly Ruby Client v0.4.6
142
- accept:
143
- - application/xml
144
- accept-encoding:
145
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
146
- connection:
147
- - close
148
- response: !ruby/struct:VCR::Response
149
- status: !ruby/struct:VCR::ResponseStatus
150
- code: 200
151
- message: "OK "
152
- headers:
153
- x-runtime:
154
- - "208"
155
- content-type:
156
- - application/xml; charset=utf-8
157
- etag:
158
- - "\"1b40ed0e99572fc8b88504262e26af7b\""
159
- cache-control:
160
- - private, max-age=0, must-revalidate
161
- content-length:
162
- - "628"
163
- server:
164
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
165
- date:
166
- - Thu, 21 Apr 2011 18:01:22 GMT
167
- connection:
168
- - close
169
- set-cookie:
170
- - _recurly_session=295cf08984104c14dc103e7f18fa5787; domain=.recurly.local; path=/; HttpOnly
171
- body: |
172
- <?xml version="1.0" encoding="UTF-8"?>
173
- <credit type="credit">
174
- <id>b54aa06bd10b4e5fa309a13a207d9b55</id>
175
- <account_code>delete-uninvoiced-1299714599</account_code>
176
- <quantity type="integer">1</quantity>
177
- <unit_amount_in_cents type="integer">-1315</unit_amount_in_cents>
178
- <amount_in_cents type="integer">-1315</amount_in_cents>
179
- <start_date type="datetime">2011-04-21T18:01:20Z</start_date>
180
- <end_date nil="true" type="datetime"></end_date>
181
- <invoice_number nil="true" type="integer"></invoice_number>
182
- <description>free moniez 4 u</description>
183
- <created_at type="datetime">2011-04-21T18:01:20Z</created_at>
184
- </credit>
185
-
186
- http_version: "1.1"
187
- - !ruby/struct:VCR::HTTPInteraction
188
- request: !ruby/struct:VCR::Request
189
- method: :delete
190
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/b54aa06bd10b4e5fa309a13a207d9b55.xml
191
- body:
192
- headers:
193
- authorization:
194
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
195
- user-agent:
196
- - Recurly Ruby Client v0.4.6
197
- accept:
198
- - application/xml
199
- connection:
200
- - close
201
- response: !ruby/struct:VCR::Response
202
- status: !ruby/struct:VCR::ResponseStatus
203
- code: 200
204
- message: "OK "
205
- headers:
206
- cache-control:
207
- - no-cache
208
- x-runtime:
209
- - "203"
210
- content-type:
211
- - application/xml; charset=utf-8
212
- content-length:
213
- - "1"
214
- server:
215
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
216
- date:
217
- - Thu, 21 Apr 2011 18:01:23 GMT
218
- connection:
219
- - close
220
- set-cookie:
221
- - _recurly_session=a8b14eb86f12ba5b783000492061872a; domain=.recurly.local; path=/; HttpOnly
222
- body: " "
223
- http_version: "1.1"
224
- - !ruby/struct:VCR::HTTPInteraction
225
- request: !ruby/struct:VCR::Request
226
- method: :get
227
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/delete-uninvoiced-1299714599/credits/b54aa06bd10b4e5fa309a13a207d9b55.xml
228
- body:
229
- headers:
230
- authorization:
231
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
232
- user-agent:
233
- - Recurly Ruby Client v0.4.6
234
- accept:
235
- - application/xml
236
- accept-encoding:
237
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
238
- connection:
239
- - close
240
- response: !ruby/struct:VCR::Response
241
- status: !ruby/struct:VCR::ResponseStatus
242
- code: 404
243
- message: "Not Found "
244
- headers:
245
- cache-control:
246
- - no-cache
247
- content-type:
248
- - application/xml; charset=utf-8
249
- content-length:
250
- - "92"
251
- server:
252
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
253
- date:
254
- - Thu, 21 Apr 2011 18:01:25 GMT
255
- connection:
256
- - close
257
- set-cookie:
258
- - _recurly_session=f25524ebdc17c840d1480c2d3878a15e; domain=.recurly.local; path=/; HttpOnly
259
- body: |
260
- <?xml version="1.0" encoding="UTF-8"?>
261
- <errors>
262
- <error>Credit not found</error>
263
- </errors>
264
-
265
- http_version: "1.1"