recurly 0.4.11 → 0.4.13

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 (70) hide show
  1. data/README.md +4 -8
  2. data/lib/recurly.rb +10 -19
  3. data/lib/recurly/config_parser.rb +5 -2
  4. data/lib/recurly/plan.rb +0 -1
  5. data/lib/recurly/rails3/recurly.rake +10 -26
  6. data/lib/recurly/transparent.rb +2 -0
  7. data/lib/recurly/verification.rb +14 -8
  8. data/lib/recurly/version.rb +1 -1
  9. data/spec/config/recurly.yml +3 -3
  10. data/spec/config/test1.yml +1 -3
  11. data/spec/config/test2.yml +2 -6
  12. data/spec/unit/config_spec.rb +9 -16
  13. data/spec/unit/transparent_spec.rb +0 -20
  14. data/spec/unit/verification_spec.rb +15 -9
  15. data/spec/vcr/account/accept-language-account/1313708721.yml +52 -31
  16. data/spec/vcr/account/close/1313708721.yml +107 -79
  17. data/spec/vcr/account/create-blank/1313708721.yml +37 -26
  18. data/spec/vcr/account/create-duplicate/1313708721.yml +83 -54
  19. data/spec/vcr/account/create-min/1313708721.yml +48 -30
  20. data/spec/vcr/account/create/1313708721.yml +52 -31
  21. data/spec/vcr/account/find/1313708721.yml +111 -81
  22. data/spec/vcr/account/list/1313708721.yml +1148 -719
  23. data/spec/vcr/account/update/1313708721.yml +182 -124
  24. data/spec/vcr/billing/create/1313708721.yml +156 -93
  25. data/spec/vcr/billing/destroy/1313708721.yml +198 -135
  26. data/spec/vcr/billing/errors/1313708721.yml +91 -56
  27. data/spec/vcr/billing/find/1313708721.yml +200 -122
  28. data/spec/vcr/billing/update/1313708721.yml +218 -126
  29. data/spec/vcr/charge/create/1313708721.yml +189 -120
  30. data/spec/vcr/charge/delete-uninvoiced/1313708721.yml +195 -154
  31. data/spec/vcr/charge/list-all/1313708721.yml +235 -157
  32. data/spec/vcr/charge/list-invoiced/1313708721.yml +351 -234
  33. data/spec/vcr/charge/list-pending/1313708721.yml +235 -159
  34. data/spec/vcr/charge/lookup/1313708721.yml +127 -87
  35. data/spec/vcr/coupon/create/1296774903.yml +83 -95
  36. data/spec/vcr/coupon/destroy/1296774903.yml +81 -115
  37. data/spec/vcr/credit/create/1313708090.yml +127 -87
  38. data/spec/vcr/credit/delete/1313708090.yml +169 -129
  39. data/spec/vcr/credit/list/1313708090.yml +235 -157
  40. data/spec/vcr/credit/lookup/1313708090.yml +127 -87
  41. data/spec/vcr/invoice/create-no-charges/1296674173.yml +140 -89
  42. data/spec/vcr/invoice/create/1296674173.yml +259 -162
  43. data/spec/vcr/invoice/list/1296674173.yml +342 -227
  44. data/spec/vcr/invoice/lookup/1296674173.yml +260 -167
  45. data/spec/vcr/plan/all.yml +206 -198
  46. data/spec/vcr/plan/find.yml +109 -103
  47. data/spec/vcr/plan/update.yml +126 -93
  48. data/spec/vcr/subscription/addons/add/1296674173.yml +156 -261
  49. data/spec/vcr/subscription/addons/create/1296674173.yml +156 -164
  50. data/spec/vcr/subscription/addons/remove/1296674173.yml +156 -249
  51. data/spec/vcr/subscription/cancel-with-code/1296674173.yml +340 -243
  52. data/spec/vcr/subscription/cancel/1296674173.yml +297 -210
  53. data/spec/vcr/subscription/change1/1296674173.yml +303 -213
  54. data/spec/vcr/subscription/change2/1296674173.yml +303 -214
  55. data/spec/vcr/subscription/create/1296674173.yml +167 -111
  56. data/spec/vcr/subscription/find/1296674173.yml +210 -145
  57. data/spec/vcr/subscription/reactivate/1296674173.yml +318 -233
  58. data/spec/vcr/subscription/refund-full/1296674173.yml +277 -199
  59. data/spec/vcr/subscription/refund-none/1296674173.yml +277 -199
  60. data/spec/vcr/subscription/refund-partial/1296674173.yml +277 -199
  61. data/spec/vcr/transaction/all/1311126815.yml +388 -206
  62. data/spec/vcr/transaction/create-no-account/1311126815.yml +74 -43
  63. data/spec/vcr/transaction/create-with-account/1311126815.yml +172 -101
  64. data/spec/vcr/transaction/list-filled/1311126815.yml +486 -291
  65. data/spec/vcr/transaction/list-initial/1311126815.yml +159 -98
  66. data/spec/vcr/transaction/lookup/1311126815.yml +420 -268
  67. data/spec/vcr/transaction/void/1311126815.yml +280 -174
  68. metadata +109 -77
  69. data/spec/vcr/transaction/refund/1311126815.yml +0 -163
  70. data/spec/vcr/transparent/post-url/1311239470.yml +0 -76
