diff options
author | Ilya Zhitomirskiy <ilya@laptop.(none)> | 2011-06-09 05:46:38 +0400 |
---|---|---|
committer | Ilya Zhitomirskiy <ilya@laptop.(none)> | 2011-06-09 05:46:38 +0400 |
commit | b575983c22f025bf7b599975e16d715a8ae040f7 (patch) | |
tree | 44006496814a04aabf98a45aa55c97cb59d9e449 /lib | |
parent | 808754f8bdc72bf7868e449352224baa5adf2190 (diff) |
WIP certs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/webfinger.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/webfinger.rb b/lib/webfinger.rb index bf752bc93..2e8659fd8 100644 --- a/lib/webfinger.rb +++ b/lib/webfinger.rb @@ -47,7 +47,7 @@ class Webfinger private def get_xrd begin - http = RestClient.get xrd_url, OPTS + http = Faraday.get xrd_url, OPTS profile_url = webfinger_profile_url(http.body) if profile_url @@ -69,7 +69,7 @@ class Webfinger def get_webfinger_profile(profile_url) begin - http = RestClient.get(profile_url, OPTS) + http = Faraday.get(profile_url, OPTS) rescue raise I18n.t('webfinger.fetch_failed', :profile_url => profile_url) @@ -83,7 +83,7 @@ class Webfinger @wf_profile = WebfingerProfile.new(@account, webfinger_profile) begin - hcard = RestClient.get(@wf_profile.hcard, OPTS) + hcard = Faraday.get(@wf_profile.hcard, OPTS) rescue return I18n.t('webfinger.hcard_fetch_failed', :account => @account) end |