Sha256: f6cf25cb0d437e46d322a4d591c3d40bb83041fd136dca7bffa46eb7ba071dc7

Contents?: true

Size: 471 Bytes

Versions: 51

Compression:

Stored size: 471 Bytes

Contents

require "integration/factories/collection_factory"
require "integration/factories/backend_services_factory"

class UrlMapsFactory < CollectionFactory
  def initialize(example)
    @backend_services = BackendServicesFactory.new(example)
    super(Fog::Compute[:google].url_maps, example)
  end

  def cleanup
    super
    @backend_services.cleanup
  end

  def params
    { :name => resource_name,
      :default_service => @backend_services.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/url_maps_factory.rb
fog-google-1.24.0 test/integration/factories/url_maps_factory.rb
fog-google-1.23.0 test/integration/factories/url_maps_factory.rb
fog-google-1.22.0 test/integration/factories/url_maps_factory.rb
fog-google-1.21.1 test/integration/factories/url_maps_factory.rb
fog-google-1.21.0 test/integration/factories/url_maps_factory.rb
fog-google-1.20.0 test/integration/factories/url_maps_factory.rb
fog-google-1.19.0 test/integration/factories/url_maps_factory.rb
fog-google-1.18.0 test/integration/factories/url_maps_factory.rb
fog-google-1.17.0 test/integration/factories/url_maps_factory.rb
fog-google-1.16.1 test/integration/factories/url_maps_factory.rb
fog-google-1.16.0 test/integration/factories/url_maps_factory.rb
fog-google-1.15.0 test/integration/factories/url_maps_factory.rb
fog-google-1.14.0 test/integration/factories/url_maps_factory.rb
gitlab-fog-google-1.14.0 test/integration/factories/url_maps_factory.rb
fog-google-1.13.0 test/integration/factories/url_maps_factory.rb
gitlab-fog-google-1.13.0 test/integration/factories/url_maps_factory.rb
fog-google-1.12.1 test/integration/factories/url_maps_factory.rb
fog-google-1.12.0 test/integration/factories/url_maps_factory.rb
fog-google-1.11.0 test/integration/factories/url_maps_factory.rb