o:$YARD::CodeObjects::MethodObject:@visibility: public:@source_type: ruby: @scope: class: @source"³def send_marketing_mail(template, *args) options = args.extract_options! options[:locale] ||= I18n.locale # ensure the :to parameter. raise "Should specify :to option" if options[:to].blank? # find the template from database. template_path = File.join("mail_engine", "mail_dispatcher", template) unless mail_template = MailEngine::MailTemplate.where(:path => template_path, :locale => options[:locale], :for_marketing => true, :partial => false).first raise "Can't find the template: #{template_path}" end options[:subject] ||= mail_template.subject I18n.with_locale(mail_template.locale) do MailEngine::MailDispatcher.send(template, options).deliver end end:@explicitT: @tags[:@current_file_has_commentsT: @linei:@signature"-def send_marketing_mail(template, *args): @files[["lib/mail_engine/base.rbi: @name:send_marketing_mail: @path")MailEngine::Base.send_marketing_mail:@docstringIC:YARD::Docstring"±send mail template with given data. === example MailEngine::Base.send_marketing_mail("newsletter", :to => 'm@theplant.jp', :values => {:users => MailEngine::USER_MODEL.last}) : @all[ "(send mail template with given data."=== example""€ MailEngine::Base.send_marketing_mail("newsletter", :to => 'm@theplant.jp', :values => {:users => MailEngine::USER_MODEL.last})":@line_rangeo: Range:endi: begini: exclF;[:@ref_tags[: @summary0: @objectu:YARD::StubProxy)MailEngine::Base.send_marketing_mail:@namespaceu;!MailEngine::Base: @dynamicT:@parameters[[" template0[" *args0:@docstring_extra0