method

set_api_key

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: GemcutterUtilities
set_api_key(host, key) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/gemcutter_utilities.rb, line 162
  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
Register or log in to add new notes.