Sha256: 8f731453b60e641c8d8ff1b89c411291cf52c338b75c642b95d4fe8f44865425

Contents?: true

Size: 270 Bytes

Versions: 2

Compression:

Stored size: 270 Bytes

Contents

# frozen_string_literal: true

module Importo
  class CallbackService < ApplicationService
    context do
      attribute :import
      attribute :callback
    end

    def perform
      Importo.config.import_callback(context.import, context.callback)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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