Sha256: a280d30f255a22d063624f896b66887af80ac8064b467a6df8ba02bdff5282a5

Contents?: true

Size: 427 Bytes

Versions: 3

Compression:

Stored size: 427 Bytes

Contents

require 'action_mailer'
require 'chimpster'
require 'chimpster_delivery_method'

module ChimpsterInstaller
  extend self
  
  def auto_detect_and_install
      install_in_rails_3
  end


  
  def install_in_rails_3
    ActionMailer::Base.add_delivery_method :chimpster, Mail::Chimpster, :api_key => nil
#    Mail::Message.send(:include, Chimpster::AttachmentsFixForMail)
  end
  
end

ChimpsterInstaller.auto_detect_and_install

Version data entries

3 entries across 3 versions & 1 rubygems

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