POE/Component/Server/Twirc/State.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package POE::Component::Server::Twirc::State;
2 use Moose;
3 use MooseX::Storage;
4  
5 with Storage(format => 'JSON', io => 'File');
6  
7 has access_token => isa => 'Str', is => 'rw';
8 has access_token_secret => isa => 'Str', is => 'rw';
9 has twitter_users => isa => 'HashRef', is => 'ro', default => sub { {} },
10 traits => [qw/Hash/],
11 handles => {
12 set_user_by_id => 'set',
13 get_user_by_id => 'get',
14 delete_user_by_id => 'delete',
15 get_users => 'values',
16 };
17 has followers => isa => 'HashRef', is => 'rw', default => sub { {} };
18 has followers_updated_at => is => 'rw', isa => 'Int', default => 0;
19  
20 no Moose;
21  
22 __PACKAGE__->meta->make_immutable;
23  
24 1;