Sha256: 2d9983906e698ac8e22c8fde0ad05452bb08934cdf8f5325b2fb450dfd9af329
Contents?: true
Size: 459 Bytes
Versions: 11
Compression:
Stored size: 459 Bytes
Contents
require "integration/factories/collection_factory" require "integration/factories/url_maps_factory" class TargetHttpProxiesFactory < CollectionFactory def initialize(example) @url_maps = UrlMapsFactory.new(example) super(Fog::Compute[:google].target_http_proxies, example) end def cleanup super @url_maps.cleanup end def params params = {:name => resource_name, :url_map => @url_maps.create.self_link} end end
Version data entries
11 entries across 9 versions & 3 rubygems