File Coverage

blib/lib/SignalWire/Agents/REST/Namespaces/PubSub.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 4 75.0
pod 0 1 0.0
total 12 16 75.0


line stmt bran cond sub pod time code
1             package SignalWire::Agents::REST::Namespaces::PubSub;
2 4     4   27 use strict;
  4         9  
  4         190  
3 4     4   26 use warnings;
  4         8  
  4         237  
4 4     4   54 use Moo;
  4         10  
  4         25  
5             extends 'SignalWire::Agents::REST::Namespaces::Base';
6              
7             sub create_token {
8 0     0 0   my ($self, %kwargs) = @_;
9 0           return $self->_http->post($self->_base_path, body => \%kwargs);
10             }
11              
12             1;