def update_room(self, stream_id, room_definition):
        ''' update a room definition '''
        req_hook = 'pod/v2/room/' + str(stream_id) + '/update'
        req_args = json.dumps(room_definition)
        status_code, response = self.__rest__.POST_query(req_hook, req_args)
        self.logger.debug('%s: %s' % (status_code, response))
        return status_code, response
def update_room ( self , stream_id , room_definition ) : req_hook = 'pod/v2/room/' + str ( stream_id ) + '/update' req_args = json . dumps ( room_definition ) status_code , response = self . __rest__ . POST_query ( req_hook , req_args ) self . logger . debug ( '%s: %s' % ( status_code , response ) ) return status_code , response
update a room definition