mirror of
https://github.com/ditkrg/workflower.git
synced 2026-01-22 22:26:40 +00:00
28 lines
449 B
Ruby
28 lines
449 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative "workflower/version"
|
|
require "workflower/manager"
|
|
require "workflower/acts_as_workflower"
|
|
|
|
module Workflower
|
|
class Error < StandardError; end
|
|
|
|
class << self
|
|
def configuration
|
|
@configuration ||= Configuration.new
|
|
end
|
|
|
|
def configure
|
|
yield(configuration)
|
|
end
|
|
end
|
|
|
|
class Configuration
|
|
attr_accessor :logger
|
|
|
|
def initialize
|
|
@logger = nil
|
|
end
|
|
end
|
|
end
|