Class: IpFilter::Result::Geoip

Inherits:
Base
  • Object
show all
Defined in:
lib/ip_filter/results/geoip.rb

Instance Attribute Summary

Attributes inherited from Base

#data

Class Method Summary collapse

Methods inherited from Base

#[], #continent_code, #country_code, #country_code2, #country_code3, #country_name, #initialize, #to_hash

Constructor Details

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

Class Method Details

.response_attributesObject



6
7
8
9
10
# File 'lib/ip_filter/results/geoip.rb', line 6

def self.response_attributes
  %w(
    ip country_code country_code2 country_code3 country_name continent_code
  )
end