Skip to content

Commit e403294

Browse files
committed
REW-2045 - adds private keyword to dragonfly adapter
1 parent 0b70347 commit e403294

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/models/concerns/csv2db/dragonfly_adapter.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ module Csv2db::DragonflyAdapter
1111
validate :check_file_extension
1212
end
1313

14+
private
15+
1416
def check_file_extension
1517
# very basic check of file extension
1618
errors.add(:file, I18n.t('shared.file_processor.incorrect_file_type')) unless file.ext == 'csv'

0 commit comments

Comments
 (0)