Exobrain/Intent/SMS.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Exobrain::Intent::SMS;
2  
3 use 5.010;
4 use Moose;
5 use Method::Signatures;
6 use Exobrain::Types qw(SmsStr PhoneNum);
7  
8 # ABSTRACT: Send an SMS intent via Exobrain
9 our $VERSION = '1.08'; # VERSION
10  
11  
12 method summary() { return 'SMS to ' . join(" : ", $self->to, $self->text); }
13  
14 BEGIN { with 'Exobrain::Intent'; }
15  
16 payload text => ( isa => SmsStr );
17 payload to => ( isa => PhoneNum );
18  
19 1;
20  
21 __END__