Sha256: 4bbdc8322be5e070d7a5ef1bcb8aca662326364e25d01c4e00d317cf0bf18445

Contents?: true

Size: 375 Bytes

Versions: 17

Compression:

Stored size: 375 Bytes

Contents

# アクションメーラユーティリティ
module ActionMailerUtil
  private

  def build_message(options)
    sent_on(Time.now)
    subject(options[:subject] || raise(ArgumentError))
    from(options[:from] || raise(ArgumentError))
    recipients(options[:recipients] || raise(ArgumentError))
    body(options[:body] || raise(ArgumentError))

    return nil
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
multi_auth-0.2.0 lib/action_mailer_util.rb
okkez-multi_auth-0.1.0 lib/action_mailer_util.rb
multi_auth-0.1.0 lib/action_mailer_util.rb
okkez-multi_auth-0.0.7 lib/action_mailer_util.rb
multi_auth-0.0.7 lib/action_mailer_util.rb
okkez-multi_auth-0.0.6 lib/action_mailer_util.rb
multi_auth-0.0.6 lib/action_mailer_util.rb
okkez-multi_auth-0.0.5 lib/action_mailer_util.rb
multi_auth-0.0.5 lib/action_mailer_util.rb
okkez-multi_auth-0.0.4 lib/action_mailer_util.rb
multi_auth-0.0.4 lib/action_mailer_util.rb
okkez-multi_auth-0.0.3 lib/action_mailer_util.rb
multi_auth-0.0.3 lib/action_mailer_util.rb
multi_auth-0.0.2 lib/action_mailer_util.rb
okkez-multi_auth-0.0.2 lib/action_mailer_util.rb
multi_auth-0.0.1 lib/action_mailer_util.rb
okkez-multi_auth-0.0.1 lib/action_mailer_util.rb