lib/economic/current_invoice_line.rb in rconomic-0.3 vs lib/economic/current_invoice_line.rb in rconomic-0.4
- old
+ new
@@ -28,9 +28,11 @@
def invoice_handle=(handle)
@invoice = nil unless handle == @invoice_handle
@invoice_handle = handle
end
+ protected
+
def initialize_defaults
self.invoice_handle = nil
self.description = nil
self.delivery_date = nil
self.unit_handle = nil