.yardoc/objects/ActionMailer/Base/mail_i.dat in mail_engine-0.1.0 vs .yardoc/objects/ActionMailer/Base/mail_i.dat in mail_engine-0.1.1
- old
+ new
@@ -1,8 +1,6 @@
-o:$YARD::CodeObjects::MethodObject:@current_file_has_commentsF:
-@linei
-:@signature"!def mail(headers={}, &block):@scope:
instance:@source"
def mail(headers={}, &block)
+o:$YARD::CodeObjects::MethodObject:@visibility:public:@source_type: ruby:@scope:
instance:@source"
def mail(headers={}, &block)
# order by latest uploaded, for get the latest updated 'subject'
current_template = MailEngine::MailTemplate.where(:path => "#{controller_path}/#{action_name}", :locale => I18n.locale, :partial => false).order("updated_at desc").first
headers[:subject] = current_template.subject if headers[:subject].blank? && current_template.present?
headers[:message_id] = "#{controller_path}/#{action_name}"
@@ -12,10 +10,12 @@
self.sendgrid_config.add_to headers[:to]
origin_mail(headers.merge(self.sendgrid_config.to_hash), &block)
else
origin_mail(headers, &block)
end
-end:
-@tags[ :@docstringIC:YARD::Docstring"