Intent/Tweet.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::Tweet;
2  
3 use v5.10.0;
4  
5 use Moose;
6 use Method::Signatures;
7 use Exobrain::Types::Twitter qw( TweetStr );
8  
9 # ABSTRACT: Intent message for twitter
10 our $VERSION = '1.04'; # VERSION
11  
12 method summary() { return $self->tweet; }
13  
14 BEGIN { with 'Exobrain::Intent'; }
15  
16 payload tweet => ( isa => TweetStr );
17  
18 # Actually this is an Int, but they get pretty large. Transmitting
19 # them as strings means we don't have to care about 32/64-bit issues.
20 payload in_response_to => ( isa => 'Str', required => 0 );
21  
22 1;
23  
24 __END__