Sha256: 29fcb2d2cb8844dcd2b4608f2b4524dedfdef5bf3f7364be1eab5ae62bb874a8

Contents?: true

Size: 290 Bytes

Versions: 3

Compression:

Stored size: 290 Bytes

Contents

require 'postmark'
require 'action_mailer'

module PostmarkMethods
  def perform_delivery_postmark(message)
    Postmark.send_through_postmark(message)
  end
end

class ActionMailer::Base
  include PostmarkMethods

  def self.postmark_api_key=(value)
    Postmark.api_key = value
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
postmark-rails-0.1.3 lib/postmark-rails.rb
postmark-rails-0.1.2 lib/postmark-rails.rb
postmark-rails-0.1.1 lib/postmark-rails.rb