recurly 0.4.8 → 0.4.10

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 (114) hide show
  1. data/README.md +2 -2
  2. data/lib/recurly.rb +2 -1
  3. data/lib/recurly/account.rb +2 -2
  4. data/lib/recurly/base.rb +30 -12
  5. data/lib/recurly/billing_info.rb +2 -2
  6. data/lib/recurly/exceptions.rb +13 -0
  7. data/lib/recurly/plan.rb +1 -1
  8. data/lib/recurly/subscription.rb +2 -2
  9. data/lib/recurly/transaction.rb +2 -2
  10. data/lib/recurly/transparent.rb +1 -1
  11. data/lib/recurly/verification.rb +77 -0
  12. data/lib/recurly/version.rb +1 -1
  13. data/spec/config/recurly.yml +4 -4
  14. data/spec/integration/account_spec.rb +12 -0
  15. data/spec/integration/billing_info_spec.rb +2 -2
  16. data/spec/integration/charge_spec.rb +0 -1
  17. data/spec/integration/plan_spec.rb +2 -2
  18. data/spec/support/vcr.rb +2 -2
  19. data/spec/unit/verification_spec.rb +76 -0
  20. data/spec/vcr/account/accept-language-account/1313708721.yml +39 -0
  21. data/spec/vcr/account/close/1313708721.yml +104 -0
  22. data/spec/vcr/account/create-blank/1313708721.yml +33 -0
  23. data/spec/vcr/account/create-duplicate/1313708721.yml +69 -0
  24. data/spec/vcr/account/create-min/1313708721.yml +38 -0
  25. data/spec/vcr/account/create/1313708721.yml +39 -0
  26. data/spec/vcr/account/find/1313708721.yml +107 -0
  27. data/spec/vcr/account/list/1313708721.yml +878 -0
  28. data/spec/vcr/account/update/1313708721.yml +158 -0
  29. data/spec/vcr/billing/create/1313708721.yml +118 -0
  30. data/spec/vcr/billing/destroy/1313708721.yml +177 -0
  31. data/spec/vcr/billing/errors/1313708721.yml +71 -0
  32. data/spec/vcr/billing/find/1313708721.yml +156 -0
  33. data/spec/vcr/billing/update/1313708721.yml +159 -0
  34. data/spec/vcr/charge/create/1313708721.yml +153 -0
  35. data/spec/vcr/charge/delete-uninvoiced/1313708721.yml +206 -0
  36. data/spec/vcr/charge/list-all/1313708721.yml +198 -0
  37. data/spec/vcr/charge/list-invoiced/1313708721.yml +294 -0
  38. data/spec/vcr/charge/list-pending/1313708721.yml +200 -0
  39. data/spec/vcr/charge/lookup/1313708721.yml +112 -0
  40. data/spec/vcr/coupon/create/1296774903.yml +96 -170
  41. data/spec/vcr/coupon/destroy/1296774903.yml +114 -190
  42. data/spec/vcr/credit/create/1313708090.yml +112 -0
  43. data/spec/vcr/credit/delete/1313708090.yml +171 -0
  44. data/spec/vcr/credit/list/1313708090.yml +198 -0
  45. data/spec/vcr/credit/lookup/1313708090.yml +112 -0
  46. data/spec/vcr/invoice/create-no-charges/1296674173.yml +100 -185
  47. data/spec/vcr/invoice/create/1296674173.yml +182 -328
  48. data/spec/vcr/invoice/list/1296674173.yml +255 -442
  49. data/spec/vcr/invoice/lookup/1296674173.yml +187 -331
  50. data/spec/vcr/plan/all.yml +210 -253
  51. data/spec/vcr/plan/find.yml +115 -187
  52. data/spec/vcr/plan/update.yml +105 -187
  53. data/spec/vcr/subscription/addons/add/1296674173.yml +269 -212
  54. data/spec/vcr/subscription/addons/create/1296674173.yml +172 -212
  55. data/spec/vcr/subscription/addons/remove/1296674173.yml +257 -212
  56. data/spec/vcr/subscription/cancel-with-code/1296674173.yml +271 -452
  57. data/spec/vcr/subscription/cancel/1296674173.yml +234 -394
  58. data/spec/vcr/subscription/change1/1296674173.yml +237 -402
  59. data/spec/vcr/subscription/change2/1296674173.yml +238 -402
  60. data/spec/vcr/subscription/create/1296674173.yml +123 -221
  61. data/spec/vcr/subscription/find/1296674173.yml +161 -279
  62. data/spec/vcr/subscription/reactivate/1296674173.yml +261 -431
  63. data/spec/vcr/subscription/refund-full/1296674173.yml +223 -373
  64. data/spec/vcr/subscription/refund-none/1296674173.yml +223 -373
  65. data/spec/vcr/subscription/refund-partial/1296674173.yml +223 -373
  66. data/spec/vcr/transaction/all/1311126815.yml +215 -0
  67. data/spec/vcr/transaction/create-no-account/1311126815.yml +51 -0
  68. data/spec/vcr/transaction/create-with-account/1311126815.yml +125 -0
  69. data/spec/vcr/transaction/list-filled/1311126815.yml +349 -0
  70. data/spec/vcr/transaction/list-initial/1311126815.yml +123 -0
  71. data/spec/vcr/transaction/lookup/1311126815.yml +335 -0
  72. data/spec/vcr/transaction/refund/1311126815.yml +163 -0
  73. data/spec/vcr/transaction/void/1311126815.yml +215 -0
  74. data/spec/vcr/transparent/post-url/1311239470.yml +76 -0
  75. metadata +207 -154
  76. data/spec/vcr/account/accept-language-account/1296674173.yml +0 -70
  77. data/spec/vcr/account/close/1296674173.yml +0 -164
  78. data/spec/vcr/account/create-blank/1296674173.yml +0 -52
  79. data/spec/vcr/account/create-duplicate/1296674173.yml +0 -116
  80. data/spec/vcr/account/create-min/1296674173.yml +0 -66
  81. data/spec/vcr/account/create/1296674173.yml +0 -70
  82. data/spec/vcr/account/find/1296674173.yml +0 -169
  83. data/spec/vcr/account/list/1296674173.yml +0 -55
  84. data/spec/vcr/account/update/1296674173.yml +0 -258
  85. data/spec/vcr/billing/create/1296690812.yml +0 -215
  86. data/spec/vcr/billing/destroy/1296690812.yml +0 -294
  87. data/spec/vcr/billing/find/1296690812.yml +0 -280
  88. data/spec/vcr/billing/update/1296690812.yml +0 -297
  89. data/spec/vcr/charge/create/1296674173.yml +0 -262
  90. data/spec/vcr/charge/delete-uninvoiced/1296674173.yml +0 -307
  91. data/spec/vcr/charge/list-all/1296674173.yml +0 -316
  92. data/spec/vcr/charge/list-invoiced/1296674173.yml +0 -468
  93. data/spec/vcr/charge/list-pending/1296674173.yml +0 -316
  94. data/spec/vcr/charge/lookup/1296674173.yml +0 -180
  95. data/spec/vcr/coupon/create/1296688818.yml +0 -183
  96. data/spec/vcr/coupon/destroy/1296688818.yml +0 -207
  97. data/spec/vcr/credit/create/1296674173.yml +0 -121
  98. data/spec/vcr/credit/delete/1296674173.yml +0 -121
  99. data/spec/vcr/credit/list/1296674173.yml +0 -121
  100. data/spec/vcr/credit/lookup/1296674173.yml +0 -121
  101. data/spec/vcr/plan/delete/1296674173.yml +0 -225
  102. data/spec/vcr/transaction/all/1296674173.yml +0 -389
  103. data/spec/vcr/transaction/create-no-account/1296674173.yml +0 -93
  104. data/spec/vcr/transaction/create-with-account/1296674173.yml +0 -225
  105. data/spec/vcr/transaction/list-filled/1296674173.yml +0 -487
  106. data/spec/vcr/transaction/list-initial/1296674173.yml +0 -217
  107. data/spec/vcr/transaction/lookup/1296674173.yml +0 -563
  108. data/spec/vcr/transaction/refund/1296674173.yml +0 -287
  109. data/spec/vcr/transaction/void/1296674173.yml +0 -352
  110. data/spec/vcr/transparent/post-url/1311127536.yml +0 -0
  111. data/spec/vcr/transparent/post-url/1311127583.yml +0 -0
  112. data/spec/vcr/transparent/post-url/1311128042.yml +0 -0
  113. data/spec/vcr/transparent/post-url/1311128073.yml +0 -0
  114. data/spec/vcr/transparent/post-url/1311128087.yml +0 -0
