class Seahorse::Client::Configuration
def apply_options(struct, options)
def apply_options(struct, options) options.each do |opt, value| begin struct[opt] = value rescue NameError msg = "invalid configuration option `#{opt.inspect}'" raise ArgumentError, msg end end end