Commit 0771fffa authored by Mike Jones's avatar Mike Jones 🌶

Merge branch 'dev' into 'master'

Use correct method for setting available API methods in result objects

See merge request !48
parents 55296055 25f47d4a
......@@ -4,7 +4,7 @@ license = MIT
copyright_holder = Mike Jones
copyright_year = 2018
version = 0.004
version = 0.005
[TestRelease]
[ConfirmRelease]
......
......@@ -5,7 +5,7 @@ use Types::Standard qw(Bool Int Object Str);
use WebService::Mattermost::V4::API;
our $VERSION = 0.004;
our $VERSION = 0.005;
with 'WebService::Mattermost::Role::Logger';
......
......@@ -28,7 +28,7 @@ sub BUILD {
my $self = shift;
$self->api_resource_name('compliance_report');
$self->available_api_methods([ 'download' ]);
$self->set_available_api_methods([ 'download' ]);
return 1;
}
......
......@@ -18,7 +18,7 @@ sub BUILD {
my $self = shift;
$self->api_resource_name('emoji');
$self->available_api_methods([ qw(
$self->set_available_api_methods([ qw(
delete
get_image
) ]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment