lib/polish_invoicer/writer.rb in polish_invoicer-0.0.26 vs lib/polish_invoicer/writer.rb in polish_invoicer-0.0.28
- old
+ new
@@ -1,8 +1,9 @@
+# frozen_string_literal: true
+
module PolishInvoicer
class Writer
- attr_accessor :invoice
- attr_accessor :logger, :wkhtmltopdf_path, :wkhtmltopdf_command
+ attr_accessor :invoice, :logger, :wkhtmltopdf_path, :wkhtmltopdf_command
def initialize(invoice)
@invoice = invoice
@logger = @invoice.logger
@wkhtmltopdf_path = @invoice.wkhtmltopdf_path