I am using barometer gem.
I have a model with :latitude and :longitude defined, but the docs don’t specify the use of latitude and longitude for a query.
I’ve got this so far
barometer = Barometer.new(:latitude, :longitude) #does not work
weather = barometer.measure
puts weather.current.temperature
Any help would be appreciated.
I haven’t ever worked with Barometer gem, but from documentation I suggest you use such snippet