Class: BlinkApi::Endpoints::Locations

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

Instance Method Summary collapse

Instance Method Details

#find(lat, long, lat_range, long_range, options = {}) ⇒ Object



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

def find lat, long, lat_range, long_range, options={}
  get nil, {:lat => lat, :lng => long, :latd => lat_range, :lngd => long_range}.merge(options)
end