Method: Heroku::Auth.netrc_path

Defined in:
lib/heroku/auth.rb

.netrc_pathObject



107
108
109
110
111
112
113
114
115
# File 'lib/heroku/auth.rb', line 107

def netrc_path
  default = Netrc.default_path
  encrypted = default + ".gpg"
  if File.exists?(encrypted)
    encrypted
  else
    default
  end
end