blib/lib/Asterisk/LCR/Importer/PlainVoip.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 28 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Asterisk::LCR::Importer::PlainVoip;
2 use base qw /Asterisk::LCR::Importer/;
3 use warnings;
4 use strict;
5  
6  
7 sub new
8 {
9 my $class = shift;
10 my $self = $class->SUPER::new (@_);
11 $self->{prefix_locale} = 'us';
12 $self->{prefix_position} = '0';
13 $self->{label_position} = '1';
14 $self->{rate_position} = '4';
15 $self->{first_increment_position} = '2';
16 $self->{increment_position} = '3';
17 $self->{connection_fee} = '0';
18 $self->{currency} = 'USD';
19 $self->{uri} = 'http://www.plainvoip.com/ratedump.php';
20 $self->{separator} = '(?:,|(?<=\d)\/(?=\d))';
21 return $self;
22 }
23  
24  
25 1;
26  
27  
28 __END__