README.md in receipt-0.1.2 vs README.md in receipt-0.1.3
- old
+ new
@@ -36,9 +36,12 @@
description: 'transaction #123',
filepath: '/my/receipts/path/file1234.pdf',
locale: :en # or 'pt-BR'
)
+receipt.before_receipt_box { my_header_content_for(receipt) }
+receipt.after_receipt_box { my_footer_content_for(receipt) }
+
# generates file
File.open(receipt.file)
# send to download
send_data(receipt.data, filename: receipt.filename, type: receipt.mimetype)