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
18 19 20 |
# File 'lib/conduit/storage.rb', line 18 def self.config Conduit.configuration.storage end |
.provider ⇒ Object
Get the name of the chosen provider from the configuration
25 26 27 |
# File 'lib/conduit/storage.rb', line 25 def self.provider Conduit.configuration.storage[:provider] end |