examples/current_box.rb in owmo-2.0.1 vs examples/current_box.rb in owmo-2.0.3
- old
+ new
@@ -1,7 +1,9 @@
+# frozen_string_literal: true
+
require 'owmo'
-api_key = ""
+api_key = ''
-OWMO::weather(api_key) do |weather|
+OWMO.weather(api_key) do |weather|
puts weather.get :box, bbox: [12, 32, 15, 37, 10].join(',')
end