Class: AtlasClient::PoiFinder
- Defined in:
- lib/atlas_client/poi_finder.rb
Class Method Summary collapse
Methods inherited from Finder
Class Method Details
.find_by_id(id) ⇒ Object
11 12 13 |
# File 'lib/atlas_client/poi_finder.rb', line 11 def self.find_by_id id query("where[id]=#{id}").first end |
.find_by_place_id(place_id) ⇒ Object
7 8 9 |
# File 'lib/atlas_client/poi_finder.rb', line 7 def self.find_by_place_id place_id query "where[place]=#{place_id}" end |