lib/fog/xenserver/models/compute/network.rb in fog-1.10.1 vs lib/fog/xenserver/models/compute/network.rb in fog-1.11.0
- old
+ new
@@ -57,11 +57,11 @@
#
# # create network 'foonet'
# net = service.networks.create :name => 'foonet',
# :description => 'test network'
#
- # @returns [Boolean]
+ # @return [Boolean]
#
def save
requires :name
ref = service.create_network name, attributes
data = service.get_record ref, 'network'
@@ -75,10 +75,10 @@
#
# # find network 'foonet' and destroy it
# net = service.networks.find { |net| net.name == 'foonet' }
# net.destroy
#
- # @returns [Boolean]
+ # @return [Boolean]
#
def destroy
requires :reference
service.destroy_network reference
true