@@ -1,215 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :post
5
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts.xml
6
- body: |
7
- <?xml version="1.0" encoding="UTF-8"?>
8
- <account>
9
- <account-code>billing-create-1296690812</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
- <accept-language type="yaml" nil="true"></accept-language>
15
- </account>
16
-
17
- headers:
18
- authorization:
19
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
20
- content-type:
21
- - application/xml
22
- accept:
23
- - "*/*"
24
- user-agent:
25
- - Ruby
26
- connection:
27
- - close
28
- response: !ruby/struct:VCR::Response
29
- status: !ruby/struct:VCR::ResponseStatus
30
- code: 201
31
- message: "Created "
32
- headers:
33
- cache-control:
34
- - no-cache
35
- location:
36
- - http://litle-test.recurly.local:3000/accounts/billing-create-1296690812
37
- x-runtime:
38
- - "567"
39
- content-type:
40
- - application/xml; charset=utf-8
41
- content-length:
42
- - "583"
43
- server:
44
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
45
- date:
46
- - Thu, 03 Feb 2011 22:17:35 GMT
47
- connection:
48
- - close
49
- set-cookie:
50
- - account_credentials=77dcf8ab494a55d7b3636364e614969e304c8e2997790d887bf7ca34815b2112fa69d41325f3d59c7a8242fedc00d1a6ea3c4a2f17066d21d97573685c34766c%3A%3A; domain=.recurly.local; path=/
51
- - ""
52
- - _recurly_session=f16a0de60d6c3ea515d2f891bd1f4238; domain=.recurly.local; path=/; HttpOnly
53
- body: |
54
- <?xml version="1.0" encoding="UTF-8"?>
55
- <account>
56
- <id>billing-create-1296690812</id>
57
- <account_code>billing-create-1296690812</account_code>
58
- <username></username>
59
- <email>verena@test.com</email>
60
- <first_name>Verena</first_name>
61
- <last_name>Test</last_name>
62
- <company_name>Recurly Ruby Gem</company_name>
63
- <balance_in_cents type="integer">0</balance_in_cents>
64
- <closed type="boolean">false</closed>
65
- <hosted_login_token>75ccfa5806c24a72a9c2903d3d388704</hosted_login_token>
66
- <created_at type="datetime">2011-02-03T22:17:35Z</created_at>
67
- <state>active</state>
68
- </account>
69
-
70
- http_version: "1.1"
71
- - !ruby/struct:VCR::HTTPInteraction
72
- request: !ruby/struct:VCR::Request
73
- method: :put
74
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/billing-create-1296690812/billing_info.xml
75
- body: |
76
- <?xml version="1.0" encoding="UTF-8"?>
77
- <billing-info>
78
- <address1>123 Test St</address1>
79
- <city>San Francisco</city>
80
- <state>CA</state>
81
- <zip>94115</zip>
82
- <country>US</country>
83
- <credit-card>
84
- <number>4111111111111111</number>
85
- <year type="integer">2012</year>
86
- <month type="integer">2</month>
87
- <verification-value>123</verification-value>
88
- </credit-card>
89
- <first-name>Verena</first-name>
90
- <last-name>Test</last-name>
91
- </billing-info>
92
-
93
- headers:
94
- authorization:
95
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
96
- content-type:
97
- - application/xml
98
- accept:
99
- - "*/*"
100
- user-agent:
101
- - Ruby
102
- connection:
103
- - close
104
- response: !ruby/struct:VCR::Response
105
- status: !ruby/struct:VCR::ResponseStatus
106
- code: 200
107
- message: "OK "
108
- headers:
109
- x-runtime:
110
- - "1948"
111
- content-type:
112
- - application/xml; charset=utf-8
113
- etag:
114
- - "\"10ff1483237e6a5ba6858791ad9022f5\""
115
- cache-control:
116
- - private, max-age=0, must-revalidate
117
- content-length:
118
- - "640"
119
- server:
120
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
121
- date:
122
- - Thu, 03 Feb 2011 22:17:38 GMT
123
- connection:
124
- - close
125
- set-cookie:
126
- - _recurly_session=7f6ddd47fdecd10f30b736a022f82099; domain=.recurly.local; path=/; HttpOnly
127
- body: |
128
- <?xml version="1.0" encoding="UTF-8"?>
129
- <billing_info>
130
- <account_code>billing-create-1296690812</account_code>
131
- <first_name>Verena</first_name>
132
- <last_name>Test</last_name>
133
- <address1>123 Test St</address1>
134
- <address2></address2>
135
- <city>San Francisco</city>
136
- <state>CA</state>
137
- <country>US</country>
138
- <zip>94115</zip>
139
- <phone></phone>
140
- <vat_number></vat_number>
141
- <ip_address></ip_address>
142
- <credit_card>
143
- <type>visa</type>
144
- <last_four>1111</last_four>
145
- <month type="integer">2</month>
146
- <year type="integer">2012</year>
147
- </credit_card>
148
- <updated_at type="datetime">2011-02-03T22:17:38Z</updated_at>
149
- </billing_info>
150
-
151
- http_version: "1.1"
152
- - !ruby/struct:VCR::HTTPInteraction
153
- request: !ruby/struct:VCR::Request
154
- method: :get
155
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/billing-create-1296690812/billing_info.xml
156
- body:
157
- headers:
158
- authorization:
159
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
160
- accept:
161
- - application/xml
162
- accept-encoding:
163
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
164
- user-agent:
165
- - Ruby
166
- connection:
167
- - close
168
- response: !ruby/struct:VCR::Response
169
- status: !ruby/struct:VCR::ResponseStatus
170
- code: 200
171
- message: "OK "
172
- headers:
173
- x-runtime:
174
- - "190"
175
- content-type:
176
- - application/xml; charset=utf-8
177
- etag:
178
- - "\"10ff1483237e6a5ba6858791ad9022f5\""
179
- cache-control:
180
- - private, max-age=0, must-revalidate
181
- content-length:
182
- - "640"
183
- server:
184
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
185
- date:
186
- - Thu, 03 Feb 2011 22:17:40 GMT
187
- connection:
188
- - close
189
- set-cookie:
190
- - _recurly_session=2c73c7e77fc44905c47ddb066a2f0baa; domain=.recurly.local; path=/; HttpOnly
191
- body: |
192
- <?xml version="1.0" encoding="UTF-8"?>
193
- <billing_info>
194
- <account_code>billing-create-1296690812</account_code>
195
- <first_name>Verena</first_name>
196
- <last_name>Test</last_name>
197
- <address1>123 Test St</address1>
198
- <address2></address2>
199
- <city>San Francisco</city>
200
- <state>CA</state>
201
- <country>US</country>
202
- <zip>94115</zip>
203
- <phone></phone>
204
- <vat_number></vat_number>
205
- <ip_address></ip_address>
206
- <credit_card>
207
- <type>visa</type>
208
- <last_four>1111</last_four>
209
- <month type="integer">2</month>
210
- <year type="integer">2012</year>
211
- </credit_card>
212
- <updated_at type="datetime">2011-02-03T22:17:38Z</updated_at>
213
- </billing_info>
214
-
215
- http_version: "1.1"
@@ -1,294 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :post
5
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts.xml
6
- body: |
7
- <?xml version="1.0" encoding="UTF-8"?>
8
- <account>
9
- <account-code>billing-destroy-1296690812</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
- <accept-language type="yaml" nil="true"></accept-language>
15
- </account>
16
-
17
- headers:
18
- authorization:
19
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
20
- content-type:
21
- - application/xml
22
- accept:
23
- - "*/*"
24
- user-agent:
25
- - Ruby
26
- connection:
27
- - close
28
- response: !ruby/struct:VCR::Response
29
- status: !ruby/struct:VCR::ResponseStatus
30
- code: 201
31
- message: "Created "
32
- headers:
33
- cache-control:
34
- - no-cache
35
- location:
36
- - http://litle-test.recurly.local:3000/accounts/billing-destroy-1296690812
37
- x-runtime:
38
- - "595"
39
- content-type:
40
- - application/xml; charset=utf-8
41
- content-length:
42
- - "585"
43
- server:
44
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
45
- date:
46
- - Thu, 03 Feb 2011 22:18:03 GMT
47
- connection:
48
- - close
49
- set-cookie:
50
- - account_credentials=93e6f6c32d955929f0859c3f38eac91f30183a7905867e0cce05547cba192f5f2898e59c627b477ab4d4bd73987cb0fa3bbbece9f91a2c8cf074f4acb2831766%3A%3A; domain=.recurly.local; path=/
51
- - ""
52
- - _recurly_session=ae4ca057d8a9d9a1178f524b0b033e58; domain=.recurly.local; path=/; HttpOnly
53
- body: |
54
- <?xml version="1.0" encoding="UTF-8"?>
55
- <account>
56
- <id>billing-destroy-1296690812</id>
57
- <account_code>billing-destroy-1296690812</account_code>
58
- <username></username>
59
- <email>verena@test.com</email>
60
- <first_name>Verena</first_name>
61
- <last_name>Test</last_name>
62
- <company_name>Recurly Ruby Gem</company_name>
63
- <balance_in_cents type="integer">0</balance_in_cents>
64
- <closed type="boolean">false</closed>
65
- <hosted_login_token>67a96ce98c214a668110df8578f8db3d</hosted_login_token>
66
- <created_at type="datetime">2011-02-03T22:18:02Z</created_at>
67
- <state>active</state>
68
- </account>
69
-
70
- http_version: "1.1"
71
- - !ruby/struct:VCR::HTTPInteraction
72
- request: !ruby/struct:VCR::Request
73
- method: :put
74
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/billing-destroy-1296690812/billing_info.xml
75
- body: |
76
- <?xml version="1.0" encoding="UTF-8"?>
77
- <billing-info>
78
- <address1>500 South Central Blvd</address1>
79
- <city>Los Angeles</city>
80
- <state>CA</state>
81
- <zip>90001</zip>
82
- <country>US</country>
83
- <credit-card>
84
- <number>4111111111111111</number>
85
- <year type="integer">2012</year>
86
- <month type="integer">2</month>
87
- <verification-value>123</verification-value>
88
- </credit-card>
89
- <first-name>Verena</first-name>
90
- <last-name>Test</last-name>
91
- </billing-info>
92
-
93
- headers:
94
- authorization:
95
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
96
- content-type:
97
- - application/xml
98
- accept:
99
- - "*/*"
100
- user-agent:
101
- - Ruby
102
- connection:
103
- - close
104
- response: !ruby/struct:VCR::Response
105
- status: !ruby/struct:VCR::ResponseStatus
106
- code: 200
107
- message: "OK "
108
- headers:
109
- x-runtime:
110
- - "1605"
111
- content-type:
112
- - application/xml; charset=utf-8
113
- etag:
114
- - "\"bb1a681a4f4acadcbc37d7ad16a40435\""
115
- cache-control:
116
- - private, max-age=0, must-revalidate
117
- content-length:
118
- - "650"
119
- server:
120
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
121
- date:
122
- - Thu, 03 Feb 2011 22:18:06 GMT
123
- connection:
124
- - close
125
- set-cookie:
126
- - _recurly_session=ee7cd3d81974c875e96f6d601f8dab42; domain=.recurly.local; path=/; HttpOnly
127
- body: |
128
- <?xml version="1.0" encoding="UTF-8"?>
129
- <billing_info>
130
- <account_code>billing-destroy-1296690812</account_code>
131
- <first_name>Verena</first_name>
132
- <last_name>Test</last_name>
133
- <address1>500 South Central Blvd</address1>
134
- <address2></address2>
135
- <city>Los Angeles</city>
136
- <state>CA</state>
137
- <country>US</country>
138
- <zip>90001</zip>
139
- <phone></phone>
140
- <vat_number></vat_number>
141
- <ip_address></ip_address>
142
- <credit_card>
143
- <type>visa</type>
144
- <last_four>1111</last_four>
145
- <month type="integer">2</month>
146
- <year type="integer">2012</year>
147
- </credit_card>
148
- <updated_at type="datetime">2011-02-03T22:18:06Z</updated_at>
149
- </billing_info>
150
-
151
- http_version: "1.1"
152
- - !ruby/struct:VCR::HTTPInteraction
153
- request: !ruby/struct:VCR::Request
154
- method: :get
155
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/billing-destroy-1296690812/billing_info.xml
156
- body:
157
- headers:
158
- authorization:
159
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
160
- accept:
161
- - application/xml
162
- accept-encoding:
163
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
164
- user-agent:
165
- - Ruby
166
- connection:
167
- - close
168
- response: !ruby/struct:VCR::Response
169
- status: !ruby/struct:VCR::ResponseStatus
170
- code: 200
171
- message: "OK "
172
- headers:
173
- x-runtime:
174
- - "196"
175
- content-type:
176
- - application/xml; charset=utf-8
177
- etag:
178
- - "\"bb1a681a4f4acadcbc37d7ad16a40435\""
179
- cache-control:
180
- - private, max-age=0, must-revalidate
181
- content-length:
182
- - "650"
183
- server:
184
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
185
- date:
186
- - Thu, 03 Feb 2011 22:18:08 GMT
187
- connection:
188
- - close
189
- set-cookie:
190
- - _recurly_session=143d5f0b58665853add2731a45150ac4; domain=.recurly.local; path=/; HttpOnly
191
- body: |
192
- <?xml version="1.0" encoding="UTF-8"?>
193
- <billing_info>
194
- <account_code>billing-destroy-1296690812</account_code>
195
- <first_name>Verena</first_name>
196
- <last_name>Test</last_name>
197
- <address1>500 South Central Blvd</address1>
198
- <address2></address2>
199
- <city>Los Angeles</city>
200
- <state>CA</state>
201
- <country>US</country>
202
- <zip>90001</zip>
203
- <phone></phone>
204
- <vat_number></vat_number>
205
- <ip_address></ip_address>
206
- <credit_card>
207
- <type>visa</type>
208
- <last_four>1111</last_four>
209
- <month type="integer">2</month>
210
- <year type="integer">2012</year>
211
- </credit_card>
212
- <updated_at type="datetime">2011-02-03T22:18:06Z</updated_at>
213
- </billing_info>
214
-
215
- http_version: "1.1"
216
- - !ruby/struct:VCR::HTTPInteraction
217
- request: !ruby/struct:VCR::Request
218
- method: :delete
219
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/billing-destroy-1296690812/billing_info.xml
220
- body:
221
- headers:
222
- authorization:
223
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
224
- accept:
225
- - application/xml
226
- user-agent:
227
- - Ruby
228
- connection:
229
- - close
230
- response: !ruby/struct:VCR::Response
231
- status: !ruby/struct:VCR::ResponseStatus
232
- code: 200
233
- message: "OK "
234
- headers:
235
- cache-control:
236
- - no-cache
237
- x-runtime:
238
- - "190"
239
- content-type:
240
- - application/xml; charset=utf-8
241
- content-length:
242
- - "1"
243
- server:
244
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
245
- date:
246
- - Thu, 03 Feb 2011 22:18:10 GMT
247
- connection:
248
- - close
249
- set-cookie:
250
- - _recurly_session=219cd71e1be898c6ff7315a4b5c25b04; domain=.recurly.local; path=/; HttpOnly
251
- body: " "
252
- http_version: "1.1"
253
- - !ruby/struct:VCR::HTTPInteraction
254
- request: !ruby/struct:VCR::Request
255
- method: :get
256
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/billing-destroy-1296690812/billing_info.xml
257
- body:
258
- headers:
259
- authorization:
260
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
261
- accept:
262
- - application/xml
263
- accept-encoding:
264
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
265
- user-agent:
266
- - Ruby
267
- connection:
268
- - close
269
- response: !ruby/struct:VCR::Response
270
- status: !ruby/struct:VCR::ResponseStatus
271
- code: 404
272
- message: "Not Found "
273
- headers:
274
- cache-control:
275
- - no-cache
276
- content-type:
277
- - application/xml; charset=utf-8
278
- content-length:
279
- - "98"
280
- server:
281
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
282
- date:
283
- - Thu, 03 Feb 2011 22:18:11 GMT
284
- connection:
285
- - close
286
- set-cookie:
287
- - _recurly_session=b95c4c1ecaca97e519eb1296da39c410; domain=.recurly.local; path=/; HttpOnly
288
- body: |
289
- <?xml version="1.0" encoding="UTF-8"?>
290
- <errors>
291
- <error>Billing Info not found</error>
292
- </errors>
293
-
294
- http_version: "1.1"