Class: Brillo::Transferrer::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/brillo/transferrer/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

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

#bucketObject

Returns the value of attribute bucket.



4
5
6
# File 'lib/brillo/transferrer/config.rb', line 4

def bucket
  @bucket
end

#enabledObject

Returns the value of attribute enabled.



4
5
6
# File 'lib/brillo/transferrer/config.rb', line 4

def enabled
  @enabled
end

#regionObject

Returns the value of attribute region.



4
5
6
# File 'lib/brillo/transferrer/config.rb', line 4

def region
  @region
end

#secret_access_keyObject

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