class Pinnacle::InboundLocationMessageCoordinates
def self.from_json(json_object:)
-
(Pinnacle::InboundLocationMessageCoordinates)
-
Parameters:
-
json_object
(String
) --
def self.from_json(json_object:) struct = JSON.parse(json_object, object_class: OpenStruct) parsed_json = JSON.parse(json_object) lat = parsed_json["lat"] lng = parsed_json["lng"] new( lat: lat, lng: lng, additional_properties: struct ) end