Sha256: bc0b7b895659eab743d55b4d9701f7425a37e2216d3c3336f19340b35d81895b

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paubox-0.1.0 lib/mail/paubox.rb