| Business-UPS-Tracking documentation | view source | Contained in the Business-UPS-Tracking distribution. |
Business::UPS::Tracking::Commandline - Commandline interface to UPS tracking
my $commandline = Business::UPS::Tracking::Commandline->new_with_options; # Params are taken from @ARGV $commandline->execute;
This class allows Business::UPS::Tracking being called from a commandline script using MooseX::Getopt. (See ups_tracking)
All accessors from Business::UPS::Tracking::Request
Be verbose
UPS tracking service access license number
UPS account username
UPS account password
Optionally you can retrieve all or some UPS webservice credentials from a
configuration file. This accessor holds the path to this file.
Defaults to ~/.ups_tracking
Example configuration file:
<?xml version="1.0"?>
<UPS_tracing_webservice_config>
<AccessLicenseNumber>1CFFED5A5E91B17</AccessLicenseNumber>
<UserId>myupsuser</UserId>
<Password>secret</Password>
</UPS_tracing_webservice_config>
$commandline->execute;
Performs a UPS webservice query/request.
| Business-UPS-Tracking documentation | view source | Contained in the Business-UPS-Tracking distribution. |