lib/economic/cash_book.rb in rconomic-0.4 vs lib/economic/cash_book.rb in rconomic-0.4.1

- old
+ new

@@ -7,10 +7,10 @@ # API documentation: http://www.e-conomic.com/apidocs/Documentation/T_Economic_Api_ICashBook.html class CashBook < Entity has_properties :name, :number def handle - Handle.new({:number => @number}) + @handle ||= Handle.new({:number => @number}) end def entries CashBookEntryProxy.new(self) end