Class | MailFormat
In: | app/models/mail_format.rb
Parent: | ActiveRecord::Base

メールの書式のモデル。

### Methods

format_all

### Public Instance methods

format_all(product, document, from_person, to_person, url, comment)

引数に応じてメールの設定の情報をハッシュで返す。

[Source]

        # File app/models/mail_format.rb, line 29
    29:   def format_all(product, document, from_person, to_person, url, comment)
    30:     arguments = [product, document, from_person, to_person, url, comment]
    31:     return {
    32:       :from => _format(false, from_format, *arguments),
    33:       :recipient => _format(false, recipients_format, *arguments),
    34:       :subject => _format(false, subject_format, *arguments),
    35:       :body => _format(true, body_format, *arguments),
    36:     }
    37:   end

[Validate]