• Sean McGivern's avatar
    Move SidekiqConfig methods used by CLI to own module · 4484de15
    Sean McGivern authored
    These methods can't use any Rails dependencies, which also means the
    SidekiqConfig module definition - i.e. constants - can't use Rails
    dependencies either.
    
    Move those methods to their own module to make this clearer. Also switch
    to defining methods on the singleton class in both modules to make
    private methods more convenient.
    4484de15
cli_methods.rb 1.18 KB