Business::BancaSella::Ric::FileFast - Extract One-Time-Password from an


Business-BancaSella documentation  | view source Contained in the Business-BancaSella distribution.

Index


NAME

Top

Business::BancaSella::Ric::FileFast - Extract One-Time-Password from an improved ASCII file

SYNOPSIS

Top

  use Business::BancaSella::Ric;

  my $ric = new Business::BancaSella::Ric::FileFast(file => 'filePath/filename.ric');
  my $otp = $ric->extract;

DESCRIPTION

Top

This module extract an One-Time-Password from an ASCII file. The file isn't in the standard Banca Sella ASCII file but in an improved version that you can create using prepare(source_file) method where source_file is the original standard Banca Sella ASCII file. This object is more faster in search and extract than Business::BancaSella::Ric::File.

METHODS

Top

file()

Set or get the file path where are stored One-Time passwords.

extract()

Return and delete the first OTP from the file.

prepare(source_file)

Format and correctly append passwords from a standard Banca Sella Ric file into output file.

AUTHOR

Top

Marco Gazerro <gazerro@open2b.com>

SEE ALSO

Top

Business::BancaSella::Ric::File Business::BancaSella::Ric::Mysql


Business-BancaSella documentation  | view source Contained in the Business-BancaSella distribution.