Method: MaxMind::GeoIP2::Record::Traits#organization

Defined in:
lib/maxmind/geoip2/record/traits.rb

#organizationString?

The name of the organization associated with the IP address. This attribute is only available from the City Plus and Insights web services and the Enterprise database.

Returns:

  • (String, nil)


194
195
196
# File 'lib/maxmind/geoip2/record/traits.rb', line 194

def organization
  get('organization')
end