Sha256: 8ecd607a3c9d07b34ac4ef578284de91a288ee7794eb574b73b7dceb7565d5c8

Contents?: true

Size: 387 Bytes

Versions: 26

Compression:

Stored size: 387 Bytes

Contents

require "integration/factories/collection_factory"

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

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

  def all
    @subject.all(zone: TEST_ZONE)
  end

  def params
    { :name => resource_name,
      :zone => TEST_ZONE }
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

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