Class: Minfraud::Model::GeoIP2Location
- Inherits:
-
MaxMind::GeoIP2::Record::Location
- Object
- MaxMind::GeoIP2::Record::Location
- Minfraud::Model::GeoIP2Location
- Defined in:
- lib/minfraud/model/geoip2_location.rb
Overview
Model of the GeoIP2 location information, including the local time.
Instance Attribute Summary collapse
-
#local_time ⇒ String
readonly
The date and time of the transaction in the time zone associated with the IP address.
Instance Attribute Details
#local_time ⇒ String (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.
15 16 17 |
# File 'lib/minfraud/model/geoip2_location.rb', line 15 def local_time @local_time end |