Sha256: 51f0f8fa02ba8d0bd0fa2b2cffe40928a1825cb8b73560a01684c8486fd280d3

Contents?: true

Size: 253 Bytes

Versions: 84

Compression:

Stored size: 253 Bytes

Contents

module Serverspec::Type
  class DefaultGateway < Base
    def ipaddress
      @runner.get_default_gateway(:gateway)
    end

    def interface
      @runner.get_default_gateway(:interface)
    end

    def to_s
      'Default Gateway'
    end
  end
end

Version data entries

84 entries across 84 versions & 4 rubygems

Version Path
serverspec-2.42.3 lib/serverspec/type/default_gateway.rb
serverspec-2.42.2 lib/serverspec/type/default_gateway.rb
serverspec-2.42.1 lib/serverspec/type/default_gateway.rb
serverspec-cem-acpt-2.42.0 lib/serverspec/type/default_gateway.rb
serverspec-2.42.0 lib/serverspec/type/default_gateway.rb
serverspec-2.41.8 lib/serverspec/type/default_gateway.rb
serverspec-2.41.7 lib/serverspec/type/default_gateway.rb
serverspec-2.41.6 lib/serverspec/type/default_gateway.rb
serverspec-2.41.5 lib/serverspec/type/default_gateway.rb
serverspec-2.41.4 lib/serverspec/type/default_gateway.rb
serverspec-ruby19-2.24.3 lib/serverspec/type/default_gateway.rb
serverspec-2.41.3 lib/serverspec/type/default_gateway.rb
serverspec-2.41.2 lib/serverspec/type/default_gateway.rb
serverspec-2.41.1 lib/serverspec/type/default_gateway.rb
serverspec-2.41.0 lib/serverspec/type/default_gateway.rb
serverspec-2.40.0 lib/serverspec/type/default_gateway.rb
serverspec-2.39.2 lib/serverspec/type/default_gateway.rb
serverspec-2.39.1 lib/serverspec/type/default_gateway.rb
serverspec-2.39.0 lib/serverspec/type/default_gateway.rb
serverspec-2.38.1 lib/serverspec/type/default_gateway.rb