blib/lib/SMS/Send/Twilio.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 12 | 25.0 |
line | true | false | branch |
---|---|---|---|
82 | 1 | 3 | unless exists $params{$param} |
93 | 0 | 1 | unless $self->{'twilio'} = 'WWW::Twilio::API'->new('AccountSid', $self->{'_accountsid'}, 'AuthToken', $self->{'_authtoken'}) |
113 | 0 | 0 | if ($response->{'code'} == '201') { } |
0 | 0 | elsif ($response->{'code'} == '400') { } | |
115 | 0 | 0 | if ($result->{'sid'}) |
121 | 0 | 0 | if ($result->{'message'}) |