Module: S3DataPacker
- Defined in:
- lib/s3_data_packer.rb,
lib/s3_data_packer/queue.rb,
lib/s3_data_packer/bucket.rb,
lib/s3_data_packer/packer.rb,
lib/s3_data_packer/summary.rb,
lib/s3_data_packer/version.rb,
lib/s3_data_packer/json_batch.rb,
lib/s3_data_packer/thread_set.rb,
lib/s3_data_packer/configuration.rb,
lib/s3_data_packer/sources/object.rb,
lib/s3_data_packer/targets/object.rb,
lib/s3_data_packer/sources/s3_bucket.rb,
lib/s3_data_packer/targets/s3_bucket.rb,
lib/s3_data_packer/filename_generator.rb
Defined Under Namespace
Modules: Sources, Targets Classes: Bucket, Configuration, FilenameGenerator, JSONBatch, Packer, Queue, Summary, ThreadSet
Constant Summary collapse
- VERSION =
"0.2.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
(also: config)
readonly
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object (readonly) Also known as: config
Returns the value of attribute configuration.
25 26 27 |
# File 'lib/s3_data_packer.rb', line 25 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
33 34 35 |
# File 'lib/s3_data_packer.rb', line 33 def configure yield configuration end |
.logger ⇒ Object
37 38 39 |
# File 'lib/s3_data_packer.rb', line 37 def logger @logger ||= config.logger || Logger.new('log/s3_data_packer.log') end |