lib/lifen/communication/channel.rb in lifen-1.6.3 vs lib/lifen/communication/channel.rb in lifen-1.6.4
- old
+ new
@@ -17,10 +17,10 @@
]
}
end
def self.from_json(json, type = nil)
- new(uuid: json["id"], type: type, value: json["value"] || json["line"][0])
+ new(uuid: json["id"], type: type, value: json["value"] || "#{json["line"][0]}, #{json["postalCode"]} #{json["city"]}")
end
end
end
end
\ No newline at end of file