| 1 | ### AUTO-GENERATED FILE ### | ||||||||||
| 2 | ### DO NOT EDIT. YOUR CHANGES WILL BE LOST. ### | ||||||||||
| 3 | package WebService::Bonusly::Leaderboards; | ||||||||||
| 4 | 1 | $WebService::Bonusly::Leaderboards::VERSION = '1.001'; | |||||||||
| 5 | 1 | ▶ | use v5.14; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 1 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 1 | extends 'WebService::Bonusly::Service'; | |||||||||
| 10 | |||||||||||
| 11 | # ABSTRACT: Implements the bonus.ly leaderboards service | ||||||||||
| 12 | |||||||||||
| 13 | |||||||||||
| 14 | |||||||||||
| 15 | 8 | ▶ | sub standouts { | ||||||||
|
Subroutine
standouts: called CC=7 SCAR=19.5
Pod
undocumented
| |||||||||||
| 16 | 8 | my ($self, %params) = @_; | |||||||||
| 17 | |||||||||||
| 18 | 8 | my %clean; | |||||||||
| 19 | |||||||||||
| 20 | $clean{role} = delete $params{role} | ||||||||||
| 21 | 8 | ▶ | if defined $params{role}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 22 | |||||||||||
| 23 | $clean{value} = delete $params{value} | ||||||||||
| 24 | 8 | ▶ | if defined $params{value}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 25 | |||||||||||
| 26 | $clean{limit} = delete $params{limit} | ||||||||||
| 27 | 8 | ▶ | if defined $params{limit}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 28 | |||||||||||
| 29 | $clean{period} = delete $params{period} | ||||||||||
| 30 | 8 | ▶ | if defined $params{period}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 31 | |||||||||||
| 32 | $clean{custom_property_name} = delete $params{custom_property_name} | ||||||||||
| 33 | 8 | ▶ | if defined $params{custom_property_name}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 34 | |||||||||||
| 35 | $clean{custom_property_value} = delete $params{custom_property_value} | ||||||||||
| 36 | 8 | ▶ | if defined $params{custom_property_value}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 37 | |||||||||||
| 38 | |||||||||||
| 39 | 8 | return $self->_perform_action( | |||||||||
| 40 | 'GET', | ||||||||||
| 41 | 'analytics/standouts', | ||||||||||
| 42 | \%clean, | ||||||||||
| 43 | |||||||||||
| 44 | ); | ||||||||||
| 45 | } | ||||||||||
| 46 | |||||||||||
| 47 | |||||||||||
| 48 | 1 | __PACKAGE__->meta->make_immutable; | |||||||||
| 49 | |||||||||||
| 50 | __END__ | ||||||||||