blib/lib/WebService/Toggl/API/WorkspaceUsers.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 8 | 75.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 4 | 50.0 |
pod | n/a | ||
total | 8 | 12 | 66.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package WebService::Toggl::API::WorkspaceUsers; | ||||||
2 | |||||||
3 | 1 | 1 | 1104 | use Moo; | |||
1 | 2 | ||||||
1 | 5 | ||||||
4 | with 'WebService::Toggl::Role::API', 'WebService::Toggl::Role::Set'; | ||||||
5 | 1 | 1 | 338 | use namespace::clean; | |||
1 | 1 | ||||||
1 | 5 | ||||||
6 | |||||||
7 | 0 | 0 | sub list_of { '::WorkspaceUser' } | ||||
8 | |||||||
9 | 0 | 0 | sub api_path { 'workspaces/' . shift->workspace_id . '/users' } | ||||
10 | |||||||
11 | |||||||
12 | 1; | ||||||
13 | __END__ |