You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-panel/lib/NGCP/Panel/Controller/API/FaxesItem.pm

26 lines
567 B

package NGCP::Panel::Controller::API::FaxesItem;
use NGCP::Panel::Utils::Generic qw(:all);
use Sipwise::Base;
use parent qw/NGCP::Panel::Role::EntitiesItem NGCP::Panel::Role::API::Faxes/;
__PACKAGE__->set_config({
allowed_roles => [qw/admin reseller subscriberadmin subscriber/],
dont_validate_hal => 1,
});
sub allowed_methods{
return [qw/GET OPTIONS HEAD/];
}
#sub delete_item {
# my ($self, $c, $item) = @_;
# $item->delete;
# NGCP::Panel::Utils::Subscriber::vmnotify( 'c' => $c, 'fax' => $item );
#}
1;
# vim: set tabstop=4 expandtab: