Last active
April 24, 2016 16:37
Revisions
-
lucas1 revised this gist
Apr 24, 2016 . 1 changed file with 36 additions and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -69,6 +69,42 @@ B<enable> 1 to enable, 0 to disable, without set not change domain =head2 Enable Method to enable Domains. B<Example> $iredadmin->Domain->Enable( 'foo.com', 'bar.com', 'baz.com' ); =head2 Disable Method to disable Domains. B<Example> $iredadmin->Domain->Disable( 'foo.com', 'bar.com', 'baz.com' ); =head2 Delete Method to delete Domains. B<Example> $iredadmin->Domain->Delete( 'foo.com', 'bar.com', 'baz.com' ); =head1 AUTHOR Lucas Tiago de Moraes, C<< <lucastiagodemoraes@gmail.com> >> -
lucas1 revised this gist
Apr 24, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -67,7 +67,7 @@ Change Company/Organization Name B<enable> 1 to enable, 0 to disable, without set not change domain =head1 AUTHOR -
lucas1 revised this gist
Apr 24, 2016 . 1 changed file with 16 additions and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -53,6 +53,22 @@ B<name> Company/Organization Name =head2 Edit Method to edit Admin. =cut =head4 Arguments B<name> Change Company/Organization Name B<enable> 1 to enable, 0 to disable, without set not change account =head1 AUTHOR Lucas Tiago de Moraes, C<< <lucastiagodemoraes@gmail.com> >> -
lucas1 revised this gist
Apr 24, 2016 . 1 changed file with 5 additions and 6 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -39,20 +39,19 @@ Version 0.01 =head2 Add Method to add Domain. =cut =head4 Arguments B<domain> Address of Domain B<name> Company/Organization Name =head1 AUTHOR -
lucas1 revised this gist
Apr 24, 2016 . 1 changed file with 19 additions and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,6 +35,25 @@ Version 0.01 =cut =head1 METHODS =head2 Add Method to add Admin. =cut =head4 Arguments B<email> Email of Admin B<password> Password of Admin =head1 AUTHOR Lucas Tiago de Moraes, C<< <lucastiagodemoraes@gmail.com> >> -
lucas1 revised this gist
Apr 24, 2016 . No changes.There are no files selected for viewing
-
lucas1 revised this gist
Apr 24, 2016 . 1 changed file with 21 additions and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,27 @@ Version 0.01 =cut =head1 SYNOPSIS use iRedAdmin; my $iredadmin = iRedAdmin->new( url => 'https://hostname.mydomain.com/iredadmin', username => 'postmaster@mydomain.com', password => 'your_password', cookie => '/home/user/cookie.txt', lang => 3 ); my $admin = $iredadmin->Domain->Add( domain => 'foo.com', name => 'Company Foo', ); print $iredadmin->error unless $admin; # print error if $admin is equal 0 =cut =head1 AUTHOR Lucas Tiago de Moraes, C<< <lucastiagodemoraes@gmail.com> >> -
lucas1 revised this gist
Apr 24, 2016 . 1 changed file with 12 additions and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,4 +12,16 @@ iRedAdmin::Domain - API for add, edit, delete, enable and disable Domain Version 0.01 =cut =head1 AUTHOR Lucas Tiago de Moraes, C<< <lucastiagodemoraes@gmail.com> >> =cut =head1 COPYRIGHT AND LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. =cut -
lucas1 created this gist
Apr 24, 2016 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ __END__ =encoding utf8 =head1 NAME iRedAdmin::Domain - API for add, edit, delete, enable and disable Domain =cut =head1 VERSION Version 0.01 =cut