This file contains hidden or 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' | |
| # A useful helper for running Confluence XML-RPC from Ruby. Takes care of | |
| # adding the token to each method call (so you can call server.getSpaces() | |
| # instead of server.getSpaces(token)). Also takes care of re-logging in | |
| # if your login times out. | |
| # | |
| # Usage: | |
| # | |
| # server = Confluence::Server.new :server => 'http://confluence02.lightningsoure.com' |