Class: Dendrite::ServiceNode::Port

Inherits:
Struct
  • Object
show all
Includes:
ActiveModel::Validations
Defined in:
lib/dendrite/service_node.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



90
91
92
# File 'lib/dendrite/service_node.rb', line 90

def name
  @name
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



90
91
92
# File 'lib/dendrite/service_node.rb', line 90

def port
  @port
end