From 6816b7d65caf6fa0ec1d468011284ae784992b80 Mon Sep 17 00:00:00 2001 From: drKreso Date: Wed, 7 Nov 2012 15:21:40 +0100 Subject: [PATCH] readme fix --- README.md | 7 +++++-- bin/generate.rb | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 27c1120..f0253d4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # Invoice -Print out simple invoice tailored for Croatia. You can setup your company data along with your customers with some easy settings. +Print out simple invoice tailored for Croatia. You can setup your company data along with your customers with some easy settings and calling +```ruby +CroatianPDFInvoice.generate(SETTINGS, INVOICE, '~/Desktop') +``` ## Installation @@ -56,7 +59,7 @@ SETTINGS= { signature_line_1: 'Direktor "KROKODIL ITS" d.o.o.', signature_line_2: 'Krešimir Bojčić', number_to_words_translation: NumberToKune, - footer: "©#{DateTime.now.year} Krokodil ITS d.o.o", :size => 7 + footer: "©#{DateTime.now.year} Krokodil ITS d.o.o" } INVOICE = { diff --git a/bin/generate.rb b/bin/generate.rb index 8fdb808..52e7cf0 100644 --- a/bin/generate.rb +++ b/bin/generate.rb @@ -29,7 +29,7 @@ signature_line_1: 'Direktor "KROKODIL ITS" d.o.o.', signature_line_2: 'Krešimir Bojčić', number_to_words_translation: NumberToKune, - footer: "©#{DateTime.now.year} Krokodil ITS d.o.o", :size => 7 + footer: "©#{DateTime.now.year} Krokodil ITS d.o.o" }