instance method
headers
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20Signature
headers(hash = {})
No documentation comment.
Parameters
-
hashopt = {}
Source
# File actionmailer/lib/action_mailer/base.rb, line 490
def headers(hash = {})
hash.each_pair do |k,v|
self[k] = v
end
end
Defined in actionmailer/lib/action_mailer/base.rb line 490
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::Base::DeprecatedHeaderProxy