NAME

WebService::PivotalTracker::ProjectMembership - A single project membership

VERSION

version 0.12

SYNOPSIS

DESCRIPTION

This class represents a single project membership.

my $memberships = $pt->project_memberships(...)->[0];
say $_->person->name for $memberships->@*;

ATTRIBUTES

This class provides the following attribute accessor methods. Each one corresponds to a property defined by the PT REST API V5 project membership resource docs.

kind

project_id

id

last_viewed_at

created_at

updated_at

role

project_color

favorite

wants_comment_notification_emails

will_receive_mention_notifications_or_emails

raw_content

The raw JSON used to create this object.

METHODS

This class provides the following methods:

$membership->person

This method returns the WebService::PivotalTracker::Person object contained in the project membership.

SUPPORT

Bugs may be submitted through https://github.com/maxmind/WebService-PivotalTracker/issues.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 - 2020 by MaxMind, Inc.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)