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

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

Instance Method Summary collapse

Instance Method Details

#reloadObject



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

def reload
  requires :identity, :zone

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