Sha256: 82a93f234133e043150c68e559f7aba920d5219bbe46d322ba2206e169824fd2

Contents?: true

Size: 444 Bytes

Versions: 51

Compression:

Stored size: 444 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
    { :name => resource_name,
      :url_map => @url_maps.create.self_link }
  end
end

Version data entries

51 entries across 51 versions & 2 rubygems

Version Path
fog-google-1.24.1 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.24.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.23.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.22.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.21.1 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.21.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.20.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.19.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.18.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.17.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.16.1 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.16.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.15.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.14.0 test/integration/factories/target_http_proxies_factory.rb
gitlab-fog-google-1.14.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.13.0 test/integration/factories/target_http_proxies_factory.rb
gitlab-fog-google-1.13.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.12.1 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.12.0 test/integration/factories/target_http_proxies_factory.rb
fog-google-1.11.0 test/integration/factories/target_http_proxies_factory.rb