Sha256: 3cf83f5ff65779d7ab4d919d3155366ef92cfff3b5ad5fc4eac932a96d265e94

Contents?: true

Size: 352 Bytes

Versions: 26

Compression:

Stored size: 352 Bytes

Contents

require "integration/factories/collection_factory"

class ImagesFactory < CollectionFactory
  def initialize(example)
    super(Fog::Compute[:google].images, example)
  end

  def get(identity)
    @subject.get(identity, TEST_PROJECT)
  end

  def params
    { :name => resource_name,
      :raw_disk => { :source => TEST_RAW_DISK_SOURCE } }
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
fog-google-1.10.0 test/integration/factories/images_factory.rb
fog-google-1.9.1 test/integration/factories/images_factory.rb
fog-google-1.9.0 test/integration/factories/images_factory.rb
fog-google-1.8.2 test/integration/factories/images_factory.rb
fog-google-1.8.1 test/integration/factories/images_factory.rb
fog-google-1.8.0 test/integration/factories/images_factory.rb