Sha256: 4b0208c2ff861c56863f03276e489e9f6367ba28b387f6b1b7ca4c53b11f45a5

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

# frozen_string_literal: true
require 'request_handler/version'
require 'request_handler/base'
require 'confstruct'
require 'dry-validation'
require 'multi_json'
require 'logger'

module RequestHandler
  class << self
    def configure(&block)
      @configuration.configure(&block)
    end

    def configuration
      @configuration ||= ::Confstruct::Configuration.new do
        logger Logger.new(STDOUT)
        separator '__'
      end
    end

    def separator
      configuration.separator
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
request_handler-0.9.0 lib/request_handler.rb