Class: Broadside::Configuration::AwsConfig
- Inherits:
-
ConfigStruct
- Object
- ConfigStruct
- Broadside::Configuration::AwsConfig
- Defined in:
- lib/broadside/configuration/aws.rb
Instance Attribute Summary collapse
-
#credentials ⇒ Object
Returns the value of attribute credentials.
-
#region ⇒ Object
Returns the value of attribute region.
Instance Method Summary collapse
-
#initialize ⇒ AwsConfig
constructor
A new instance of AwsConfig.
Methods inherited from ConfigStruct
#method_missing, #to_h, #verify
Constructor Details
#initialize ⇒ AwsConfig
Returns a new instance of AwsConfig.
8 9 10 11 |
# File 'lib/broadside/configuration/aws.rb', line 8 def initialize @region = 'us-east-1' @credentials = Aws::SharedCredentials.new.credentials end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Broadside::Configuration::ConfigStruct
Instance Attribute Details
#credentials ⇒ Object
Returns the value of attribute credentials.
6 7 8 |
# File 'lib/broadside/configuration/aws.rb', line 6 def credentials @credentials end |
#region ⇒ Object
Returns the value of attribute region.
6 7 8 |
# File 'lib/broadside/configuration/aws.rb', line 6 def region @region end |