Module: Aws::SharedConfigGetKey
- Defined in:
- lib/aws/google.rb
Overview
Patch Aws::SharedConfig to allow fetching arbitrary keys from the shared config.
Instance Method Summary collapse
Instance Method Details
#get(key, opts = {}) ⇒ Object
223 224 225 226 227 228 |
# File 'lib/aws/google.rb', line 223 def get(key, opts = {}) profile = opts.delete(:profile) || @profile_name if @parsed_config && (prof_config = @parsed_config[profile]) prof_config[key] end end |