Module: MailReceiver

Defined in:
lib/gitlab-mail-receiver.rb,
lib/mail-receiver/cli.rb,
lib/mail-receiver/daemon.rb,
lib/mail-receiver/encoder.rb,
lib/mail-receiver/version.rb,
lib/mail-receiver/receiver.rb,
lib/mail-receiver/reply_to.rb,
lib/mail-receiver/body_parser.rb

Overview

Daemon code from: github.com/huacnlee/sails

Defined Under Namespace

Modules: BodyParser, Encoder, ReplyTo Classes: CLI, Daemon, Receiver

Class Method Summary collapse

Class Method Details

.configObject



23
24
25
# File 'lib/gitlab-mail-receiver.rb', line 23

def self.config
  Mailman.config
end

.configure(&block) ⇒ Object



27
28
29
# File 'lib/gitlab-mail-receiver.rb', line 27

def self.configure(&block)
  Mailman.config.instance_exec(&block)
end

.versionObject



3
4
5
# File 'lib/mail-receiver/version.rb', line 3

def version
  '0.1.1'
end