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

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond 0.0% 0 / 18 MC/DCmcdc 0.0% 0 / 9 Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 54 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::RichMedium;
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->{uri} ||= "http://www.richmedium.com/wholesale-termination.csv";
12 $self->{prefix_position} ||= 0;
13 $self->{prefix_locale} ||= 'us';
14 $self->{label_position} ||= 4;
15 $self->{rate_position} ||= 1;
16 $self->{first_increment_position} ||= 2;
17 $self->{increment_position} ||= 3;
18 $self->{connection_fee} ||= 0;
19 $self->{currency} ||= 'USD';
20 return $self;
21 }
22  
23  
24 1;
25  
26  
27 __END__