class QyWechat::LocationMessage
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[fromUser]]></FromUserName> <CreateTime>1351776360</CreateTime> <MsgType><![CDATA[location]]></MsgType> <Location_X>23.134521</Location_X> <Location_Y>113.358803</Location_Y> <Scale>20</Scale> <Label><![CDATA[位置信息]]></Label> <MsgId>1234567890123456</MsgId>
</xml>
Public Instance Methods
Location_X()
click to toggle source
# File lib/qy_wechat/message/message.rb, line 112 def Location_X @source.Location_X.to_f end
Location_Y()
click to toggle source
# File lib/qy_wechat/message/message.rb, line 116 def Location_Y @source.Location_Y.to_f end
Scale()
click to toggle source
# File lib/qy_wechat/message/message.rb, line 120 def Scale @source.Scale.to_i end