Created
May 14, 2010 13:38
-
-
Save bastos/401152 to your computer and use it in GitHub Desktop.
Ruby XML RPC Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "xmlrpc/client" | |
require "pp" | |
server = XMLRPC::Client.new2("http://myfancyjira.com/rpc/xmlrpc") | |
auth = server.call("jira1.login",'trololologin', 'trolololopassword') | |
server.call("jira1.getIssuesFromFilter",auth, '<<filter id>>').each do |issue| | |
puts issue["summary"] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment