Sha256: c5d400fb04597b7b36768b36e6391dbe93723ce13a154c26c39b5e3220fb1544

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 KB

Contents

o:$YARD::CodeObjects::MethodObject:@visibility:public:@source_type:	ruby:@scope:
instance:@source"'def deliver(event)
  log_mail_config = MailEngine::Base.current_config["log_mail"]
  return false if log_mail_config.blank? or !log_mail_config

  MailEngine::MailLog.create!({
    :mail_template_path => event.payload[:message_id],
    :subject            => event.payload[:subject],
    :raw_body           => event.payload[:mail],
    :recipient          => event.payload[:to].inspect,
    :sender             => event.payload[:from].inspect,
    :mime_type          => event.payload[:mail].scan(/Content-Type: ([^;\r\n]*)/).flatten.inspect
  })
end:@explicitT:
@tags[:@current_file_has_commentsF:
@linei:@signature"def deliver(event):@files[["+lib/mail_engine/mail_log_subscriber.rbi:
@name:deliver:
@path"*MailEngine::MailLogSubscriber#deliver:@docstringIC:YARD::Docstring":	@all":@line_range0;[:@ref_tags[:
@summary0:@objectu:YARD::StubProxy*MailEngine::MailLogSubscriber#deliver:@namespaceu;"MailEngine::MailLogSubscriber:
@dynamicT:@parameters[["
event0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mail_engine-0.1.6 .yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat
mail_engine-0.1.5 .yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat
mail_engine-0.1.4 .yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat
mail_engine-0.1.3 .yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat
mail_engine-0.1.2 .yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat
mail_engine-0.1.1 .yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat