Class: Fog::Network::SakuraCloud::Interface
- Inherits:
-
Model
- Object
- Model
- Fog::Network::SakuraCloud::Interface
- Defined in:
- lib/fog/sakuracloud/models/network/interface.rb
Instance Method Summary collapse
- #connect_to_switch(switch_id) ⇒ Object
- #delete ⇒ Object (also: #destroy)
Instance Method Details
#connect_to_switch(switch_id) ⇒ Object
20 21 22 23 |
# File 'lib/fog/sakuracloud/models/network/interface.rb', line 20 def connect_to_switch(switch_id) service.connect_interface_to_switch(identity, switch_id) true end |
#delete ⇒ Object Also known as: destroy
14 15 16 17 |
# File 'lib/fog/sakuracloud/models/network/interface.rb', line 14 def delete service.delete_interface(identity) true end |