Sha256: d94b8a5569955fd6d1ea7c5a11842f096c85538cc5f0dfbec04bf05c0149951a
Contents?: true
Size: 722 Bytes
Versions: 3
Compression:
Stored size: 722 Bytes
Contents
require 'open-uri' require 'json' require 'csv' require 'active_support/all' require 'zipruby' require "geonames_api/version" require "geonames_api/hash" require "geonames_api/error" require "geonames_api/object" require "geonames_api/country" require "geonames_api/weather" require "geonames_api/time_zone" require "geonames_api/wikipedia" module GeoNamesAPI mattr_accessor :url @@url = "http://api.geonames.org/" mattr_accessor :formatted @@formatted = true mattr_accessor :lang @@lang = :en mattr_accessor :username @@username = "demo" mattr_accessor :style @@style = :full def self.params { formatted: formatted, lang: lang, username: username, style: style } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
geonames_api-0.0.6 | lib/geonames_api.rb |
geonames_api-0.0.5 | lib/geonames_api.rb |
geonames_api-0.0.4 | lib/geonames_api.rb |