Sha256: 901fa286aae2642bc7a908cb65e529818479c8057a0fa547e9e1eadf158e4008

Contents?: true

Size: 233 Bytes

Versions: 7

Compression:

Stored size: 233 Bytes

Contents

# frozen_string_literal: true

module Importo
  class ImportService < ApplicationService
    def perform
      context.import.import!
      context.import.importer.import!
    rescue
        context.import.failure!
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
importo-3.0.21 app/services/importo/import_service.rb
importo-3.0.20 app/services/importo/import_service.rb
importo-3.0.19 app/services/importo/import_service.rb
importo-3.0.18 app/services/importo/import_service.rb
importo-3.0.17 app/services/importo/import_service.rb
importo-3.0.16 app/services/importo/import_service.rb
importo-3.0.15 app/services/importo/import_service.rb