dealmap 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/dealmap.rb +1 -1
- data/lib/dealmap/version.rb +1 -1
- metadata +1 -1
data/lib/dealmap.rb
CHANGED
|
@@ -80,7 +80,7 @@ module Dealmap
|
|
|
80
80
|
# businesses, total = @client.search_businesses(:l => "Miami, FL", :d => 50, :q => "bar")
|
|
81
81
|
# @example Search for bars within a 50 mile radius of Miami, FL and return 100 results
|
|
82
82
|
# businesses, total = @client.search_businesses(:l => "Miami, FL", :d => 50, :q => "bar", :ps => 100)
|
|
83
|
-
def
|
|
83
|
+
def search_busineses(options = {})
|
|
84
84
|
options = options.merge(:key => api_key)
|
|
85
85
|
response = conn.get("/search/businesses/") { |req| req.params = options }
|
|
86
86
|
doc = Nokogiri::XML(response.body)
|
data/lib/dealmap/version.rb
CHANGED