Sha256: fc26042c128d593787ceb6c2414f3869200c48c775458e17dc3846c8f68792fc
Contents?: true
Size: 926 Bytes
Versions: 14
Compression:
Stored size: 926 Bytes
Contents
module Fog module Compute class Google class Mock def list_global_forwarding_rules(_region_name = "global") global_forwarding_rules = data[:global_forwarding_rules].values build_excon_response("kind" => "compute#forwardingRuleList", "selfLink" => "https://www.googleapis.com/compute/#{api_version}/projects/#{@project}/global/forwardingRules", "id" => "projects/#{@project}/global/forwardingRules", "items" => global_forwarding_rules) end end class Real def list_global_forwarding_rules(region_name = "global") api_method = @compute.global_forwarding_rules.list parameters = { "project" => @project, "region" => region_name } request(api_method, parameters) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems