Commits

Diab Jerius  committed 33c8535

shadow server connection attributes into client class

  • Participants
  • Parent commits b532b82

Comments (0)

Files changed (1)

File lib/Hg/Lib/Client.pm

 
 use Moo;
 
+with 'MooX::Attributes::Shadow::Role';
+
 use boolean ':all';
 
 use Hg::Lib::Server;
 use Hg::Lib::Types -types;
 
 Hg::Lib::Server->shadow_attrs;
+shadowable_attrs( keys %{ Hg::Lib::Server->shadowed_attrs } );
 
 has _server => (
     is       => 'lazy',