Class: Conduit::Configuration
- Inherits:
-
Object
- Object
- Conduit::Configuration
- Defined in:
- lib/conduit/configuration.rb
Instance Attribute Summary collapse
-
#driver_paths ⇒ Object
Returns the value of attribute driver_paths.
-
#storage_config ⇒ Object
Returns the value of attribute storage_config.
Instance Method Summary collapse
Instance Attribute Details
#driver_paths ⇒ Object
Returns the value of attribute driver_paths.
20 21 22 |
# File 'lib/conduit/configuration.rb', line 20 def driver_paths @driver_paths end |
#storage_config ⇒ Object
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
#storage ⇒ Object
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 |