diff options
-rw-r--r-- | lib/Net/Vitelity.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Net/Vitelity.pm b/lib/Net/Vitelity.pm index fe80f09..c2df24f 100644 --- a/lib/Net/Vitelity.pm +++ b/lib/Net/Vitelity.pm @@ -31,6 +31,12 @@ our $AUTOLOAD; =cut +=head2 new + +Create a new Net::Vitelity object. login and pass are required. + +=cut + sub new { my ($class,%data) = @_; die "missing user and/or password" unless defined $data{'login'} && defined $data{'pass'}; |