1
0
Fork 0
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:
Paul Thornthwaite 2014-02-25 21:28:30 +00:00
parent 2e21f3d9a2
commit bebeff5dbc

View file

@ -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