SION = '0.0007';
use WebService::HipChat;
use Log::Dispatch::Output;
use Try::Tiny;
use JSON::XS qw/decode_json/;
use base qw( Log::Dispatch::Output );
use Params::Validate qw(validate SCALAR BOOL
my $response = HTTP::Response->parse( $http_response );
my $data = decode_json( $response->decoded_content );
if( $data->{error}{message} ){
die( sp