package App::Clifton::BridgeConfig;

use App::Clifton::Types qw(object_of_class);
use aliased 'App::Clifton::BridgeConfig::Jabber' => 'BridgeConfig_Jabber';
use aliased 'App::Clifton::BridgeConfig::IRC' => 'BridgeConfig_IRC';
use Moo;

has name => (is => 'ro', required => 1);

has jabber => (
  is => 'ro', required => 1, isa => object_of_class(BridgeConfig_Jabber)
);

has irc => (
  is => 'ro', required => 1, isa => object_of_class(BridgeConfig_IRC)
);

1;
