mirror of
https://github.com/appwrite/appwrite
synced 2026-05-18 14:38:35 +00:00
513 B
513 B
require 'appwrite'
include Appwrite
client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_session('') # The user session to authenticate with
functions = Functions.new(client)
result = functions.create_execution( function_id: '<FUNCTION_ID>', body: '', # optional async: false, # optional path: '', # optional method: ExecutionMethod::GET, # optional headers: {} # optional )