Method: WeChat::Bot::HTTP::MimeType::XML#decode
- Defined in:
- lib/wechat/bot/http/adapter/xml.rb
#decode(str) ⇒ Hash
转换 XML 代码为 Hash
20 21 22 |
# File 'lib/wechat/bot/http/adapter/xml.rb', line 20 def decode(str) MultiXml.parse(str) end |