Sha256: beeb4528c089c8f7bf9fdd7f9a60c24c7f5316f6ae9b36edb33d8b0027bcd1c4

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

require 'action_mailer'
require 'postmark'

module PostmarkRails
  extend self

  def install
    ActionMailer::Base.add_delivery_method :postmark, Mail::Postmark
  end
end

if defined?(Rails)
  require 'postmark-rails/railtie'
else
  PostmarkRails.install
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
postmark-rails-0.12.0 lib/postmark-rails.rb
postmark-rails-0.11.0 lib/postmark-rails.rb
postmark-rails-0.10.0 lib/postmark-rails.rb