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

      params = {}

      if args[0].kind_of?(Hash) then
        params = args[0]
      elsif args[0].kind_of?(Array) then
	params['ids'] = args[0]
      elsif args[0].kind_of?(Integer) ||
          args[0].kind_of?(String) then
	params['ids'] = [args[0]]
      else
        raise ArgumentError, "Invalid parameters"
      end

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

      params = {}

      if args[0].kind_of?(Hash) then
        params = args[0]
      elsif args[0].kind_of?(Array) then
	params['ids'] = args[0]
      elsif args[0].kind_of?(Integer) ||
          args[0].kind_of?(String) then
	params['ids'] = [args[0]]
      else
        raise ArgumentError, "Invalid parameters"
      end

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