Method: DataDuck::S3Object#initialize
- Defined in:
- lib/dataduck/s3_object.rb
#initialize(path, contents, aws_key, aws_secret, bucket, region, options = {}) ⇒ S3Object
Returns a new instance of S3Object.
6 7 8 9 10 11 12 13 14 |
# File 'lib/dataduck/s3_object.rb', line 6 def initialize(path, contents, aws_key, aws_secret, bucket, region, ={}) @path = path @contents = contents @options = @aws_key = aws_key @aws_secret = aws_secret @bucket = bucket @region = region end |