Class: Conduit::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/conduit/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#driver_pathsObject

Returns the value of attribute driver_paths.



20
21
22
# File 'lib/conduit/configuration.rb', line 20

def driver_paths
  @driver_paths
end

#storage_configObject

Returns the value of attribute storage_config.



20
21
22
# File 'lib/conduit/configuration.rb', line 20

def storage_config
  @storage_config
end

Instance Method Details

#storageObject



22
23
24
25
# File 'lib/conduit/configuration.rb', line 22

def storage
  path = File.join(__dir__, '../', 'tmp', 'conduit')
  @storage_config ||= { provider: :file, file_path: path }
end