lib/movlog/geonames_api.rb in movlog-0.3.0 vs lib/movlog/geonames_api.rb in movlog-0.3.1

- old
+ new

@@ -2,10 +2,10 @@ require 'http' module Geonames # Service for transformation of location and find near airport class GeonamesApi - GEONAMES_URL = 'http://api.geonames.org/' + GEONAMES_URL = 'http://api.geonames.org' SEARCH_URL = [GEONAMES_URL, 'searchJSON'].join('/') FIND_NEARBY_URL = [GEONAMES_URL, 'findNearbyJSON'].join('/') def self.config=(credentials) @config = {} unless @config