# File lib/fog/shared_file_system/openstack/models/network.rb, line 34 def destroy requires :id service.delete_share_network(id) true end
# File lib/fog/shared_file_system/openstack/models/network.rb, line 22 def save raise Fog::Errors::Error, 'Resaving an existing object may create a duplicate' if persisted? merge_attributes(service.create_share_network(attributes).body['share_network']) true end
# File lib/fog/shared_file_system/openstack/models/network.rb, line 28 def update(options = nil) requires :id merge_attributes(service.update_share_network(id, options || attributes).body['share_network']) self end