lib/mail/paubox.rb in paubox-0.3.0 vs lib/mail/paubox.rb in paubox-0.3.2

- old
+ new

@@ -1,21 +1,20 @@ -# 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 +# 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) + end + end + + class Message + attr_accessor :source_tracking_id, :status, :allow_non_tls, :force_secure_notification + end +end