Class: BaiduApi::LbsCloud::V3::Geodata::Poi
- Inherits:
-
Object
- Object
- BaiduApi::LbsCloud::V3::Geodata::Poi
- Includes:
- RequestBase
- Defined in:
- lib/baidu_api/lbs_cloud/v3/geodata/poi.rb
Instance Attribute Summary
Attributes included from RequestBase
Instance Method Summary collapse
- #create(data) ⇒ Object
- #delete(data) ⇒ Object
- #detail(data) ⇒ Object
- #list(data = {}) ⇒ Object
- #update(data) ⇒ Object
- #upload(data) ⇒ Object
Methods included from RequestBase
Instance Method Details
#create(data) ⇒ Object
10 11 12 |
# File 'lib/baidu_api/lbs_cloud/v3/geodata/poi.rb', line 10 def create(data) request('create', data, :post) end |
#delete(data) ⇒ Object
26 27 28 |
# File 'lib/baidu_api/lbs_cloud/v3/geodata/poi.rb', line 26 def delete(data) request('delete', data, :post) end |
#detail(data) ⇒ Object
18 19 20 |
# File 'lib/baidu_api/lbs_cloud/v3/geodata/poi.rb', line 18 def detail(data) request('detail', data) end |
#list(data = {}) ⇒ Object
14 15 16 |
# File 'lib/baidu_api/lbs_cloud/v3/geodata/poi.rb', line 14 def list(data = {}) request('list', data) end |
#update(data) ⇒ Object
22 23 24 |
# File 'lib/baidu_api/lbs_cloud/v3/geodata/poi.rb', line 22 def update(data) request('update', data, :post) end |
#upload(data) ⇒ Object
30 31 32 |
# File 'lib/baidu_api/lbs_cloud/v3/geodata/poi.rb', line 30 def upload(data) fail 'This function is not implemented!' end |