mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[vcloud] Remove helpless helper
Looks like this class is used to override Fog::Connection in testing probably by manually tweaking the "false" Since I'm deprecating Fog::Connection it's not worth keeping track off.
This commit is contained in:
parent
2e21f3d9a2
commit
bebeff5dbc
1 changed files with 0 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
||||||
module Fog
|
|
||||||
module Vcloud
|
|
||||||
if false
|
|
||||||
class Fog::Connection
|
|
||||||
def request(params, &block)
|
|
||||||
path = File.expand_path(File.join(File.dirname(__FILE__),'..','..','data',params[:path].gsub(/^\//,'').gsub('/','_+_')))
|
|
||||||
if File.exists?(path)
|
|
||||||
body = File.read(path)
|
|
||||||
else
|
|
||||||
''
|
|
||||||
end
|
|
||||||
Excon::Response.new(
|
|
||||||
:body => body,
|
|
||||||
:status => 200,
|
|
||||||
:header => '')
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Add table
Add a link
Reference in a new issue