Class: NodeInfo::Document::Services

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inbound = [], outbound = []) ⇒ Services

Returns a new instance of Services.


44
45
46
# File 'lib/node_info.rb', line 44

def initialize(inbound=[], outbound=[])
  super(inbound, outbound)
end

Instance Attribute Details

#inboundObject

Returns the value of attribute inbound

Returns:

  • (Object)

    the current value of inbound


43
44
45
# File 'lib/node_info.rb', line 43

def inbound
  @inbound
end

#outboundObject

Returns the value of attribute outbound

Returns:

  • (Object)

    the current value of outbound


43
44
45
# File 'lib/node_info.rb', line 43

def outbound
  @outbound
end

Instance Method Details

#version_10_hashObject


48
49
50
51
52
53
# File 'lib/node_info.rb', line 48

def version_10_hash
  {
    "inbound"  => inbound,
    "outbound" => outbound
  }
end