instance method
transfer_encoding
Ruby on Rails 3.0.20
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 11
def transfer_encoding(value = nil)
if value
ActiveSupport::Deprecation.warn('Message#transfer_encoding is deprecated, please call ' <<
'Message#content_transfer_encoding with the same arguments', caller[0,2])
content_transfer_encoding(value)
else
old_transfer_encoding
end
end
Defined in actionmailer/lib/action_mailer/tmail_compat.rb line 11
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Mail::Message