Sha256: 0f2a65036ef455618f488cc69f0a8e7b8cb1c7d1c830cf2353ff65508fa7fa39
Contents?: true
Size: 284 Bytes
Versions: 3
Compression:
Stored size: 284 Bytes
Contents
module WhosDatedWho class Client def fetch(name) bing_results = BingClient.new.search("#{name} site:dating.famousfix.com") url = bing_results.first[:Web].first[:Url] resp = Faraday.get(url) resp.success? && Parser.new.parse(resp.body) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
whos_dated_who-1.0.2 | lib/whos_dated_who/client.rb |
whos_dated_who-1.0.1 | lib/whos_dated_who/client.rb |
whos_dated_who-1.0.0 | lib/whos_dated_who/client.rb |