Class: BaiduLBS::GeoSearch

Inherits:
Client
  • Object
show all
Defined in:
lib/baidu_lbs/geo_search.rb

Class Method Summary collapse

Methods included from Request

#connection, #get, #post, #request

Class Method Details

.bound(params) ⇒ Object



11
12
13
# File 'lib/baidu_lbs/geo_search.rb', line 11

def bound(params)
  get '/geosearch/v3/bound', params
end

.detail(id) ⇒ Object



15
16
17
# File 'lib/baidu_lbs/geo_search.rb', line 15

def detail(id)
  get "/geosearch/v3/detail/#{id}"
end

.local(params) ⇒ Object



7
8
9
# File 'lib/baidu_lbs/geo_search.rb', line 7

def local(params)
  get '/geosearch/v3/local', params
end

.nearby(params) ⇒ Object



3
4
5
# File 'lib/baidu_lbs/geo_search.rb', line 3

def nearby(params)
  get '/geosearch/v3/nearby', params
end