Sha256: 0e5a4bd57bc642fc064653f9b6994ae1b391892a500fd180b5aba3c2e90a8116
Contents?: true
Size: 869 Bytes
Versions: 5
Compression:
Stored size: 869 Bytes
Contents
# frozen_string_literal: true require "sidekiq" require_relative "belt/version" require_relative "web_action_helper" require_relative "web_router_helper" require_relative("belt/community/files") require_relative("belt/ent/files") require_relative("belt/pro/files") module Sidekiq module Belt class Error < StandardError; end def self.use!(options = [:all]) Sidekiq::Belt::Community::Files.use!(options) Sidekiq::Belt::Pro::Files.use!(options) Sidekiq::Belt::Ent::Files.use!(options) end def self.configure yield config end def self.config @config ||= Struct.new(:run_jobs, :top_label).new([], {}) end def self.env (Sidekiq.default_configuration[:environment] || ENV["APP_ENV"] || ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development").to_sym end end end
Version data entries
5 entries across 5 versions & 1 rubygems