In Files

Parent

Files

Class/Module Index [+]

Quicksearch

Trac::Base

Attributes

pass[R]
tickets[R]
user[R]
wiki[R]

Public Class Methods

new(url,user,pass) click to toggle source
# File lib/trac4r.rb, line 64
def initialize url,user,pass
  @user = user
  @pass = pass
  @url = url
  @url.gsub!(/\/$/,'')
  if @url.split('/').last != 'xmlrpc'
    @url = url+'/xmlrpc'
  end
  @connection = Query.new(@url,@user,@pass)
  @wiki = Wiki.new(@connection)
  @tickets = Tickets.new(@connection)
end

Public Instance Methods

api_version() click to toggle source
# File lib/trac4r.rb, line 81
def api_version
  @connection.query("system.getAPIVersion")
end
query(command,*args) click to toggle source
# File lib/trac4r.rb, line 77
def query(command,*args)
  @connection.query(command,*args)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.