class Aws::SharedConfig
def self.config_reader(*attrs)
Uses the get_config_value below to control where
Add an accessor method (similar to attr_reader) to return a configuration value
def self.config_reader(*attrs) attrs.each do |attr| define_method(attr) { |opts = {}| get_config_value(attr.to_s, opts) } end end