my $driver = exists $params->{'driver'} ? $params->{'driver'} : $self->driver();
return unless $driver;
my ($sent, $sender);
my $subpath = $driver;
$subpath =~ s|::|/|;
my $conf_file =
my $sms_send_config = C4::Context->config('sms_send_config');
File::Spec->catfile( C4::Context->config('sms_send_config'), $subpath )
my $conf_file = ! defined $sms_send_config ?
. q{.yaml};
$subpath :
File::Spec->catfile( $sms_send_config, $subpath );
$conf_file .= q{.yaml};
my %args;
if ( -f $conf_file ) {
require YAML;
-