lib/bugzilla/bug.rb
def _get(cmd, *args)
      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

      params['permissive'] = true if check_version(3.4)[0]

      @iface.call(cmd, params)
    end
def _get(cmd, *args)
      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

      params['permissive'] = true if check_version(3.4)[0]

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