module Endorser

Constants

VERSION

Public Class Methods

configure() { |configuration| ... } click to toggle source

Configures the endorser library

# File lib/endorser.rb, line 14
def self.configure
  @@configuration = Configuration.new
  yield @@configuration
  @@logger = @@configuration.logger
end
logger() click to toggle source

The logger that endorser will use @return [Logger|Endorser::NullObject]

# File lib/endorser.rb, line 22
def self.logger
  @@logger || NullObject.new
end