metadata CHANGED
@@ -1,101 +1,132 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: recurly
3
- version: !ruby/object:Gem::Version
4
- version: 0.4.11
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 4
8
+ - 13
9
+ version: 0.4.13
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Isaac Hall
9
13
  - Jacques Crocker
10
14
  autorequire:
11
15
  bindir: bin
12
16
  cert_chain: []
13
- date: 2011-08-23 00:00:00.000000000Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2011-09-22 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
16
22
  name: activeresource
17
- requirement: &70280248981960 !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
18
24
  none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: '2.3'
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 2
30
+ - 3
31
+ version: "2.3"
23
32
  type: :runtime
24
33
  prerelease: false
25
- version_requirements: *70280248981960
26
- - !ruby/object:Gem::Dependency
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
27
36
  name: activesupport
28
- requirement: &70280248980760 !ruby/object:Gem::Requirement
37
+ requirement: &id002 !ruby/object:Gem::Requirement
29
38
  none: false
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: '2.3'
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 2
44
+ - 3
45
+ version: "2.3"
34
46
  type: :runtime
35
47
  prerelease: false
36
- version_requirements: *70280248980760
37
- - !ruby/object:Gem::Dependency
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
38
50
  name: addressable
39
- requirement: &70280248979740 !ruby/object:Gem::Requirement
51
+ requirement: &id003 !ruby/object:Gem::Requirement
40
52
  none: false
41
- requirements:
42
- - - ! '>='
43
- - !ruby/object:Gem::Version
44
- version: '2.2'
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ segments:
57
+ - 2
58
+ - 2
59
+ version: "2.2"
45
60
  type: :runtime
46
61
  prerelease: false
47
- version_requirements: *70280248979740
48
- - !ruby/object:Gem::Dependency
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
49
64
  name: nokogiri
50
- requirement: &70280248978520 !ruby/object:Gem::Requirement
65
+ requirement: &id004 !ruby/object:Gem::Requirement
51
66
  none: false
52
- requirements:
53
- - - ! '>='
54
- - !ruby/object:Gem::Version
55
- version: '1.4'
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ segments:
71
+ - 1
72
+ - 4
73
+ version: "1.4"
56
74
  type: :runtime
57
75
  prerelease: false
58
- version_requirements: *70280248978520
59
- - !ruby/object:Gem::Dependency
76
+ version_requirements: *id004
77
+ - !ruby/object:Gem::Dependency
60
78
  name: rspec
61
- requirement: &70280248976840 !ruby/object:Gem::Requirement
79
+ requirement: &id005 !ruby/object:Gem::Requirement
62
80
  none: false
63
- requirements:
64
- - - ! '>='
65
- - !ruby/object:Gem::Version
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ segments:
85
+ - 2
86
+ - 0
87
+ - 0
88
+ - beta
89
+ - 22
66
90
  version: 2.0.0.beta.22
