Sha256: 6b6cf5fa6cb035b8035185d5ac028757f0b369c8284fa330a1b9d2ad51219806

Contents?: true

Size: 305 Bytes

Versions: 19

Compression:

Stored size: 305 Bytes

Contents

module ProconBypassMan
  module Background
    class JobPerformer
      def initialize(klass: , args: )
        @klass = klass
        @args = args
      end

      def perform
        @klass.perform(*@args)
      rescue => e
        ProconBypassMan::ReportErrorJob.perform(e)
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
procon_bypass_man-0.2.2 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.2.1 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.2.0 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.23 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.22 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.21 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.20.2 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.20.1 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.20 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.19.1 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.19 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.18 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.17 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.16.1 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.16 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.15 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.14 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.13 lib/procon_bypass_man/background/job_performer.rb
procon_bypass_man-0.1.12 lib/procon_bypass_man/background/job_performer.rb