SDK/Resource/Encryption.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 50.0% 1 / 2 totaltotal 76.4% 13 / 17 CC 1 SCAR 2.2
CC
1
Cov
82%
get_server_key
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« SDK/Error/RateLimit.pm ↑ Summary SDK/Resource/Stats.pm »
1 package Apertur::SDK::Resource::Encryption;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
7 3 my ($class, %args) = @_;
8 3 return bless { http => $args{http} }, $class;
9 }
10  
11 0 ▶sub get_server_key {
Subroutine get_server_key: not called CC=1 SCAR=6.9
Pod documented
12 0 my ($self) = @_;
13 0 return $self->{http}->request('GET', '/api/v1/encryption/server-key');
14 }
15  
16 1 1;
17  
18 __END__
« SDK/Error/RateLimit.pm ↑ Summary SDK/Resource/Stats.pm »