Method: Wework::Api::Suite#generate_xml
- Defined in:
- lib/wework/api/suite.rb
#generate_xml(msg, timestamp, nonce) ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'lib/wework/api/suite.rb', line 34 def generate_xml(msg, , nonce) encrypt = msg_encrypt(msg) { Encrypt: encrypt, MsgSignature: signature(, nonce, encrypt), TimeStamp: , Nonce: nonce }.to_xml(root: 'xml', children: 'item', skip_instruct: true, skip_types: true) end |