Module: Geoip2::Api::Insights

Included in:
Client
Defined in:
lib/geoip2/api/insights.rb

Instance Method Summary collapse

Instance Method Details

#insights(ip, faraday_options = {}) ⇒ Object



4
5
6
# File 'lib/geoip2/api/insights.rb', line 4

def insights(ip, faraday_options = {})
  get("/insights/#{ip}", {}, faraday_options)
end