Class: Fog::Proxmox::Compute::Interface

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/proxmox/compute/models/interface.rb

Overview

class Interface model

Instance Method Summary collapse

Instance Method Details

#flattenObject



46
47
48
# File 'lib/fog/proxmox/compute/models/interface.rb', line 46

def flatten
  Fog::Proxmox::NicHelper.flatten(attributes)
end

#to_sObject



50
51
52
# File 'lib/fog/proxmox/compute/models/interface.rb', line 50

def to_s
  Fog::Proxmox::Hash.flatten(flatten)
end