| 1 | package Net::ZooTool::Auth; | ||
| 2 | |||
| 3 | 6 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 0 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 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; | ||