Sha256: 33c34948a1c7dd68889378c7e3cbafc2390bf1123cb650eb9f1504d0a2cb6188

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

o:$YARD::CodeObjects::MethodObject:@current_file_has_commentsF:
@linei:@signature"def deliver(event):@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:
@tags[:@docstringIC:YARD::Docstring":@ref_tags[;[:@objectu:YARD::StubProxy*MailEngine::MailLogSubscriber#deliver:
@summary0:	@all":@line_range0:@namespaceu;"MailEngine::MailLogSubscriber:@files[["+lib/mail_engine/mail_log_subscriber.rbi:
@name:deliver:
@dynamicT:
@path"*MailEngine::MailLogSubscriber#deliver:@parameters[["
event0:@visibility:public:@source_type:	ruby:@explicitT

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mail_engine-0.1.0 .yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat