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.10.0 test/integration/factories/url_maps_factory.rb
fog-google-1.9.1 test/integration/factories/url_maps_factory.rb
fog-google-1.9.0 test/integration/factories/url_maps_factory.rb
fog-google-1.8.2 test/integration/factories/url_maps_factory.rb
fog-google-1.8.1 test/integration/factories/url_maps_factory.rb
fog-google-1.8.0 test/integration/factories/url_maps_factory.rb
fog-google-1.7.1 test/integration/factories/url_maps_factory.rb
fog-google-1.7.0 test/integration/factories/url_maps_factory.rb
fog-google-1.6.0 test/integration/factories/url_maps_factory.rb
fog-google-1.5.0 test/integration/factories/url_maps_factory.rb
fog-google-1.4.0 test/integration/factories/url_maps_factory.rb
fog-google-1.3.3 test/integration/factories/url_maps_factory.rb
fog-google-1.3.2 test/integration/factories/url_maps_factory.rb
fog-google-1.3.1 test/integration/factories/url_maps_factory.rb
fog-google-1.3.0 test/integration/factories/url_maps_factory.rb
fog-google-1.2.2 test/integration/factories/url_maps_factory.rb
fog-google-1.2.1 test/integration/factories/url_maps_factory.rb
fog-google-1.2.0 test/integration/factories/url_maps_factory.rb
fog-google-1.1.0 test/integration/factories/url_maps_factory.rb
fog-google-1.0.1 test/integration/factories/url_maps_factory.rb