Class: Geocoder::Result::IpinfoIoLite

Inherits:
Base
  • Object
show all
Defined in:
lib/geocoder/results/ipinfo_io_lite.rb

Instance Attribute Summary

Attributes inherited from Base

#cache_hit, #data

Class Method Summary collapse

Methods inherited from Base

#address, #coordinates, #country, #country_code, #initialize, #latitude, #longitude, #province, #province_code, #state, #state_code

Constructor Details

This class inherits a constructor from Geocoder::Result::Base

Class Method Details

.response_attributesObject



6
7
8
# File 'lib/geocoder/results/ipinfo_io_lite.rb', line 6

def self.response_attributes
  %w(ip asn as_name as_domain country country_code continent continent_code)
end