Module: S3Archive
- Defined in:
- lib/s3archive/config.rb,
lib/s3archive/db_dump.rb,
lib/s3archive/logging.rb,
lib/s3archive/postrotate.rb,
lib/s3archive/compress_and_upload.rb,
lib/s3archive/s3_file_synchronizer.rb
Defined Under Namespace
Modules: Logging
Classes: CompressAndUpload, Config, DbDump, LocalFile, Postrotate, S3File, S3FileSynchronizer
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
13
14
15
|
# File 'lib/s3archive/config.rb', line 13
def self.config
@config ||= Config.new(YAML.load(File.read(config_path)))
end
|
.config_path ⇒ Object
9
10
11
|
# File 'lib/s3archive/config.rb', line 9
def self.config_path
@config_path
end
|
.config_path=(config_path) ⇒ Object
5
6
7
|
# File 'lib/s3archive/config.rb', line 5
def self.config_path=(config_path)
@config_path = config_path
end
|