projects
/
Net-Vitelity.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bbbf827
)
Add support for lnp apitype/URL
author
Ivan Kohler
<ivan@freeside.biz>
Fri, 10 Mar 2017 23:58:05 +0000
(15:58 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Fri, 10 Mar 2017 23:58:05 +0000
(15:58 -0800)
lib/Net/Vitelity.pm
patch
|
blob
|
history
diff --git
a/lib/Net/Vitelity.pm
b/lib/Net/Vitelity.pm
index
e0917f1
..
4409b5b
100644
(file)
--- a/
lib/Net/Vitelity.pm
+++ b/
lib/Net/Vitelity.pm
@@
-60,7
+60,7
@@
sub AUTOLOAD {
my $url = $URL_API;
$url = $URL_FAX if $self->{apitype} eq 'fax';
my $url = $URL_API;
$url = $URL_FAX if $self->{apitype} eq 'fax';
- $url = $URL_
FAX
if $self->{apitype} eq 'lnp';
+ $url = $URL_
LNP
if $self->{apitype} eq 'lnp';
my $response = $ua->post($url, {
login => $self->{login},
my $response = $ua->post($url, {
login => $self->{login},