| 1 | package WebService::TeamCity::Entity::HasDescription; | ||
| 2 | |||
| 3 | 4 | ▶ | use v5.10; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 4 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 4 | our $VERSION = '0.04'; | |
| 9 | |||
| 10 | 4 | ▶ | use Types::Standard qw( Str ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 4 | ▶ | use Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 4 | has description => ( | |
| 15 | is => 'ro', | ||
| 16 | isa => Str, | ||
| 17 | ); | ||
| 18 | |||
| 19 | 4 | 1; | |
| 20 | |||
| 21 | # ABSTRACT: Role for any REST API object with a description | ||
| 22 | |||
| 23 | __END__ | ||