Skip to content

Instantly share code, notes, and snippets.

@lukevers
Created May 26, 2016 17:44
Show Gist options
  • Save lukevers/49727cb45b095cf6720ad9a9a361a322 to your computer and use it in GitHub Desktop.
Save lukevers/49727cb45b095cf6720ad9a9a361a322 to your computer and use it in GitHub Desktop.
Get raw XML from xmlrpc
# https://www.ruby-forum.com/topic/111899
class XMLRPC::Client
def mycall(method, *args)
request = create().methodCall(method, *args)
data = do_rpc(request, false)
end
end
# .call
# - normal (hash/array output)
#
# .mycall
# - xml output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment