Skip to content

Commit

Permalink
make bus required
Browse files Browse the repository at this point in the history
  • Loading branch information
revmischa committed Oct 29, 2011
1 parent f2d9e9d commit c254ce8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Web/Hippie/ZeroMQ.pm
Expand Up @@ -23,6 +23,9 @@ use Plack::Util::Accessor qw/
sub prepare_app {
my ($self) = @_;

die "bus is a required builder argument for Web::Hippie::ZeroMQ"
unless $self->bus;

# our handlers for hippie actions
mount '/_hippie' => builder {
# websocket/mxhr/poll handlers
Expand Down

0 comments on commit c254ce8

Please sign in to comment.