Method: Fog::SharedFileSystem::OpenStack::Snapshot#update

Defined in:
lib/fog/shared_file_system/openstack/models/snapshot.rb

#update(options = nil) ⇒ Object



27
28
29
30
31
# File 'lib/fog/shared_file_system/openstack/models/snapshot.rb', line 27

def update(options = nil)
  requires :id
  merge_attributes(service.update_snapshot(id, options || attributes).body['snapshot'])
  self
end