Class: Fog::Compute::Ecloud::VirtualMachineAssignedIps
- Inherits:
-
Ecloud::Collection
- Object
- Fog::Collection
- Ecloud::Collection
- Fog::Compute::Ecloud::VirtualMachineAssignedIps
- Defined in:
- lib/fog/compute/ecloud/models/virtual_machine_assigned_ips.rb
Instance Method Summary collapse
Methods inherited from Ecloud::Collection
Instance Method Details
#all ⇒ Object
11 12 13 14 |
# File 'lib/fog/compute/ecloud/models/virtual_machine_assigned_ips.rb', line 11 def all data = service.get_virtual_machine_assigned_ips(identity).body load(data) end |
#get ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/fog/compute/ecloud/models/virtual_machine_assigned_ips.rb', line 16 def get if data = service.get_virtual_machine_assigned_ip(identity) new(data.body) end rescue ServiceError => e raise e unless e.status_code == 404 nil end |