# File lib/fog/libvirt/models/compute/nic.rb, line 23 def initialize attributes super defaults.merge(attributes) raise Fog::Errors::Error.new("#{type} is not a supported nic type") if new? && !TYPES.include?(type) end