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

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

Overview

class Interface model

Instance Method Summary collapse

Instance Method Details

#flattenObject



42
43
44
# File 'lib/fog/compute/proxmox/models/interface.rb', line 42

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

#to_sObject



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

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