Sha256: 335bb1653656b3d8b2cd22d056ef787e89bb3618a941201aa51ec2bdede060fa
Contents?: true
Size: 469 Bytes
Versions: 10
Compression:
Stored size: 469 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, :target => @targets.create.self_link } end end
Version data entries
10 entries across 10 versions & 1 rubygems