module Geoip2::Api::Country

Public Instance Methods

country(ip, faraday_options = {}) click to toggle source
# File lib/geoip2/api/country.rb, line 4
def country(ip, faraday_options = {})
  get("/country/#{ip}", {}, faraday_options)
end