Sha256: a74f3afaa0f44eef610577e803eb9c58ff4db0dd972b61afec31591fdc71548a

Contents?: true

Size: 301 Bytes

Versions: 28

Compression:

Stored size: 301 Bytes

Contents

require "integration/factories/collection_factory"

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

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

  def params
    { :name => resource_name }
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

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