Skip to content

Commit 8c7fe93

Browse files
committed
REW-2045 - adds local_storage_host config option to csv2db gem
1 parent d1fd922 commit 8c7fe93

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/csv2db/config.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ module Csv2db
44
class Config
55
include Singleton
66

7-
attr_writer :storage_adapter
7+
attr_writer :storage_adapter, :local_storage_host
88

99
def storage_adapter
1010
@storage_adapter ||= :dragonfly
1111
ActiveSupport::StringInquirer.new(@storage_adapter.to_s)
1212
end
13+
14+
def local_storage_host
15+
@local_storage_host ||= ''
16+
end
1317
end
1418
end

0 commit comments

Comments
 (0)