Class: BlinkApi::Endpoints::Search

Inherits:
Saddle::TraversalEndpoint
  • Object
show all
Defined in:
lib/blink_api/endpoints/search.rb

Instance Method Summary collapse

Instance Method Details

#query(query, lat, long, options = {}) ⇒ Object



8
9
10
# File 'lib/blink_api/endpoints/search.rb', line 8

def query query, lat, long, options={}
  get nil, {:q => query, :lat => lat, :lng => long}.merge(options)
end