instance method set_content_type

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.1.12

Available in: v3.0.20 v3.1.12

Signature

set_content_type(*args)

No documentation comment.

Parameters

args rest
Source
# File actionmailer/lib/action_mailer/tmail_compat.rb, line 4
    def set_content_type(*args)
      ActiveSupport::Deprecation.warn('Message#set_content_type is deprecated, please just call ' <<
                                      'Message#content_type with the same arguments', caller[0,2])
      content_type(*args)
    end

Defined in actionmailer/lib/action_mailer/tmail_compat.rb line 4 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Mail::Message

Type at least 2 characters to search.

↑↓ navigate · open · esc close