Method: Backup::CloudIO::S3#initialize
- Defined in:
- lib/backup/cloud_io/s3.rb
#initialize(options = {}) ⇒ S3
Returns a new instance of S3.
20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/backup/cloud_io/s3.rb', line 20 def initialize( = {}) super @access_key_id = [:access_key_id] @secret_access_key = [:secret_access_key] @use_iam_profile = [:use_iam_profile] @region = [:region] @bucket = [:bucket] @chunk_size = [:chunk_size] @encryption = [:encryption] @storage_class = [:storage_class] = [:fog_options] end |