Skip to content
Snippets Groups Projects
Commit 35fc8511 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

rename WebRequest class as App

parent 356f9ba7
No related branches found
No related tags found
No related merge requests found
......@@ -7,16 +7,16 @@ use lib qw(@modulesdir@);
use Config::Tiny;
use AccountManager::WebRequest;
use AccountManager::App;
my $configuration_file =
$ENV{ACCOUNTMANAGER_CONFIG} || '@sysconfdir@/manager.conf';
my $configuration = Config::Tiny->read($configuration_file);
my $request = AccountManager::WebRequest->new(
my $app = AccountManager::App->new(
configuration => $configuration
);
$request->run();
$app->run();
__END__
......
package AccountManager::WebRequest;
package AccountManager::App;
use strict;
use warnings;
......@@ -40,7 +40,6 @@ my %actions = (
download_accounts => 'req_download_accounts',
);
## New web request
sub new {
my ($pkg, %args) = @_;
......
......@@ -11,6 +11,6 @@ nobase_modules_DATA = \
AccountManager/Account.pm \
AccountManager/Account/Manager.pm \
AccountManager/Tools.pm \
AccountManager/WebRequest.pm
AccountManager/App.pm
EXTRA_DIST = $(nobase_modules_DATA)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment