Class: Backup::Storages::AmazonS3::Credentials
- Inherits:
-
Object
- Object
- Backup::Storages::AmazonS3::Credentials
- Defined in:
- lib/backup-agent/storages/amazon-s3.rb
Instance Attribute Summary collapse
-
#access_key_id ⇒ Object
readonly
Returns the value of attribute access_key_id.
-
#secret_access_key ⇒ Object
readonly
Returns the value of attribute secret_access_key.
Instance Method Summary collapse
-
#initialize(access_key_id:, secret_access_key:) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(access_key_id:, secret_access_key:) ⇒ Credentials
Returns a new instance of Credentials.
34 35 36 37 |
# File 'lib/backup-agent/storages/amazon-s3.rb', line 34 def initialize(access_key_id:, secret_access_key:) @access_key_id = access_key_id @secret_access_key = secret_access_key end |
Instance Attribute Details
#access_key_id ⇒ Object (readonly)
Returns the value of attribute access_key_id.
32 33 34 |
# File 'lib/backup-agent/storages/amazon-s3.rb', line 32 def access_key_id @access_key_id end |
#secret_access_key ⇒ Object (readonly)
Returns the value of attribute secret_access_key.
32 33 34 |
# File 'lib/backup-agent/storages/amazon-s3.rb', line 32 def secret_access_key @secret_access_key end |