Sha256: 39009c8db46258739b4e9d0aa279d8bc71af9f671b826144e1da98844b2a8c93

Contents?: true

Size: 251 Bytes

Versions: 2

Compression:

Stored size: 251 Bytes

Contents

# frozen_string_literal: true

module Importo
  class RevertService < ApplicationService
    def perform
      sleep 1

      context.import.importer.revert!
    rescue StandardError
      context.import.failure!
      context.fail!
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
importo-2.0.5 app/services/importo/revert_service.rb
importo-2.0.4 app/services/importo/revert_service.rb