Sha256: afad23949621e52f49090a05d165bc201625f83bfe7ef3fa434e17f37df4dfa4

Contents?: true

Size: 168 Bytes

Versions: 7

Compression:

Stored size: 168 Bytes

Contents

require 'mail'

module EmlToPdf
  class FileEmailProvider
    def initialize(input_path)
      @email = Mail.read(input_path)
    end

    attr_reader :email
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
eml_to_pdf_ext-0.5.8 lib/eml_to_pdf/file_email_provider.rb
eml_to_pdf_ext-0.5.7 lib/eml_to_pdf/file_email_provider.rb
eml_to_pdf_ext-0.5.6 lib/eml_to_pdf/file_email_provider.rb
eml_to_pdf_ext-0.5.5 lib/eml_to_pdf/file_email_provider.rb
eml_to_pdf_ext-0.5.4 lib/eml_to_pdf/file_email_provider.rb
eml_to_pdf_ext-0.5.3 lib/eml_to_pdf/file_email_provider.rb
eml_to_pdf_ext-0.5.2 lib/eml_to_pdf/file_email_provider.rb