Class: Fog::Hyperv::Compute::HardDrives
- Inherits:
-
Fog::Hyperv::Collection
- Object
- Collection
- Fog::Hyperv::Collection
- Fog::Hyperv::Compute::HardDrives
- Defined in:
- lib/fog/hyperv/compute/models/hard_drives.rb
Instance Method Summary collapse
Methods inherited from Fog::Hyperv::Collection
#all, get_method, #initialize, #new, requires, requires?
Constructor Details
This class inherits a constructor from Fog::Hyperv::Collection
Instance Method Details
#get(id, **filters) ⇒ Object
14 15 16 17 18 |
# File 'lib/fog/hyperv/compute/models/hard_drives.rb', line 14 def get(id, **filters) raise ArgumentError, 'Must provide a GUID' if id.nil? || id.empty? super(_by_id: id, **filters) end |