Sha256: 074cff3b7c879e5e5032290e6e14e181e8d6e33ec392855f64995689d6c7f064
Contents?: true
Size: 637 Bytes
Versions: 14
Compression:
Stored size: 637 Bytes
Contents
module Fog module Compute class Google class Mock def set_forwarding_rule_target(_rule, _target) Fog::Mock.not_implemented end end class Real def set_forwarding_rule_target(rule, target) api_method = @compute.forwarding_rules.set_target parameters = { "project" => @project, "forwardingRule" => rule.name, "region" => rule.region.split("/")[-1] } body = { "target" => target } request(api_method, parameters, body_object = body) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems