GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BZ::CLIENT (3)

.ds Aq ’

NAME



  BZ::Client - A client for the Bugzilla web services API.



CONTENTS

SYNOPSIS



  my $client = BZ::Client->new("url" => $url,
                               "user" => $user,
                               "password" => $password);
  $client->login();



CLASS METHODS

This section lists the class methods of BZ::Client.

new



  my $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.
url The Bugzilla servers URL, for example https://bugzilla.mozilla.org/.
user The user name to use when logging in to the Bugzilla server. Typically, this will be your email address.
password The password to use when logging in to the Bugzilla server.

INSTANCE METHODS

This section lists the methods, which an instance of BZ::Client can perform.

    url



  my $url = $client->url();
  $client->url($url);



Returns or sets the Bugzilla servers URL.

    user



  my $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.

    password



  my $password = $client->password();
  $client->password($password);



Returns or sets the password to use when logging in to the Bugzilla server.

    login

Used to login to the Bugzilla server. There is no need to call this method explicitly: It is done automatically, whenever required.

    api_call



  my $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 ALSO



  L<BZ::Client::Exception>



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 BZ::CLIENT (3) 2011-08-22

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.