Sha256: bc79377afc4ce84b004421ecdce0766580f22e9ff071c88ea43a2ef5eb87fce7

Contents?: true

Size: 646 Bytes

Versions: 1

Compression:

Stored size: 646 Bytes

Contents

class BlueLightSpecialMailer

  def self.deliver_change_password(user)
    if MadMimiMailer.api_settings.present? && MadMimiMailer.api_settings[:username].present? && MadMimiMailer.api_settings[:api_key].present?
      MimiMailer.deliver_mimi_change_password(user)
    else
      GenericMailer.deliver_mimi_change_password(user)
    end
  end
  
  def self.deliver_welcome(user)
    if MadMimiMailer.api_settings.present? && MadMimiMailer.api_settings[:username].present? && MadMimiMailer.api_settings[:api_key].present?
      MimiMailer.deliver_generic_welcome(user)
    else
      GenericMailer.deliver_generic_welcome(user)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blue_light_special_heroku_fork-0.2.0.1 app/models/blue_light_special_mailer.rb