Client generator role for the EWS "GetAttachment" SOAP method. Change-Id: Ia5ec78cbfd5798fcf094292fef0739740f59fc7emr11.3.1
parent
a5db9a00ca
commit
fa1dcafe9c
@ -0,0 +1,25 @@
|
|||||||
|
package EWS::Client::Role::GetAttachment;
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
BEGIN {
|
||||||
|
$EWS::Client::Role::GetAttachment::VERSION = '1.143070';
|
||||||
|
}
|
||||||
|
use Moose::Role;
|
||||||
|
|
||||||
|
has GetAttachment => (
|
||||||
|
is => 'ro',
|
||||||
|
isa => 'CodeRef',
|
||||||
|
lazy_build => 1,
|
||||||
|
);
|
||||||
|
|
||||||
|
sub _build_GetAttachment {
|
||||||
|
my $self = shift;
|
||||||
|
return $self->wsdl->compileClient(
|
||||||
|
operation => 'GetAttachment',
|
||||||
|
transport => $self->transporter->compileClient(
|
||||||
|
action => 'http://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment' ),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
no Moose::Role;
|
||||||
|
1;
|
||||||
Loading…
Reference in new issue