Sha256: 67e470b9583ae20774a772cb253ee3428eaa17e905278768d657d7b453538968
Contents?: true
Size: 772 Bytes
Versions: 22
Compression:
Stored size: 772 Bytes
Contents
module Fog module Compute class Google class Mock def list_target_http_proxies proxies = self.data[:target_http_proxies].values build_excon_response({ "kind" => "compute#targetHttpProxyList", "selfLink" => "https://www.googleapis.com/compute/#{api_version}/projects/#{@project}/global/targetHttpProxies", "id" => "projects/#{@project}/global/targetHttpProxies", "items" => proxies }) end end class Real def list_target_http_proxies api_method = @compute.target_http_proxies.list parameters = { 'project' => @project } request(api_method, parameters) end end end end end
Version data entries
22 entries across 20 versions & 5 rubygems