summaryrefslogtreecommitdiff
path: root/lib/bulk_imports/common/transformers/prohibited_attributes_transformer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bulk_imports/common/transformers/prohibited_attributes_transformer.rb')
-rw-r--r--lib/bulk_imports/common/transformers/prohibited_attributes_transformer.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/bulk_imports/common/transformers/prohibited_attributes_transformer.rb b/lib/bulk_imports/common/transformers/prohibited_attributes_transformer.rb
index 858c4c8976b..37b64923d56 100644
--- a/lib/bulk_imports/common/transformers/prohibited_attributes_transformer.rb
+++ b/lib/bulk_imports/common/transformers/prohibited_attributes_transformer.rb
@@ -14,10 +14,6 @@ module BulkImports
/\Aremote_\w+_(url|urls|request_header)\Z/ # carrierwave automatically creates these attribute methods for uploads
).freeze
- def initialize(options = {})
- @options = options
- end
-
def transform(context, data)
data.each_with_object({}) do |(key, value), result|
prohibited = prohibited_key?(key)