Sha256: cb1303237f495f59dc3d68e7be3741e4434b428412d3cd1c591118347bf461e1
Contents?: true
Size: 383 Bytes
Versions: 1
Compression:
Stored size: 383 Bytes
Contents
require 'appwrite' client = Appwrite::Client.new() client .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ; storage = Appwrite::Storage.new(client); response = storage.create_file(file: File.new(), read: [], write: []); puts response
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appwrite-1.0.11 | docs/examples/storage/create-file.md |