aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mail_handler/backends/mail_backend.rb
blob: f7dbb76242151c55e86364cd8be65009dfe36806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'mail'

module MailHandler
    module Backends
        module MailBackend

            def backend()
                'Mail'
            end

            def mail_from_raw_email(data)
                Mail.new(data)
            end

        end
    end
end