From 1d4ef88e60bcecc5c413cf3b6e6cb76f4bb6eaa1 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 6 Dec 2012 10:43:07 +0000 Subject: Rename _get_attachment_text_internal_one_file to get_attachment_text_one_file as it is now an externally-accessed method of the mail handler module. --- lib/mail_handler/mail_handler.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/mail_handler/mail_handler.rb') diff --git a/lib/mail_handler/mail_handler.rb b/lib/mail_handler/mail_handler.rb index 7d80753c2..4b16fd046 100644 --- a/lib/mail_handler/mail_handler.rb +++ b/lib/mail_handler/mail_handler.rb @@ -69,7 +69,7 @@ module MailHandler return content_type end - def _get_attachment_text_internal_one_file(content_type, body, charset = 'utf-8') + def get_attachment_text_one_file(content_type, body, charset = 'utf-8') # note re. charset: TMail always tries to convert email bodies # to UTF8 by default, so normally it should already be that. text = '' @@ -164,7 +164,7 @@ module MailHandler content_type = 'application/octet-stream' end - text += _get_attachment_text_internal_one_file(content_type, body) + text += get_attachment_text_one_file(content_type, body) end end -- cgit v1.2.3