Sha256: f9b0556be67d43141148f84ae176bb5d6eabebd9b7210a6233d5fbfb95523c16
Contents?: true
Size: 704 Bytes
Versions: 22
Compression:
Stored size: 704 Bytes
Contents
module Fog module Compute class Google class Mock def set_target_http_proxy_url_map(target_http_proxy, url_map) Fog::Mock.not_implemented end end class Real def set_target_http_proxy_url_map(target_http_proxy, url_map) api_method = @compute.target_http_proxies.set_url_map parameters = { 'project' => @project, 'targetHttpProxy' => target_http_proxy.name, } url_map = url_map.self_link unless url_map.class == String body = { 'urlMap' => url_map } request(api_method, parameters, body_object=body) end end end end end
Version data entries
22 entries across 20 versions & 5 rubygems