Sha256: a811f8914a759784c8fa86dd38aabd7a3a503d243e01db16e778445bcc815956
Contents?: true
Size: 488 Bytes
Versions: 10
Compression:
Stored size: 488 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 { :name => resource_name, :region => TEST_REGION, :target => @target_pools.create.self_link } end end
Version data entries
10 entries across 10 versions & 1 rubygems