Module: Conduit::Storage

Defined in:
lib/conduit/storage.rb,
lib/conduit/storage/aws.rb,
lib/conduit/storage/file.rb

Defined Under Namespace

Modules: Aws, File

Class Method Summary collapse

Class Method Details

.configObject

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

.providerObject

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