Class: HAProxy::Server

Inherits:
Struct
  • Object
show all
Defined in:
lib/haproxy/config.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



8
9
10
# File 'lib/haproxy/config.rb', line 8

def attributes
  @attributes
end

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



8
9
10
# File 'lib/haproxy/config.rb', line 8

def host
  @host
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/haproxy/config.rb', line 8

def name
  @name
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



8
9
10
# File 'lib/haproxy/config.rb', line 8

def port
  @port
end