67
91
  type: :development
68
92
  prerelease: false
69
- version_requirements: *70280248976840
70
- - !ruby/object:Gem::Dependency
93
+ version_requirements: *id005
94
+ - !ruby/object:Gem::Dependency
71
95
  name: webmock
72
- requirement: &70280248976080 !ruby/object:Gem::Requirement
96
+ requirement: &id006 !ruby/object:Gem::Requirement
73
97
  none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ segments:
102
+ - 0
103
+ version: "0"
78
104
  type: :development
79
105
  prerelease: false
80
- version_requirements: *70280248976080
81
- - !ruby/object:Gem::Dependency
106
+ version_requirements: *id006
107
+ - !ruby/object:Gem::Dependency
82
108
  name: vcr
83
- requirement: &70280248975360 !ruby/object:Gem::Requirement
109
+ requirement: &id007 !ruby/object:Gem::Requirement
84
110
  none: false
85
- requirements:
86
- - - ! '>='
87
- - !ruby/object:Gem::Version
88
- version: '0'
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ segments:
115
+ - 0
116
+ version: "0"
89
117
  type: :development
90
118
  prerelease: false
91
- version_requirements: *70280248975360
119
+ version_requirements: *id007
92
120
  description: A Ruby API wrapper for Recurly. Super Simple Subscription billing.
93
- email:
121
+ email:
94
122
  - support@recurly.com
95
123
  executables: []
124
+
96
125
  extensions: []
126
+
97
127
  extra_rdoc_files: []
98
- files:
128
+
129
+ files:
99
130
  - lib/patches/rails2/active_resource/connection.rb
100
131
  - lib/patches/rails3/active_resource/connection.rb
101
132
  - lib/recurly/account.rb
@@ -203,38 +234,41 @@ files:
203
234
  - spec/vcr/transaction/list-filled/1311126815.yml
204
235
  - spec/vcr/transaction/list-initial/1311126815.yml
205
236
  - spec/vcr/transaction/lookup/1311126815.yml
206
- - spec/vcr/transaction/refund/1311126815.yml
207
237
  - spec/vcr/transaction/void/1311126815.yml
208
- - spec/vcr/transparent/post-url/1311239470.yml
238
+ has_rdoc: true
209
239
  homepage: http://github.com/recurly/recurly-client-ruby
210
240
  licenses: []
241
+
211
242
  post_install_message:
212
- rdoc_options:
243
+ rdoc_options:
213
244
  - --charset=UTF-8
214
- require_paths:
245
+ require_paths:
215
246
  - lib
216
- required_ruby_version: !ruby/object:Gem::Requirement
247
+ required_ruby_version: !ruby/object:Gem::Requirement
217
248
  none: false
218
- requirements:
219
- - - ! '>='
220
- - !ruby/object:Gem::Version
221
- version: '0'
222
- segments:
249
+ requirements:
250
+ - - ">="
251
+ - !ruby/object:Gem::Version
252
+ hash: 3357233877088955129
253
+ segments:
223
254
  - 0
224
- hash: -1038571415540134196
225
- required_rubygems_version: !ruby/object:Gem::Requirement
255
+ version: "0"
256
+ required_rubygems_version: !ruby/object:Gem::Requirement
226
257
  none: false
227
- requirements:
228
- - - ! '>='
229
- - !ruby/object:Gem::Version
230
- version: '0'
258
+ requirements:
259
+ - - ">="
260
+ - !ruby/object:Gem::Version
261
+ segments:
262
+ - 0
263
+ version: "0"
231
264
  requirements: []
265
+
232
266
  rubyforge_project: recurly
233
- rubygems_version: 1.8.8
267
+ rubygems_version: 1.3.7
234
268
  signing_key:
235
269
  specification_version: 3
236
270
  summary: Ruby API wrapper for Recurly
237
- test_files:
271
+ test_files:
238
272
  - spec/config/recurly.yml
239
273
  - spec/config/test1.yml
