Skip to content

Commit 3ab9825

Browse files
committed
fix docs
1 parent 14421b8 commit 3ab9825

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

docs/examples/database/create-collection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ client
99

1010
database = Appwrite::Database.new(client)
1111

12-
response = database.create_collection(collection_id: '', name: '[NAME]', permission: 'document', read: ["role:all"], write: ["role:all"])
12+
response = database.create_collection(collection_id: '[COLLECTION_ID]', name: '[NAME]', permission: 'document', read: ["role:all"], write: ["role:all"])
1313

1414
puts response.inspect

docs/examples/database/create-document.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ client
99

1010
database = Appwrite::Database.new(client)
1111

12-
response = database.create_document(collection_id: '[COLLECTION_ID]', document_id: '', data: {})
12+
response = database.create_document(collection_id: '[COLLECTION_ID]', document_id: '[DOCUMENT_ID]', data: {})
1313

1414
puts response.inspect

docs/examples/functions/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ client
99

1010
functions = Appwrite::Functions.new(client)
1111

12-
response = functions.create(function_id: '', name: '[NAME]', execute: [], runtime: 'node-14.5')
12+
response = functions.create(function_id: '[FUNCTION_ID]', name: '[NAME]', execute: [], runtime: 'node-14.5')
1313

1414
puts response.inspect

docs/examples/storage/create-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ client
99

1010
storage = Appwrite::Storage.new(client)
1111

12-
response = storage.create_file(file_id: '', file: File.new())
12+
response = storage.create_file(file_id: '[FILE_ID]', file: File.new())
1313

1414
puts response.inspect

docs/examples/teams/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ client
99

1010
teams = Appwrite::Teams.new(client)
1111

12-
response = teams.create(team_id: '', name: '[NAME]')
12+
response = teams.create(team_id: '[TEAM_ID]', name: '[NAME]')
1313

1414
puts response.inspect

docs/examples/users/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ client
99

1010
users = Appwrite::Users.new(client)
1111

12-
response = users.create(user_id: '', email: 'email@example.com', password: 'password')
12+
response = users.create(user_id: '[USER_ID]', email: 'email@example.com', password: 'password')
1313

1414
puts response.inspect

0 commit comments

Comments
 (0)