Class: Fog::Compute::Google::DiskType

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

Instance Method Summary collapse

Instance Method Details

#reloadObject



18
19
20
21
22
23
24
# File 'lib/fog/google/models/compute/disk_type.rb', line 18

def reload
  requires :identity, :zone

  data = collection.get(identity, self.zone)
  merge_attributes(data.attributes)
  self
end