Class: Minfraud::Model::GeoIP2Location

Inherits:
MaxMind::GeoIP2::Record::Location
  • Object
show all
Defined in:
lib/minfraud/model/geoip2_location.rb

Overview

Model of the GeoIP2 location information, including the local time.

Instance Attribute Summary collapse

Instance Attribute Details

#local_timeString (readonly)

The date and time of the transaction in the time zone associated with the IP address. The value is formatted according to RFC 3339. For instance, the local time in Boston might be returned as 2015-04-27T19:17:24-04:00.

Returns:

  • (String)


15
16
17
# File 'lib/minfraud/model/geoip2_location.rb', line 15

def local_time
  @local_time
end