Class: Lyra::ClientConfig
Instance Attribute Summary collapse
-
#access_key_id ⇒ Object
readonly
Returns the value of attribute access_key_id.
-
#aws_region ⇒ Object
readonly
Returns the value of attribute aws_region.
-
#environment ⇒ Object
readonly
Returns the value of attribute environment.
-
#secret_access_key ⇒ Object
readonly
Returns the value of attribute secret_access_key.
Instance Method Summary collapse
-
#initialize(access_key_id: String, secret_access_key: String, aws_region: String, environment: String) ⇒ ClientConfig
constructor
A new instance of ClientConfig.
Constructor Details
#initialize(access_key_id: String, secret_access_key: String, aws_region: String, environment: String) ⇒ ClientConfig
Returns a new instance of ClientConfig.
8 9 10 11 12 13 |
# File 'lib/lyra/client_config.rb', line 8 def initialize(access_key_id: String, secret_access_key: String, aws_region: String, environment: String) @access_key_id = access_key_id @secret_access_key = secret_access_key @aws_region = aws_region @environment = environment end |
Instance Attribute Details
#access_key_id ⇒ Object (readonly)
Returns the value of attribute access_key_id.
3 4 5 |
# File 'lib/lyra/client_config.rb', line 3 def access_key_id @access_key_id end |
#aws_region ⇒ Object (readonly)
Returns the value of attribute aws_region.
5 6 7 |
# File 'lib/lyra/client_config.rb', line 5 def aws_region @aws_region end |
#environment ⇒ Object (readonly)
Returns the value of attribute environment.
6 7 8 |
# File 'lib/lyra/client_config.rb', line 6 def environment @environment end |
#secret_access_key ⇒ Object (readonly)
Returns the value of attribute secret_access_key.
4 5 6 |
# File 'lib/lyra/client_config.rb', line 4 def secret_access_key @secret_access_key end |