NAME
WebService::Mattermost::V4::API::Resource::Plugin
DESCRIPTION
USAGE
use WebService::Mattermost;
my $mm = WebService::Mattermost->new({
authenticate => 1,
username => 'me@somewhere.com',
password => 'hunter2',
base_url => 'https://my.mattermost.server.com/api/v4/',
});
my $resource = $mm->api->plugin;
Optionally, you can set a global plugin ID and not pass that argument to every method:
$resource->id('PLUGIN-ID-HERE');
This would make the deactivate() call look like:
my $response = $resource->deactivate();
METHODS
remove()-
my $response = $resource->remove('PLUGIN-ID-HERE'); activate()-
my $response = $resource->activate('PLUGIN-ID-HERE'); deactivate()-
my $response = $resource->deactivate('PLUGIN-ID-HERE');
AUTHOR
Mike Jones email:mike@netsplit.org.uk