blib/lib/Net/ZooTool/Auth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 1 | 3 | 33.3 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 2 | 4 | 50.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Net::ZooTool::Auth; | ||||||
2 | |||||||
3 | 1 | 1 | 1773 | use Moose; | |||
0 | |||||||
0 | |||||||
4 | use namespace::autoclean; | ||||||
5 | |||||||
6 | our $VERSION = '0.003'; | ||||||
7 | |||||||
8 | has apikey => ( isa => 'Str', is => 'ro', required => 1, ); | ||||||
9 | has apisecret => ( isa => 'Str', is => 'ro', ); | ||||||
10 | has user => ( is => 'ro', required => 0, ); | ||||||
11 | has password => ( is => 'ro', required => 0, ); | ||||||
12 | |||||||
13 | sub BUILD { | ||||||
14 | my $self = shift; | ||||||
15 | } | ||||||
16 | |||||||
17 | |||||||
18 | no Moose; | ||||||
19 | __PACKAGE__->meta->make_immutable; | ||||||
20 | |||||||
21 | 1; |