Class: VpsAdminOS::Converter::NetInterface::Bridge

Inherits:
Base
  • Object
show all
Defined in:
lib/vpsadminos-converter/net_interface/bridge.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#hwaddr, #ip_addresses, #name, #type

Instance Method Summary collapse

Methods inherited from Base

#initialize, type

Constructor Details

This class inherits a constructor from VpsAdminOS::Converter::NetInterface::Base

Instance Attribute Details

Returns the value of attribute link.



7
8
9
# File 'lib/vpsadminos-converter/net_interface/bridge.rb', line 7

def link
  @link
end

Instance Method Details

#dumpObject



9
10
11
# File 'lib/vpsadminos-converter/net_interface/bridge.rb', line 9

def dump
  super.merge('link' => link)
end