summaryrefslogtreecommitdiffstats
path: root/lib/Linkulator/Twitter/Link.pm
blob: eb68c85f63b7691becb5d5194c317a099a6678c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package Linkulator::Twitter::Link;
use Moose;
use namespace::autoclean;

has id => (
    is       => 'ro',
    isa      => 'Int',
    required => 1,
);

has uri => (
    is       => 'ro',
    isa      => 'Str',
    required => 1,
);

has desc => (
    is       => 'ro',
    isa      => 'Str',
    required => 1,
);

__PACKAGE__->meta->make_immutable;

1;