Sha256: c9b4233e4cc1c5a830dc3f2d8d775fd2efaf056721b27ae184d3a3c4e2fee487

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

module Importo
  class ImportService < ApplicationService
    def perform
      sleep 1

      context.import.import!
      context.import.importer.import!
    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/import_service.rb
importo-2.0.4 app/services/importo/import_service.rb