Class: Fog::Compute::VirtualBox::NATEngine

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

Instance Attribute Summary collapse

Attributes inherited from Model

#collection, #connection

Instance Method Summary collapse

Methods inherited from Model

#initialize, #inspect, #reload, #symbolize_keys, #to_json, #wait_for

Methods included from Attributes::ClassMethods

#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes

Methods included from Attributes::InstanceMethods

#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #requires, #requires_one

Constructor Details

This class inherits a constructor from Fog::Model

Instance Attribute Details

#machineObject

Returns the value of attribute machine.



22
23
24
# File 'lib/fog/virtual_box/models/compute/nat_engine.rb', line 22

def machine
  @machine
end

#network_adapterObject

Returns the value of attribute network_adapter.



22
23
24
# File 'lib/fog/virtual_box/models/compute/nat_engine.rb', line 22

def network_adapter
  @network_adapter
end

Instance Method Details

#redirectsObject



37
38
39
40
41
42
43
# File 'lib/fog/virtual_box/models/compute/nat_engine.rb', line 37

def redirects
  Fog::Compute::VirtualBox::NATRedirects.new(
    :connection => connection,
    :machine    => machine,
    :nat_engine => self
  )
end