Sha256: 4e4c2f784d67088897275c2c56d3967ce306594c9cf06efe7589f056af6e7d79
Contents?: true
Size: 484 Bytes
Versions: 11
Compression:
Stored size: 484 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 params = {:name => resource_name, :target => @targets.create.self_link} end end
Version data entries
11 entries across 9 versions & 3 rubygems