class Fog::OpenStack::SharedFileSystem::Network
Public Instance Methods
destroy()
click to toggle source
# File lib/fog/openstack/shared_file_system/models/network.rb, line 34 def destroy requires :id service.delete_share_network(id) true end
save()
click to toggle source
# File lib/fog/openstack/shared_file_system/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
update(options = nil)
click to toggle source
# File lib/fog/openstack/shared_file_system/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