Module: Conduit::Storage
- Defined in:
- lib/conduit/storage.rb,
lib/conduit/storage/aws.rb,
lib/conduit/storage/file.rb
Defined Under Namespace
Class Method Summary collapse
-
.config ⇒ Object
Wrapper around the configuration object.
-
.provider ⇒ Object
Get the name of the chosen provider from the configuration.
Class Method Details
.config ⇒ Object
Wrapper around the configuration object
Configurable in: config/initializers/conduit.rb
19 20 21 |
# File 'lib/conduit/storage.rb', line 19 def self.config Conduit.configuration.storage end |
.provider ⇒ Object
Get the name of the chosen provider from the configuration
26 27 28 |
# File 'lib/conduit/storage.rb', line 26 def self.provider Conduit.configuration.storage[:provider] end |