Sha256: a917d9ebd9e1749763d082248c00ede6fb4c43950b5b02165b3a52ca54bf7d71
Contents?: true
Size: 327 Bytes
Versions: 1
Compression:
Stored size: 327 Bytes
Contents
require 'yaml' module WhosDatedWho class BingClient API_KEY = YAML.load_file( File.expand_path('~/.whos_dated_who.yml'))[:bing_api_key] def initialize(api_key=API_KEY) @api_key = api_key @client = Bing.new(@api_key, 10, 'Web') end def search(query) @client.search(query) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
whos_dated_who-0.0.1 | lib/whos_dated_who/bing_client.rb |