Sha256: b13b81a8cb5e2dcbea3fbc5573690031ba8229bf0a6c06b7fcba10a12a60796f

Contents?: true

Size: 278 Bytes

Versions: 5

Compression:

Stored size: 278 Bytes

Contents

require 'action_mailer'
require 'postmark'

module PostmarkRails
  extend self

  def install
    ActionMailer::Base.add_delivery_method :postmark, Mail::Postmark, :api_key => nil
  end
end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
postmark-rails-0.9.0 lib/postmark-rails.rb
postmark-rails-0.8.0 lib/postmark-rails.rb
postmark-rails-0.7.0 lib/postmark-rails.rb
postmark-rails-0.6.0 lib/postmark-rails.rb
postmark-rails-0.5.2 lib/postmark-rails.rb