class Minfraud::Model::GeoIP2Location
Model
of the GeoIP2 location information, including the local time.
Attributes
local_time[R]
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.
@return [String]
Public Class Methods
new(record)
click to toggle source
@!visibility private
Calls superclass method
MaxMind::GeoIP2::Record::Abstract::new
# File lib/minfraud/model/geoip2_location.rb, line 18 def initialize(record) super(record) @local_time = get('local_time') end