Sha256: 89a1862321e9620cafa000f17a950f780dde1d6528f23c619e08b7ddce6306ca
Contents?: true
Size: 499 Bytes
Versions: 41
Compression:
Stored size: 499 Bytes
Contents
require "integration/factories/collection_factory" require "integration/factories/target_http_proxies_factory" class GlobalForwardingRulesFactory < CollectionFactory def initialize(example) @targets = TargetHttpProxiesFactory.new(example) super(Fog::Compute[:google].global_forwarding_rules, example) end def cleanup super @targets.cleanup end def params { :name => resource_name, :port_range => "80-80", :target => @targets.create.self_link } end end
Version data entries
41 entries across 41 versions & 2 rubygems