Sha256: 304571beef6be13a8e7ae88a5039d925525777cfeb6d6e846192a7d320e4768f

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

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, :force_secure_notification
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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