|
NAMEBZ::Client - A client for the Bugzilla web services API. SYNOPSISmy $client = BZ::Client->new("url" => $url, "user" => $user, "password" => $password); $client->login(); CLASS METHODSThis section lists the class methods of BZ::Client.newmy $client = BZ::Client->new("url" => $url, "user" => $user, "password" => $password); The new method constructs a new instance of BZ::Client. Whenever you want to connect to the Bugzilla server, you must first create a Bugzilla client. The methods input is a hash of parameters.
INSTANCE METHODSThis section lists the methods, which an instance of BZ::Client can perform.urlmy $url = $client->url(); $client->url($url); Returns or sets the Bugzilla servers URL. usermy $user = $client->user(); $client->user($user); Returns or sets the user name to use when logging in to the Bugzilla server. Typically, this will be your email address. passwordmy $password = $client->password(); $client->password($password); Returns or sets the password to use when logging in to the Bugzilla server. loginUsed to login to the Bugzilla server. There is no need to call this method explicitly: It is done automatically, whenever required.api_callmy $response = $client->api_call($methodName, $params); Used by subclasses of BZ::Client::API to invoke methods of the Bugzilla API. Takes a method name and a hash ref of parameters as input. Returns a hash ref of named result objects. SEE ALSOL<BZ::Client::Exception>
Visit the GSP FreeBSD Man Page Interface. |