diff --git a/lib/NGCP/BulkProcessor/Downloaders/EWS/Client/Role/GetAttachment.pm b/lib/NGCP/BulkProcessor/Downloaders/EWS/Client/Role/GetAttachment.pm new file mode 100644 index 0000000..0abd6f5 --- /dev/null +++ b/lib/NGCP/BulkProcessor/Downloaders/EWS/Client/Role/GetAttachment.pm @@ -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; \ No newline at end of file