Class: Brillo::Transferrer::Config
- Inherits:
-
Object
- Object
- Brillo::Transferrer::Config
- Defined in:
- lib/brillo/transferrer/config.rb
Instance Attribute Summary collapse
-
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
-
#bucket ⇒ Object
Returns the value of attribute bucket.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#region ⇒ Object
Returns the value of attribute region.
-
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
Instance Method Summary collapse
-
#initialize(bucket: 'database-scrubs', region: 'us-east-1', enabled: true) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(bucket: 'database-scrubs', region: 'us-east-1', enabled: true) ⇒ Config
Returns a new instance of Config.
5 6 7 8 9 |
# File 'lib/brillo/transferrer/config.rb', line 5 def initialize(bucket: 'database-scrubs', region: 'us-east-1', enabled: true) @enabled = enabled @bucket = bucket @region = region end |
Instance Attribute Details
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
4 5 6 |
# File 'lib/brillo/transferrer/config.rb', line 4 def access_key_id @access_key_id end |
#bucket ⇒ Object
Returns the value of attribute bucket.
4 5 6 |
# File 'lib/brillo/transferrer/config.rb', line 4 def bucket @bucket end |
#enabled ⇒ Object
Returns the value of attribute enabled.
4 5 6 |
# File 'lib/brillo/transferrer/config.rb', line 4 def enabled @enabled end |
#region ⇒ Object
Returns the value of attribute region.
4 5 6 |
# File 'lib/brillo/transferrer/config.rb', line 4 def region @region end |
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
4 5 6 |
# File 'lib/brillo/transferrer/config.rb', line 4 def secret_access_key @secret_access_key end |