API/Endpoint/Misc.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
credits
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Imgur::API::Endpoint::Misc;
2  
3 use strict;
4 use Mouse;
5 extends 'Imgur::API::Endpoint';
6  
7 sub credits {
8 my ($this,%p) = @_;
9  
10 my $ret = $this->dispatcher->request(
11 $this->path("3/credits",[],[],\%p),
12 'get',
13 \%p
14 );
15 $this->dispatcher->stats->update($ret);
16 return $ret;
17 }
18  
19 1;
20 __PACKAGE__->meta->make_immutable;
21