You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: help_message.rb
    path of file: ./repos/mushroom-observer/app/classes/api2/error
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class API2
  # API 
    
    def help_message
      if keys_for_patch.any?
        "query params: #{render_keys(keys_for_get)}; " \
          "update params: #{render_keys(keys_for_patch)}"
      else
        render_keys(all_keys)
      end