method

set_api_key

set_api_key(host, key)
public

No documentation available.

# File lib/rubygems/gemcutter_utilities.rb, line 193
  def set_api_key(host, key)
    if host == Gem::DEFAULT_HOST
      Gem.configuration.rubygems_api_key = key
    else
      Gem.configuration.set_api_key host, key
    end
  end