| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package App::BitBucketCli::Project; | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | # Created on: 2015-09-16 16:41:19 | 
| 4 |  |  |  |  |  |  | # Create by:  Ivan Wills | 
| 5 |  |  |  |  |  |  | # $Id$ | 
| 6 |  |  |  |  |  |  | # $Revision$, $HeadURL$, $Date$ | 
| 7 |  |  |  |  |  |  | # $Revision$, $Source$, $Date$ | 
| 8 |  |  |  |  |  |  |  | 
| 9 | 1 |  |  | 1 |  | 5 | use Moo; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 4 |  | 
| 10 | 1 |  |  | 1 |  | 224 | use warnings; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 19 |  | 
| 11 | 1 |  |  | 1 |  | 4 | use Carp; | 
|  | 1 |  |  |  |  | 1 |  | 
|  | 1 |  |  |  |  | 61 |  | 
| 12 | 1 |  |  | 1 |  | 5 | use Data::Dumper qw/Dumper/; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 38 |  | 
| 13 | 1 |  |  | 1 |  | 5 | use English qw/ -no_match_vars /; | 
|  | 1 |  |  |  |  | 1 |  | 
|  | 1 |  |  |  |  | 5 |  | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | our $VERSION = 0.008; | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | extends qw/App::BitBucketCli::Base/; | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | has [qw/ | 
| 20 |  |  |  |  |  |  | description | 
| 21 |  |  |  |  |  |  | key | 
| 22 |  |  |  |  |  |  | name | 
| 23 |  |  |  |  |  |  | public | 
| 24 |  |  |  |  |  |  | type | 
| 25 |  |  |  |  |  |  | /] => ( | 
| 26 |  |  |  |  |  |  | is  => 'rw', | 
| 27 |  |  |  |  |  |  | ); | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  | around BUILDARGS => sub { | 
| 30 |  |  |  |  |  |  | my ( $orig, $class, @args ) = @_; | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | my $args | 
| 33 |  |  |  |  |  |  | = !@args     ? {} | 
| 34 |  |  |  |  |  |  | : @args == 1 ? $args[0] | 
| 35 |  |  |  |  |  |  | :              {@args}; | 
| 36 |  |  |  |  |  |  |  | 
| 37 |  |  |  |  |  |  | if ( $args->{links} ) { | 
| 38 |  |  |  |  |  |  | $args->{links} = App::BitBucketCli::Links->new($args->{links}); | 
| 39 |  |  |  |  |  |  | } | 
| 40 |  |  |  |  |  |  |  | 
| 41 |  |  |  |  |  |  | if ( $args->{link} ) { | 
| 42 |  |  |  |  |  |  | $args->{link} = App::BitBucketCli::Link->new($args->{link}); | 
| 43 |  |  |  |  |  |  | } | 
| 44 |  |  |  |  |  |  |  | 
| 45 |  |  |  |  |  |  | return $class->$orig($args); | 
| 46 |  |  |  |  |  |  | }; | 
| 47 |  |  |  |  |  |  |  | 
| 48 |  |  |  |  |  |  | 1; | 
| 49 |  |  |  |  |  |  |  | 
| 50 |  |  |  |  |  |  | __END__ | 
| 51 |  |  |  |  |  |  |  | 
| 52 |  |  |  |  |  |  | =head1 NAME | 
| 53 |  |  |  |  |  |  |  | 
| 54 |  |  |  |  |  |  | App::BitBucketCli::Project - Stores a projects details | 
| 55 |  |  |  |  |  |  |  | 
| 56 |  |  |  |  |  |  | =head1 VERSION | 
| 57 |  |  |  |  |  |  |  | 
| 58 |  |  |  |  |  |  | This documentation refers to App::BitBucketCli::Project version 0.008 | 
| 59 |  |  |  |  |  |  |  | 
| 60 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 61 |  |  |  |  |  |  |  | 
| 62 |  |  |  |  |  |  | use App::BitBucketCli::Project; | 
| 63 |  |  |  |  |  |  |  | 
| 64 |  |  |  |  |  |  | # Brief but working code example(s) here showing the most common usage(s) | 
| 65 |  |  |  |  |  |  | # This section will be as far as many users bother reading, so make it as | 
| 66 |  |  |  |  |  |  | # educational and exemplary as possible. | 
| 67 |  |  |  |  |  |  |  | 
| 68 |  |  |  |  |  |  |  | 
| 69 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 70 |  |  |  |  |  |  |  | 
| 71 |  |  |  |  |  |  | =head1 SUBROUTINES/METHODS | 
| 72 |  |  |  |  |  |  |  | 
| 73 |  |  |  |  |  |  | =head2 C<BUILDARGS ()> | 
| 74 |  |  |  |  |  |  |  | 
| 75 |  |  |  |  |  |  | =head2 C<TO_JSON ()> | 
| 76 |  |  |  |  |  |  |  | 
| 77 |  |  |  |  |  |  | Used by L<JSON::XS> for dumping the object | 
| 78 |  |  |  |  |  |  |  | 
| 79 |  |  |  |  |  |  | =head1 ATTRIBUTES | 
| 80 |  |  |  |  |  |  |  | 
| 81 |  |  |  |  |  |  | =head2 description | 
| 82 |  |  |  |  |  |  |  | 
| 83 |  |  |  |  |  |  | =head2 id | 
| 84 |  |  |  |  |  |  |  | 
| 85 |  |  |  |  |  |  | =head2 key | 
| 86 |  |  |  |  |  |  |  | 
| 87 |  |  |  |  |  |  | =head2 link | 
| 88 |  |  |  |  |  |  |  | 
| 89 |  |  |  |  |  |  | =head2 links | 
| 90 |  |  |  |  |  |  |  | 
| 91 |  |  |  |  |  |  | =head2 name | 
| 92 |  |  |  |  |  |  |  | 
| 93 |  |  |  |  |  |  | =head2 public | 
| 94 |  |  |  |  |  |  |  | 
| 95 |  |  |  |  |  |  | =head2 type | 
| 96 |  |  |  |  |  |  |  | 
| 97 |  |  |  |  |  |  | =head1 DIAGNOSTICS | 
| 98 |  |  |  |  |  |  |  | 
| 99 |  |  |  |  |  |  | =head1 CONFIGURATION AND ENVIRONMENT | 
| 100 |  |  |  |  |  |  |  | 
| 101 |  |  |  |  |  |  | =head1 DEPENDENCIES | 
| 102 |  |  |  |  |  |  |  | 
| 103 |  |  |  |  |  |  | =head1 INCOMPATIBILITIES | 
| 104 |  |  |  |  |  |  |  | 
| 105 |  |  |  |  |  |  | =head1 BUGS AND LIMITATIONS | 
| 106 |  |  |  |  |  |  |  | 
| 107 |  |  |  |  |  |  | There are no known bugs in this module. | 
| 108 |  |  |  |  |  |  |  | 
| 109 |  |  |  |  |  |  | Please report problems to Ivan Wills (ivan.wills@gmail.com). | 
| 110 |  |  |  |  |  |  |  | 
| 111 |  |  |  |  |  |  | Patches are welcome. | 
| 112 |  |  |  |  |  |  |  | 
| 113 |  |  |  |  |  |  | =head1 AUTHOR | 
| 114 |  |  |  |  |  |  |  | 
| 115 |  |  |  |  |  |  | Ivan Wills - (ivan.wills@gmail.com) | 
| 116 |  |  |  |  |  |  |  | 
| 117 |  |  |  |  |  |  | =head1 LICENSE AND COPYRIGHT | 
| 118 |  |  |  |  |  |  |  | 
| 119 |  |  |  |  |  |  | Copyright (c) 2015 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). | 
| 120 |  |  |  |  |  |  | All rights reserved. | 
| 121 |  |  |  |  |  |  |  | 
| 122 |  |  |  |  |  |  | This module is free software; you can redistribute it and/or modify it under | 
| 123 |  |  |  |  |  |  | the same terms as Perl itself. See L<perlartistic>.  This program is | 
| 124 |  |  |  |  |  |  | distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; | 
| 125 |  |  |  |  |  |  | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | 
| 126 |  |  |  |  |  |  | PARTICULAR PURPOSE. | 
| 127 |  |  |  |  |  |  |  | 
| 128 |  |  |  |  |  |  | =cut |