def _history(cmd, *args)
      requires_version(cmd, 3.4)

      params = {}
      a = args[0]
      case a
      when Hash
        params = a
      when Array
        params['ids'] = a
      when Integer || String
        params['ids'] = [a]
      else
        raise ArgumentError, 'Invalid parameters'
      end

      @iface.call(cmd, params)
    end
def _history(cmd, *args)
      requires_version(cmd, 3.4)

      params = {}
      a = args[0]
      case a
      when Hash
        params = a
      when Array
        params['ids'] = a
      when Integer || String
        params['ids'] = [a]
      else
        raise ArgumentError, 'Invalid parameters'
      end

      @iface.call(cmd, params)
    end
def _get