aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-02-24 00:08:01 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-02-24 00:08:01 -0300
commit338750393d0f19b193f0ead26adff2b9f586ec18 (patch)
tree40e6a25f953cd8dfb8f3f968d4e2a97879111b0c /actionmailer/lib
parent40fa818580a9277d8d1a02241f1422dbf83a8aa1 (diff)
downloadrails-338750393d0f19b193f0ead26adff2b9f586ec18.tar.gz
rails-338750393d0f19b193f0ead26adff2b9f586ec18.tar.bz2
rails-338750393d0f19b193f0ead26adff2b9f586ec18.zip
Move private methods to the private visibility
Diffstat (limited to 'actionmailer/lib')
-rw-r--r--actionmailer/lib/action_mailer/base.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index 129aa1edfe..559cd06d91 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -828,18 +828,6 @@ module ActionMailer
message
end
- # This and #instrument_name is for caching instrument
- def instrument_payload(key)
- {
- mailer: mailer_name,
- key: key
- }
- end
-
- def instrument_name
- "action_mailer"
- end
-
protected
# Used by #mail to set the content type of the message.
@@ -960,6 +948,18 @@ module ActionMailer
container.add_part(part)
end
+ # This and #instrument_name is for caching instrument
+ def instrument_payload(key)
+ {
+ mailer: mailer_name,
+ key: key
+ }
+ end
+
+ def instrument_name
+ "action_mailer"
+ end
+
ActiveSupport.run_load_hooks(:action_mailer, self)
end
end