lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Javonet.pm in javonet-ruby-sdk-2.1.8 vs lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Javonet.pm in javonet-ruby-sdk-2.1.9
- old
+ new
@@ -12,18 +12,17 @@
sub activate {
if(@_ == 1) {
return Transmitter->activate_with_licence_file();
}
-
- if(@_ == 3) {
- my($self, $email, $licenceKey) = @_;
- return Transmitter->activate_with_credentials($email, $licenceKey);
- } elsif (@_ > 3) {
- my($self, $email, $licenceKey, $proxyHost, $proxyUserName, $proxyPassword) = @_;
+ if(@_ == 2) {
+ my($self, $licenceKey) = @_;
+ return Transmitter->activate_with_credentials($licenceKey);
+ } elsif (@_ > 2) {
+ my($self, $licenceKey, $proxyHost, $proxyUserName, $proxyPassword) = @_;
$proxyUserName //="";
$proxyPassword //="";
- return Transmitter->activate_with_credentials_and_proxy($email, $licenceKey, $proxyHost, $proxyUserName, $proxyPassword);
+ return Transmitter->activate_with_credentials_and_proxy($licenceKey, $proxyHost, $proxyUserName, $proxyPassword);
}
}
sub in_memory {
\ No newline at end of file