Class: Fog::Compute::VirtualBox::NATEngine
- Defined in:
- lib/fog/compute/models/virtual_box/nat_engine.rb
Instance Attribute Summary collapse
-
#machine ⇒ Object
Returns the value of attribute machine.
-
#network_adapter ⇒ Object
Returns the value of attribute network_adapter.
Attributes inherited from Model
Instance Method Summary collapse
Methods inherited from Model
#initialize, #inspect, #reload, #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
Constructor Details
This class inherits a constructor from Fog::Model
Instance Attribute Details
#machine ⇒ Object
Returns the value of attribute machine.
22 23 24 |
# File 'lib/fog/compute/models/virtual_box/nat_engine.rb', line 22 def machine @machine end |
#network_adapter ⇒ Object
Returns the value of attribute network_adapter.
22 23 24 |
# File 'lib/fog/compute/models/virtual_box/nat_engine.rb', line 22 def network_adapter @network_adapter end |
Instance Method Details
#redirects ⇒ Object
37 38 39 40 41 42 43 |
# File 'lib/fog/compute/models/virtual_box/nat_engine.rb', line 37 def redirects Fog::Compute::VirtualBox::NATRedirects.new( :connection => connection, :machine => machine, :nat_engine => self ) end |