Unwrap
webhooks.unwrap() -> void
Function
Validates that the given payload was sent by OpenAI and parses the payload.
Unwrap
require "openai"
openai = OpenAI::Client.new(api_key: "My API Key")
result = openai.webhooks.unwrap
puts(result)Validates that the given payload was sent by OpenAI and parses the payload.
require "openai"
openai = OpenAI::Client.new(api_key: "My API Key")
result = openai.webhooks.unwrap
puts(result)