| 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 |