class TimezoneGeo
Attributes
city[R]
countryCode2[R]
countryCode3[R]
countryName[R]
district[R]
latitude[R]
longitude[R]
stateProvince[R]
zipCode[R]
Public Class Methods
new(json)
click to toggle source
# File lib/ipgeolocation_io/TimezoneGeo.rb, line 12 def initialize(json) @countryCode2 = json["country_code2"]; @countryCode3 = json["country_code3"]; @countryName = json["country_name"]; @stateProvince = json["state_prov"]; @district = json["district"]; @city = json["city"]; @zipCode = json["zipcode"]; @latitude = json["latitude"]; @longitude = json["longitude"]; end