Sha256: 026a765657961a2f2aa7c7cb52163976202a9af4690fd2e3dd42d67a85522852

Contents?: true

Size: 550 Bytes

Versions: 8

Compression:

Stored size: 550 Bytes

Contents

# -*- coding: utf-8 -*-
class MobileMailer < Jpmobile::Mailer::Base
  default :from => "info@jp.mobile"
  default :to   => "info@jp.mobile"

  def view_selection(to_mail, subject_text, text)
    @text = text
    mail(:to => to_mail, :subject => subject_text)
  end

  def receive(email)
    email
  end

  def multi_message(to_mail, subject_text, text, html)
    @html = html
    @text = text
    mail(:to => to_mail, :subject => subject)
  end

  def default_to_mail(subject_text, text)
    @text = text
    mail(:subject => subject_text)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jpmobile-1.0.12 test/rails/overrides/app/mailers/mobile_mailer.rb
jpmobile-1.0.11 test/rails/overrides/app/mailers/mobile_mailer.rb
jpmobile-1.0.10 test/rails/overrides/app/mailers/mobile_mailer.rb
jpmobile-1.0.9 test/rails/overrides/app/mailers/mobile_mailer.rb
jpmobile-1.0.8 test/rails/overrides/app/mailers/mobile_mailer.rb
jpmobile-1.0.7 test/rails/overrides/app/mailers/mobile_mailer.rb
jpmobile-1.0.6 test/rails/overrides/app/models/mobile_mailer.rb
jpmobile-1.0.5 test/rails/overrides/app/models/mobile_mailer.rb