lib/movlog/geonames_api.rb in movlog-0.3.15 vs lib/movlog/geonames_api.rb in movlog-0.4.0

- old
+ new

@@ -1,8 +1,8 @@ # frozen_string_literal: true require 'http' -module Geonames +module Airports # Service for transformation of location and find near airport class GeonamesApi GEONAMES_URL = 'http://api.geonames.org' SEARCH_URL = [GEONAMES_URL, 'searchJSON'].join('/') FIND_NEARBY_URL = [GEONAMES_URL, 'findNearbyJSON'].join('/')