projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
137d53f
)
fix syntax error as a result of inadvertant backport, RT#41597, RT#35167
author
Ivan Kohler
<ivan@freeside.biz>
Mon, 4 Apr 2016 22:29:16 +0000
(15:29 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Mon, 4 Apr 2016 22:29:16 +0000
(15:29 -0700)
FS/FS/part_event/Action/http.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_event/Action/http.pm
b/FS/FS/part_event/Action/http.pm
index
b17acb8
..
c3b1af0
100644
(file)
--- a/
FS/FS/part_event/Action/http.pm
+++ b/
FS/FS/part_event/Action/http.pm
@@
-1,13
+1,16
@@
package FS::part_event::Action::http;
package FS::part_event::Action::http;
+use base qw( FS::part_event::Action );
use strict;
use strict;
-use
base qw( FS::part_event::Action
);
+use
vars qw( $me
);
use IO::Socket::SSL;
use LWP::UserAgent;
use HTTP::Request::Common;
use JSON::XS;
use FS::Misc::DateTime qw( iso8601 );
use IO::Socket::SSL;
use LWP::UserAgent;
use HTTP::Request::Common;
use JSON::XS;
use FS::Misc::DateTime qw( iso8601 );
+$me = '[FS::part_event::Action::http]';
+
#sub description { 'Send an HTTP or HTTPS GET or POST request'; }
sub description { 'Send an HTTP or HTTPS POST request'; }
#sub description { 'Send an HTTP or HTTPS GET or POST request'; }
sub description { 'Send an HTTP or HTTPS POST request'; }
@@
-38,6
+41,10
@@
sub option_fields {
type => 'textarea',
},
#'response_error_param' => 'Response error parameter',
type => 'textarea',
},
#'response_error_param' => 'Response error parameter',
+ 'debug' => { label => 'Enable debugging',
+ type => 'checkbox',
+ value => 1,
+ },
);
}
);
}