Class: Filey::DataSources::AwsSdkS3
- Inherits:
-
DataSource
- Object
- DataSource
- Filey::DataSources::AwsSdkS3
- Defined in:
- lib/filey-diff/data-sources/aws_sdk_s3.rb
Instance Method Summary collapse
-
#initialize(s3_bucket, config = { :concurrency_level => DEFAULT_CONCURRENCY_LEVEL }, &block) ⇒ AwsSdkS3
constructor
A new instance of AwsSdkS3.
Methods inherited from DataSource
Constructor Details
#initialize(s3_bucket, config = { :concurrency_level => DEFAULT_CONCURRENCY_LEVEL }, &block) ⇒ AwsSdkS3
Returns a new instance of AwsSdkS3.
4 5 6 7 8 |
# File 'lib/filey-diff/data-sources/aws_sdk_s3.rb', line 4 def initialize(s3_bucket, config = { :concurrency_level => DEFAULT_CONCURRENCY_LEVEL }, &block) @s3_bucket = s3_bucket @config = config @when_filey_loaded = lambda { |filey| block.call filey } if block end |