Sha256: e8eed82e0acf9f44861a5e599019347a5aa681f5b9d52e9ae10b5b6352f7bd03
Contents?: true
Size: 295 Bytes
Versions: 14
Compression:
Stored size: 295 Bytes
Contents
module EmlToPdf class Converter def initialize(input_path, output_path) @input_path = input_path @output_path = output_path end def convert email = Email.new(@input_path) html = email.to_html Wkhtmltopdf.convert(html, @output_path) end end end
Version data entries
14 entries across 14 versions & 2 rubygems