Sha256: ae5beb98fd9fc5c8ab9125ff526ad7622e2db6d7c5dcfbc39c7aba59b08bbe3e

Contents?: true

Size: 558 Bytes

Versions: 2

Compression:

Stored size: 558 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def insert_target_https_proxy(_name, _options = {})
          Fog::Mock.not_implemented
        end
      end

      class Real
        def insert_target_https_proxy(name, opts = {})
          api_method = @compute.target_https_proxies.insert
          parameters = {
            "project" => @project
          }
          body_object = { "name" => name }
          body_object.merge!(opts)

          request(api_method, parameters, body_object)
        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/insert_target_https_proxy.rb
fog-google-0.5.5 lib/fog/compute/google/requests/insert_target_https_proxy.rb