update logging api to match log-contextual 0.005
[scpubgit/Object-Remote.git] / lib / Object / Remote / CodeContainer.pm
1 package Object::Remote::CodeContainer;
2
3 use Moo;
4
5 has code => (is => 'ro', required => 1);
6
7 sub call {
8   my $self = shift;
9   $self->code->(@_)
10 }
11
12 1;