Sha256: bfcb7f002ea47b8bf7b6b5a64a11a44d151e77d1f021cd91cda913197143d7a1

Contents?: true

Size: 362 Bytes

Versions: 16

Compression:

Stored size: 362 Bytes

Contents

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

        included do
          extend ActiveModel::Callbacks

          define_model_callbacks :each_iteration
          define_model_callbacks :next
          define_model_callbacks :abort, :skip, only: :before
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
csv_row_model-1.0.0.beta1 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.4.1 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.4.0 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.3.10 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.3.9 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.3.8 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.3.7 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.3.6 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.3.5 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.3.4 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.3.3 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.3.2 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.3.1 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.3.0 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.2.1 lib/csv_row_model/import/file/callbacks.rb
csv_row_model-0.1.1 lib/csv_row_model/import/file/callbacks.rb