Sha256: 12ef87f52ec37b00715af8f457ee16946ba16e286a64873ae8045a54cf7a5360

Contents?: true

Size: 472 Bytes

Versions: 2

Compression:

Stored size: 472 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def get_target_https_proxy(_name)
          Fog::Mock.not_implemented
        end
      end

      class Real
        def get_target_https_proxy(name)
          api_method = @compute.target_https_proxies.get
          parameters = {
            "project" => @project,
            "targetHttpsProxy" => name
          }

          request(api_method, parameters)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-google-0.6.0 lib/fog/compute/google/requests/get_target_https_proxy.rb
fog-google-0.5.5 lib/fog/compute/google/requests/get_target_https_proxy.rb