diff options
Diffstat (limited to 'lib/bulk_imports/pipeline/context.rb')
-rw-r--r-- | lib/bulk_imports/pipeline/context.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bulk_imports/pipeline/context.rb b/lib/bulk_imports/pipeline/context.rb index cda03c04ef2..dd121b2dbed 100644 --- a/lib/bulk_imports/pipeline/context.rb +++ b/lib/bulk_imports/pipeline/context.rb @@ -4,10 +4,12 @@ module BulkImports module Pipeline class Context attr_reader :entity, :bulk_import + attr_accessor :extra - def initialize(entity) + def initialize(entity, extra = {}) @entity = entity @bulk_import = entity.bulk_import + @extra = extra end def group |