End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::GemcutterUtilities#get_user_profile
get_user_profile(email, password)
lib/rubygems/gemcutter_utilities.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/gemcutter_utilities.rb, line 287
def get_user_profile(email, password)
return {} unless default_host?
response = rubygems_api_request(:get, "api/v1/profile/me.yaml") do |request|
request.basic_auth email, password
end
with_response response do |resp|
Gem::SafeYAML.load clean_text(resp.body)
end
end
No documentation available
See also
#get_scope_params
#host
#get_mfa_params
#mfa_unauthorized?
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1