BZ-Client
view release on metacpan or search on metacpan
lib/BZ/Client/BugUserLastVisit.pm view on Meta::CPAN
#!/bin/false
# PODNAME: BZ::Client::BugUserLastVisit
# ABSTRACT: Find and Store the last time a user visited a Bugzilla Bug.
use strict;
use warnings 'all';
package BZ::Client::BugUserLastVisit;
$BZ::Client::BugUserLastVisit::VERSION = '4.4004';
use parent qw( BZ::Client::API );
# See https://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/BugUserLastVisit.html
## functions
sub update {
my($class, $client, $params) = @_;
my $result = $class->api_call($client, 'BugUserLastVisit.update', $params);
return wantarray ? @$result : $result
}
sub get {
my($class, $client, $params) = @_;
my $result = $class->api_call($client, 'BugUserLastVisit.get', $params);
return wantarray ? @$result : $result
}
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
BZ::Client::BugUserLastVisit - Find and Store the last time a user visited a Bugzilla Bug.
=head1 VERSION
version 4.4004
=head1 SYNOPSIS
Find and Store the last time a user visited a Bug. in Bugzilla.
my $client = BZ::Client->new( url => $url,
user => $user,
password => $password );
my @details = BZ::Client::BugUserLastVisit->update( $client, \%params );
my @details = BZ::Client::BugUserLastVisit->get( $client, \%params );
=head1 CLASS METHODS
This section lists the class methods, which are available in this module.
=head2 update
@details = BZ::Client::BugUserLastVisit->update( $client, \%params );
$details = BZ::Client::BugUserLastVisit->update( $client, \%params );
Update the last visit time for the specified bug and current user.
=head3 History
Marked as experimental in Bugzill 5.0.
=head3 Parameters
=over 4
=item ids
I<ids> (array) - One or more bug ids to add
( run in 1.176 second using v1.01-cache-2.11-cpan-39bf76dae61 )