Class: Fog::Compute::Google::Flavor

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

Instance Method Summary collapse

Instance Method Details

#reloadObject



21
22
23
24
25
26
27
# File 'lib/fog/compute/google/models/flavor.rb', line 21

def reload
  requires :identity, :zone

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