Sha256: 613845a189d4319e2d7c2c321bbcef50abd4da38deebe290f0a01b70f7051b68

Contents?: true

Size: 234 Bytes

Versions: 8

Compression:

Stored size: 234 Bytes

Contents

# frozen_string_literal: true

module Importo
  class ImportContext < ApplicationContext
    input do
      attribute :import, type: Import, typecaster: ->(value) { value.is_a?(Import) ? value : Import.find(value) }
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
importo-3.0.14 app/services/importo/import_context.rb
importo-3.0.13 app/services/importo/import_context.rb
importo-3.0.12 app/services/importo/import_context.rb
importo-3.0.11 app/services/importo/import_context.rb
importo-3.0.10 app/services/importo/import_context.rb
importo-3.0.9 app/services/importo/import_context.rb
importo-2.0.5 app/services/importo/import_context.rb
importo-2.0.4 app/services/importo/import_context.rb