Class: Harbr::Host

Inherits:
Object
  • Object
show all
Includes:
Dddr::Entity
Defined in:
lib/harbr/host.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#container_uidObject

Returns the value of attribute container_uid.



4
5
6
# File 'lib/harbr/host.rb', line 4

def container_uid
  @container_uid
end

#headerObject

Returns the value of attribute header.



4
5
6
# File 'lib/harbr/host.rb', line 4

def header
  @header
end

#portObject

Returns the value of attribute port.



4
5
6
# File 'lib/harbr/host.rb', line 4

def port
  @port
end

Instance Method Details

#to_sObject



6
7
8
# File 'lib/harbr/host.rb', line 6

def to_s
  "#{port} -> #{header}"
end