Sha256: 8924b7075a2a3efcdf1a5913be74e7ef064c8235453b7a68eda7a11b8453c3f6
Contents?: true
Size: 467 Bytes
Versions: 30
Compression:
Stored size: 467 Bytes
Contents
# frozen_string_literal: true # # Base application job that all jobs extend from # class ApplicationJob < ActiveJob::Base include App47Logger # # If this job should run in this current environment, defaults to true # def self.valid_environments [] end # # Is this job in a valid environment # def self.valid_environment? my_environments = valid_environments (my_environments.empty? || my_environments.include?(Rails.env)) end end
Version data entries
30 entries across 30 versions & 1 rubygems