Sha256: 8ceea22a8702d5ba884e37fc04a25b62b94452d32127a0da74acfd5140f99234

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 Bytes

Contents

module Mail
  class Paubox
    attr_accessor :settings

    def initialize(settings)
      @settings = settings
    end

    def deliver!(mail)
      client = ::Paubox::Client.new(settings)
      response = client.send_mail(mail)
      puts response
    end
  end

  class Message
    attr_accessor :source_tracking_id, :status, :allow_non_tls
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
paubox-0.2.3 lib/mail/paubox.rb
paubox-0.1.3 lib/mail/paubox.rb
paubox-0.1.1 lib/mail/paubox.rb