Catmandu-CA
view release on metacpan or search on metacpan
},
"develop" : {
"requires" : {
"Dist::Milla" : "v1.0.17",
"Test::Pod" : "1.41"
}
},
"runtime" : {
"requires" : {
"Catmandu" : "1.0304",
"HTTP::Request::Common" : "0",
"JSON" : "0",
"LWP::UserAgent" : "0",
"Moo" : "0",
"perl" : "5.008005"
}
},
"test" : {
"requires" : {
"Test::More" : "0.96"
}
no_index:
directory:
- eg
- examples
- inc
- share
- t
- xt
requires:
Catmandu: '1.0304'
HTTP::Request::Common: '0'
JSON: '0'
LWP::UserAgent: '0'
Moo: '0'
perl: '5.008005'
resources:
bugtracker: https://github.com/thedatahub/Catmandu-CA/issues
homepage: https://github.com/thedatahub/Catmandu-CA
repository: https://github.com/thedatahub/Catmandu-CA.git
version: '0.06'
x_contributors:
# requires 'Some::Module', 'VERSION';
on test => sub {
requires 'Test::More', '0.96';
};
requires 'LWP::UserAgent';
requires 'Moo';
requires 'JSON';
requires 'HTTP::Request::Common';
requires 'Catmandu', '>=1.0304';
lib/Catmandu/CA/API/Login.pm view on Meta::CPAN
use strict;
use warnings;
use Moo;
use Catmandu::Sane;
use Data::Dumper qw(Dumper);
use LWP::UserAgent;
use HTTP::Request::Common;
use JSON;
has username => (is => 'ro', required => 1);
has password => (is => 'ro', required => 1);
has url => (is => 'ro', required => 1);
has port => (is => 'lazy');
has ua => (is => 'lazy');
sub _build_port {
( run in 1.007 second using v1.01-cache-2.11-cpan-de7293f3b23 )