Sha256: a1bef012bb915e3924b71790cf3ded8a29cbcd7800966f63a0390a18bd0ef5a8

Contents?: true

Size: 501 Bytes

Versions: 85

Compression:

Stored size: 501 Bytes

Contents

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

Version data entries

85 entries across 85 versions & 15 rubygems

Version Path
fog-1.3.1 tests/vcloud/models/compute/conn_helper.rb
fog-1.3.0 tests/vcloud/models/compute/conn_helper.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/tests/vcloud/models/compute/conn_helper.rb
fog-1.2.0 tests/vcloud/models/compute/conn_helper.rb
ktheory-fog-1.1.2 tests/vcloud/models/compute/conn_helper.rb