Sha256: bf59ccafc316491fc9b30cea0b1d3ce3b73d788c0de608b48ed1521c973fcbc2

Contents?: true

Size: 321 Bytes

Versions: 28

Compression:

Stored size: 321 Bytes

Contents

require "integration/factories/collection_factory"

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

  def params
    { :name => resource_name,
      :allowed => [{ :ip_protocol => "TCP",
                     :ports => ["201"] }] }
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

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