Module: PINS

Defined in:
lib/postmark-inbound/config.rb,
lib/postmark-inbound/helper.rb,
lib/postmark-inbound/logger.rb,
lib/postmark-inbound/server.rb,
lib/postmark-inbound/handler.rb,
lib/postmark-inbound/version.rb

Defined Under Namespace

Modules: Helper Classes: Config, Handler, NullLogger, Server

Constant Summary collapse

Version =
'0.2.1'

Class Method Summary collapse

Class Method Details

.configObject



3
4
5
# File 'lib/postmark-inbound/config.rb', line 3

def self.config
  Config.shared
end

.handlersObject



3
4
5
# File 'lib/postmark-inbound/handler.rb', line 3

def self.handlers
  Handler.handlers
end

.loggerObject



10
11
12
# File 'lib/postmark-inbound/logger.rb', line 10

def self.logger
  @logger ||= NullLogger.new()
end

.logger=(logger) ⇒ Object



6
7
8
# File 'lib/postmark-inbound/logger.rb', line 6

def self.logger=(logger)
  @logger = logger
end