Sha256: b549c8304ea7fea61183eeae36e4a6339185a207886d1eb96e0b4e0b1c5a3950

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

module CsvRowModel
  module Import
    class File
      module Callbacks
        extend ActiveSupport::Concern

        included do
          extend ActiveModel::Callbacks

          define_model_callbacks :yield
          define_model_callbacks :abort, :skip, only: :before
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csv_row_model-0.1.0 lib/csv_row_model/import/file/callbacks.rb