instance method headers

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

headers(hash = {})

No documentation comment.

Parameters

hash opt = {}
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close