Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 573 Bytes

File metadata and controls

20 lines (16 loc) · 573 Bytes

require 'appwrite'

include Appwrite

client = Client.new .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # 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 scheduled_at: '<SCHEDULED_AT>' # optional )