240
274
  - spec/config/test2.yml
@@ -315,6 +349,4 @@ test_files:
315
349
  - spec/vcr/transaction/list-filled/1311126815.yml
316
350
  - spec/vcr/transaction/list-initial/1311126815.yml
317
351
  - spec/vcr/transaction/lookup/1311126815.yml
318
- - spec/vcr/transaction/refund/1311126815.yml
319
352
  - spec/vcr/transaction/void/1311126815.yml
320
- - spec/vcr/transparent/post-url/1311239470.yml
@@ -1,163 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :post
5
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
6
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>transaction-refund-1311126815</account-code>\n
7
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
8
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
9
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
10
- headers:
11
- user-agent:
12
- - Recurly Ruby Client v0.4.10
13
- content-type:
14
- - application/xml
15
- response: !ruby/struct:VCR::Response
16
- status: !ruby/struct:VCR::ResponseStatus
17
- code: 201
18
- message: Created
19
- headers:
20
- location:
21
- - http://app.lvh.me:3000/accounts/transaction-refund-1311126815
22
- content-type:
23
- - application/xml; charset=utf-8
24
- cache-control:
25
- - no-cache
26
- x-ua-compatible:
27
- - IE=Edge
28
- set-cookie:
29
- - _recurly_session=719701500fd919d00744fbd32adafa6d; domain=.lvh.me; path=/;
30
- HttpOnly
31
- server:
32
- - thin 1.2.11 codename Bat-Shit Crazy
33
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>transaction-refund-1311126815</id>\n
34
- \ <account_code>transaction-refund-1311126815</account_code>\n <username></username>\n
35
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
36
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
37
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>617ddbe9209d4ce7a042cdad9567c672</hosted_login_token>\n
38
- \ <created_at type=\"datetime\">2011-08-19T20:03:19Z</created_at>\n <state>active</state>\n</account>\n"
39
- http_version: '1.1'
40
- - !ruby/struct:VCR::HTTPInteraction
41
- request: !ruby/struct:VCR::Request
42
- method: :put
43
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/transaction-refund-1311126815/billing_info.xml
44
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<billing-info>\n <first-name>Verena</first-name>\n
45
- \ <last-name>Test</last-name>\n <address1>123 Test St</address1>\n <city>San
46
- Francisco</city>\n <state>CA</state>\n <zip>94115</zip>\n <country>US</country>\n
47
- \ <credit-card>\n <number>4111111111111111</number>\n <year type=\"integer\">2012</year>\n
48
- \ <month type=\"integer\">8</month>\n <verification-value>123</verification-value>\n
49
- \ </credit-card>\n <account-code>transaction-refund-1311126815</account-code>\n</billing-info>\n"
50
- headers:
51
- user-agent:
52
- - Recurly Ruby Client v0.4.10
53
- content-type:
54
- - application/xml
55
- response: !ruby/struct:VCR::Response
56
- status: !ruby/struct:VCR::ResponseStatus
57
- code: 200
58
- message: OK
59
- headers:
60
- content-type:
61
- - application/xml; charset=utf-8
62
- etag:
63
- - ! '"835d66a3a9661c3d1515b351ec6bc8ee"'
64
- cache-control:
65
- - max-age=0, private, must-revalidate
66
- x-ua-compatible:
67
- - IE=Edge
68
- set-cookie:
69
- - _recurly_session=51124094eb3d250e757347d9984a6d51; domain=.lvh.me; path=/;
70
- HttpOnly
71
- server:
72
- - thin 1.2.11 codename Bat-Shit Crazy
73
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<billing_info>\n <account_code>transaction-refund-1311126815</account_code>\n
74
- \ <first_name>Verena</first_name>\n <last_name>Test</last_name>\n <address1>123
75
- Test St</address1>\n <address2></address2>\n <city>San Francisco</city>\n
76
- \ <state>CA</state>\n <country>US</country>\n <zip>94115</zip>\n <phone></phone>\n
77
- \ <vat_number></vat_number>\n <ip_address></ip_address>\n <credit_card>\n
78
- \ <type>visa</type>\n <last_four>1111</last_four>\n <month type=\"integer\">8</month>\n
79
- \ <year type=\"integer\">2012</year>\n </credit_card>\n <updated_at type=\"datetime\">2011-08-19T20:03:22Z</updated_at>\n</billing_info>\n"
80
- http_version: '1.1'
81
- - !ruby/struct:VCR::HTTPInteraction
82
- request: !ruby/struct:VCR::Request
83
- method: :post
84
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/transactions.xml
85
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<transaction>\n <account>\n
86
- \ <account-code>transaction-refund-1311126815</account-code>\n <billing-info>\n
87
- \ <credit-card>\n </credit-card>\n </billing-info>\n </account>\n
88
- \ <amount-in-cents type=\"integer\">1000</amount-in-cents>\n <description>one</description>\n</transaction>\n"
89
- headers:
90
- user-agent:
91
- - Recurly Ruby Client v0.4.10
92
- content-type:
93
- - application/xml
94
- response: !ruby/struct:VCR::Response
95
- status: !ruby/struct:VCR::ResponseStatus
96
- code: 201
97
- message: Created
98
- headers:
99
- location:
100
- - http://app.lvh.me:3000/transactions/bf1e04bcc73542eeb96553f93331f3f7
101
- content-type:
102
- - application/xml; charset=utf-8
103
- cache-control:
104
- - no-cache
105
- x-ua-compatible:
106
- - IE=Edge
107
- set-cookie:
108
- - _recurly_session=c92561a61c3fc7a95111be1798b8a11f; domain=.lvh.me; path=/;
109
- HttpOnly
110
- server:
111
- - thin 1.2.11 codename Bat-Shit Crazy
112
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<transaction type=\"Payment\">\n
113
- \ <id>bf1e04bcc73542eeb96553f93331f3f7</id>\n <account_code>transaction-refund-1311126815</account_code>\n
114
- \ <action>purchase</action>\n <date type=\"datetime\">2011-08-19T20:03:23Z</date>\n
115
- \ <amount_in_cents type=\"integer\">1000</amount_in_cents>\n <currency>USD</currency>\n
116
- \ <status>success</status>\n <message>Test Gateway: Successful test transaction</message>\n
117
- \ <reference>12345</reference>\n <cvv_result code=\"M\">Match</cvv_result>\n
118
- \ <avs_result code=\"D\">Street address and postal code match.</avs_result>\n
119
- \ <avs_result_street>Y</avs_result_street>\n <avs_result_postal>Y</avs_result_postal>\n
120
- \ <test type=\"boolean\">true</test>\n <voidable type=\"boolean\">true</voidable>\n
121
- \ <refundable type=\"boolean\">true</refundable>\n <credit_card>\n <type>visa</type>\n
122
- \ <last_four>1111</last_four>\n </credit_card>\n</transaction>\n"
123
- http_version: '1.1'
124
- - !ruby/struct:VCR::HTTPInteraction
125
- request: !ruby/struct:VCR::Request
126
- method: :delete
127
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/transactions/bf1e04bcc73542eeb96553f93331f3f7.xml?action=refund&amount_in_cents=1000
128
- body: !!null
129
- headers:
130
- user-agent:
131
- - Recurly Ruby Client v0.4.10
132
- accept:
133
- - application/xml
134
- response: !ruby/struct:VCR::Response
135
- status: !ruby/struct:VCR::ResponseStatus
136
- code: 200
137
- message: OK
138
- headers:
139
- content-type:
140
- - application/xml; charset=utf-8
141
- etag:
142
- - ! '"7e0eef11c9a635b6e60ca59e26710ebf"'
143
- cache-control:
144
- - max-age=0, private, must-revalidate
145
- x-ua-compatible:
146
- - IE=Edge
147
- set-cookie:
148
- - _recurly_session=149d04926372877b5f835ac60d57924c; domain=.lvh.me; path=/;
149
- HttpOnly
150
- server:
151
- - thin 1.2.11 codename Bat-Shit Crazy
152
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<transaction type=\"Payment\">\n
153
- \ <id>bf1e04bcc73542eeb96553f93331f3f7</id>\n <account_code>transaction-refund-1311126815</account_code>\n
154
- \ <action>purchase</action>\n <date type=\"datetime\">2011-08-19T20:03:23Z</date>\n
155
- \ <amount_in_cents type=\"integer\">1000</amount_in_cents>\n <currency>USD</currency>\n
156
- \ <status>void</status>\n <message>Test Gateway: Successful test transaction</message>\n
157
- \ <reference>12345</reference>\n <cvv_result code=\"M\">Match</cvv_result>\n
158
- \ <avs_result code=\"D\">Street address and postal code match.</avs_result>\n
159
- \ <avs_result_street>Y</avs_result_street>\n <avs_result_postal>Y</avs_result_postal>\n
160
- \ <test type=\"boolean\">true</test>\n <voidable type=\"boolean\">false</voidable>\n
161
- \ <refundable type=\"boolean\">false</refundable>\n <credit_card>\n <type>visa</type>\n
162
- \ <last_four>1111</last_four>\n </credit_card>\n</transaction>\n"
163
- http_version: '1.1'
@@ -1,76 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :post
5
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
6
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-get-1311239470</account-code>\n
7
- \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
8
- \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
9
- \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
10
- headers:
11
- user-agent:
12
- - Recurly Ruby Client v0.4.10
13
- content-type:
14
- - application/xml
15
- response: !ruby/struct:VCR::Response
16
- status: !ruby/struct:VCR::ResponseStatus
17
- code: 201
18
- message: Created
19
- headers:
20
- location:
21
- - http://app.lvh.me:3000/accounts/account-get-1311239470
22
- content-type:
23
- - application/xml; charset=utf-8
24
- cache-control:
25
- - no-cache
26
- x-ua-compatible:
27
- - IE=Edge
28
- set-cookie:
29
- - _recurly_session=24850fcb933b5afa605151ca42468f05; domain=.lvh.me; path=/;
30
- HttpOnly
31
- server:
32
- - thin 1.2.11 codename Bat-Shit Crazy
33
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-get-1311239470</id>\n
34
- \ <account_code>account-get-1311239470</account_code>\n <username></username>\n
35
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
36
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
37
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>ed5b4c91bd4e43f79ea10f43997d5bc1</hosted_login_token>\n
38
- \ <created_at type=\"datetime\">2011-08-19T20:03:23Z</created_at>\n <state>active</state>\n</account>\n"
39
- http_version: '1.1'
40
- - !ruby/struct:VCR::HTTPInteraction
41
- request: !ruby/struct:VCR::Request
42
- method: :get
43
- uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-get-1311239470.xml
44
- body: !!null
45
- headers:
46
- user-agent:
47
- - Recurly Ruby Client v0.4.10
48
- accept:
49
- - application/xml
50
- accept-encoding:
51
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
52
- response: !ruby/struct:VCR::Response
53
- status: !ruby/struct:VCR::ResponseStatus
54
- code: 200
55
- message: OK
56
- headers:
57
- content-type:
58
- - application/xml; charset=utf-8
59
- etag:
60
- - ! '"fc694cbe7667bd0d1e1be54edd63908d"'
61
- cache-control:
62
- - max-age=0, private, must-revalidate
63
- x-ua-compatible:
64
- - IE=Edge
65
- set-cookie:
66
- - _recurly_session=d4cc83cfc44c7a5fc172827dfad62b02; domain=.lvh.me; path=/;
67
- HttpOnly
68
- server:
69
- - thin 1.2.11 codename Bat-Shit Crazy
70
- body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-get-1311239470</id>\n
71
- \ <account_code>account-get-1311239470</account_code>\n <username></username>\n
72
- \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
73
- \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
74
- \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>ed5b4c91bd4e43f79ea10f43997d5bc1</hosted_login_token>\n
75
- \ <created_at type=\"datetime\">2011-08-19T20:03:23Z</created_at>\n <state>active</state>\n</account>\n"
76
- http_version: '1.1'