vendor/seahorse/lib/seahorse/client/base.rb
def build_config(plugins, options)
        options = options.merge(api: self.class.api) unless options[:api]
        config = Configuration.new
        plugins.each do |plugin|
          plugin.add_options(config) if plugin.respond_to?(:add_options)
        end
        config.build!(options)
      end
# Constructs a {Configuration} object and gives each plugin the
# opportunity to register options with default values.
Constructs a {Configuration} object and gives each plugin the
opportunity to register options with default values.
Constructs a { Configuration } object and gives each plugin the opportunity to register options with default values .
def build_config(plugins, options)
        options = options.merge(api: self.class.api) unless options[:api]
        config = Configuration.new
        plugins.each do |plugin|
          plugin.add_options(config) if plugin.respond_to?(:add_options)
        end
        config.build!(options)
      end
def build_config ( plugins , options ) options = options . merge ( api : self . class . api ) unless options [ :api ] config = Configuration . new plugins . each do | plugin | plugin . add_options ( config ) if plugin . respond_to? ( :add_options ) end config . build! ( options ) end
Constructs a {Configuration} object and gives each plugin the
opportunity to register options with default values.
Constructs a { Configuration } object and gives each plugin the opportunity to register options with default values .
plugins
options