| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Net::Posterous::Tag; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 1 |  |  | 1 |  | 1281 | use base qw(Net::Posterous::Object); | 
|  | 1 |  |  |  |  | 3 |  | 
|  | 1 |  |  |  |  | 110 |  | 
| 4 | 1 |  |  | 1 |  | 8 | use Class::Accessor "antlers"; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 7 |  | 
| 5 |  |  |  |  |  |  |  | 
| 6 |  |  |  |  |  |  | =head1 NAME | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | Net::Posterous::Tag - represent a tag in Net::Posterous | 
| 9 |  |  |  |  |  |  |  | 
| 10 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 11 |  |  |  |  |  |  |  | 
| 12 |  |  |  |  |  |  | This is one of those weird bits of Posterous where they represent the same thing in different ways. | 
| 13 |  |  |  |  |  |  |  | 
| 14 |  |  |  |  |  |  | In this case there are 3 different ways of representing tags. The other two forms are abstracted away | 
| 15 |  |  |  |  |  |  | and this form only gets used when getting global tabs with C. | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | =head1 METHODS | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | =cut | 
| 20 |  |  |  |  |  |  |  | 
| 21 |  |  |  |  |  |  | =head2 id | 
| 22 |  |  |  |  |  |  |  | 
| 23 |  |  |  |  |  |  | Get or set the id of this tag. | 
| 24 |  |  |  |  |  |  |  | 
| 25 |  |  |  |  |  |  | =cut | 
| 26 |  |  |  |  |  |  |  | 
| 27 |  |  |  |  |  |  | has id => ( is => "rw", isa => "Int" ); | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  | =head2 tag_string | 
| 30 |  |  |  |  |  |  |  | 
| 31 |  |  |  |  |  |  | Get or set the value of this tag. | 
| 32 |  |  |  |  |  |  |  | 
| 33 |  |  |  |  |  |  | =cut | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  | has tag_string => ( is => "rw", isa => "Str" ); | 
| 36 |  |  |  |  |  |  |  | 
| 37 |  |  |  |  |  |  | =head2 count | 
| 38 |  |  |  |  |  |  |  | 
| 39 |  |  |  |  |  |  | Get or set the number of posts that have this tag. | 
| 40 |  |  |  |  |  |  |  | 
| 41 |  |  |  |  |  |  | =cut | 
| 42 |  |  |  |  |  |  |  | 
| 43 |  |  |  |  |  |  | has count => ( is => "rw", isa => "Int" ); | 
| 44 |  |  |  |  |  |  | 1; | 
| 45 |  |  |  |  |  |  |  | 
| 46 |  |  |  |  |  |  |  |