instance method
transfer_encoding
Ruby on Rails 3.1.12
Since v3.0.20 Last seen in v3.1.12Available in: v3.0.20 v3.1.12
Signature
transfer_encoding(value = nil)
No documentation comment.
Parameters
-
valueopt = nil
Source
# File actionmailer/lib/action_mailer/tmail_compat.rb, line 12
def transfer_encoding(value = nil)
if value
message = 'Message#transfer_encoding is deprecated, ' <<
'please call Message#content_transfer_encoding with the same arguments'
ActiveSupport::Deprecation.warn(message, caller[0,2])
content_transfer_encoding(value)
else
old_transfer_encoding
end
end
Defined in actionmailer/lib/action_mailer/tmail_compat.rb line 12
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Mail::Message