(self)
Validates Slack API connection.
Validates Slack API connection.
Validates Slack API connection .
def _validate(self):
        # type: () -> None
        '''Validates Slack API connection.'''
        response = self._api_call('api.test')
        if not response['ok']:
            raise ChatException('Unable to connect to Slack API.')
        logging.info('Connection to Slack API successful!')
def _validate ( self ) : # type: () -> None response = self . _api_call ( 'api.test' ) if not response [ 'ok' ] : raise ChatException ( 'Unable to connect to Slack API.' ) logging . info ( 'Connection to Slack API successful!' )