Module: ChimpsterInstaller

Extended by:
ChimpsterInstaller
Included in:
ChimpsterInstaller
Defined in:
lib/chimpster-rails.rb

Instance Method Summary collapse

Instance Method Details

#auto_detect_and_installObject



8
9
10
# File 'lib/chimpster-rails.rb', line 8

def auto_detect_and_install
    install_in_rails_3
end

#install_in_rails_3Object



14
15
16
17
# File 'lib/chimpster-rails.rb', line 14

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