lib/tennis.rb in tennis-jobs-0.3.1 vs lib/tennis.rb in tennis-jobs-0.4.0

- old
+ new

@@ -1,25 +1,20 @@ -require "sneakers" +require "tennis/configuration" module Tennis - module Worker - autoload :Deferable, "tennis/worker/deferable" - autoload :Generic, "tennis/worker/generic" - end + autoload :Job, "tennis/job" - module Serializer - autoload :Generic, "tennis/serializer/generic" - end - - autoload :Configuration, "tennis/configuration" - def self.configure @config = Configuration.new yield @config if block_given? @config.finalize! end def self.config @config or fail "You must run Tennis.configure before accessing the configuration" + end + + def self.logger + @config.logger end end