App-BitBucketCli

 view release on metacpan or  search on metacpan

lib/App/BitBucketCli/PullRequest.pm  view on Meta::CPAN

    my ($self) = @_;

    return {
        branch      => $self->to_branch,
        project     => $self->to_project,
        project_key => $self->toRef->{repository}{project}{key},
        repository  => $self->to_repository,
        release_age => undef,
    };
}

1;

__END__

=head1 NAME

App::BitBucketCli::PullRequest - Stores details about a pull request

=head1 VERSION

This documentation refers to App::BitBucketCli::PullRequest version 0.009

=head1 SYNOPSIS

   use App::BitBucketCli::PullRequest;

   # Brief but working code example(s) here showing the most common usage(s)
   # This section will be as far as many users bother reading, so make it as
   # educational and exemplary as possible.


=head1 DESCRIPTION

=head1 SUBROUTINES/METHODS

=head2 C<emails ()>

=head2 C<from_branch ()>

=head2 C<from_data ()>

=head2 C<from_name ()>

=head2 C<from_project ()>

=head2 C<from_repository ()>

=head2 C<to_branch ()>

=head2 C<to_data ()>

=head2 C<to_name ()>

=head2 C<to_project ()>

=head2 C<to_repository ()>

=head2 C<TO_JSON ()>

Used by L<JSON::XS> for dumping the object

=head1 ATTRIBUTES

=head2 state

=head2 id

=head2 toRef

=head2 closed

=head2 version

=head2 attributes

=head2 open

=head2 fromRef

=head2 updatedDate

=head2 createdDate

=head2 title

=head2 links

=head2 reviewers

=head2 participants

=head2 link

=head2 author

=head1 DIAGNOSTICS

=head1 CONFIGURATION AND ENVIRONMENT

=head1 DEPENDENCIES

=head1 INCOMPATIBILITIES

=head1 BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

=head1 AUTHOR

Ivan Wills - (ivan.wills@gmail.com)

=head1 LICENSE AND COPYRIGHT

Copyright (c) 2015 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077).
All rights reserved.



( run in 3.299 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )