Sha256: c490dcd25cea191a8d0f68f93c99fd5bf176b00147ca20af9979ab72fe93d891
Contents?: true
Size: 512 Bytes
Versions: 11
Compression:
Stored size: 512 Bytes
Contents
require "integration/factories/collection_factory" require "integration/factories/target_pools_factory" class ForwardingRulesFactory < CollectionFactory def initialize(example) @target_pools = TargetPoolsFactory.new(example) super(Fog::Compute[:google].forwarding_rules, example) end def cleanup super @target_pools.cleanup end def params params = {:name => resource_name, :region => TEST_REGION, :target => @target_pools.create.self_link} end end
Version data entries
11 entries across 9 versions & 3 rubygems