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



18
19
20
# File 'lib/conduit/storage.rb', line 18

def self.config
  Conduit.configuration.storage
end

.providerObject

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