# File lib/fog/aws/models/compute/address.rb, line 22 def destroy requires :public_ip service.release_address(allocation_id || public_ip) true end
# File lib/fog/aws/models/compute/address.rb, line 41 def save raise Fog::Errors::Error.new('Resaving an existing object may create a duplicate') if persisted? data = service.allocate_address(domain).body new_attributes = data.reject {|key,value| key == 'requestId'} merge_attributes(new_attributes) if @server self.server = @server end true end
Generated with the Darkfish Rdoc Generator 2.