Method: Supportify::SupportifyApi#create_faq

Defined in:
lib/supportify_client/api/supportify_api.rb

#create_faq(answer, author, question, opts = {}) ⇒ nil

Create a new content entry and add it to the application.

Parameters:

  • answer

    The body of the content entry. Can be an answer to a FAQ, a knowledge base entry, or any other type of string. This is a non-encoded string and may contain HTML.

  • author

    The e-mail address of the user that created the content entry. This e-mail address must correspond to a user on your Supportify account.

  • question

    The title of the content entry. Can be a question, a title, or any other type of string. This is a non-encoded string and may contain HTML.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :categories (Array<String>)

    The categories that the content entry belongs to.

  • :format (String)

    The format of the content that has been posted. Currently, the only accepted values are &#39;markdown&#39; and &#39;html&#39;.

  • :tags (Array<String>)

    The tags that the content entry belongs to.

Returns:

  • (nil)


230
231
232
233
# File 'lib/supportify_client/api/supportify_api.rb', line 230

def create_faq(answer, author, question, opts = {})
  create_faq_with_http_info(answer, author, question, opts)
  return nil
end