method

verify_api_key

Importance_0
verify_api_key(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 73
  def verify_api_key(key)
    if Gem.configuration.api_keys.key? key then
      Gem.configuration.api_keys[key]
    else
      alert_error "No such API key. You can add it with gem keys --add #{key}"
      terminate_interaction 1
    end
  end
Register or log in to add new notes.