Flowdock
method

load_api_keys

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: ConfigFile
load_api_keys() public

No documentation

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

Hide source
# File lib/rubygems/config_file.rb, line 221
  def load_api_keys
    @api_keys = if File.exist? credentials_path then
                  load_file(credentials_path)
                else
                  @hash
                end
    if @api_keys.key? :rubygems_api_key then
      @rubygems_api_key = @api_keys[:rubygems_api_key]
      @api_keys[:rubygems] = @api_keys.delete :rubygems_api_key unless @api_keys.key? :rubygems
    end
  end
Register or log in to add new notes.