e 'missing access_key' };
has base_url => 'https://api.cloudcheckr.com/api';
has format => 'json';
has _ua => sub { Mojo::UserAgent->new };
sub get {
my ($self, $cb) = (shift, ref $_[-
ojo::CloudCheckr->new(access_key => '...');
say $cc->get(account => 'get_accounts_v2')->result->json('/accounts_and_users/0/account_name');
=head1 DESCRIPTION
A simple interface to the CloudChec
;
$cc = $cc->format($format);
The response format from the CloudCheckr API, defaults to json.
# Set the format to XML
$cc->format('xml');
=head1 METHODS
L<Mojo::CloudCheckr> inherits