Skip to content

Commit 0153433

Browse files
committed
feat: update for 1.0.0-RC1
1 parent e7efb0b commit 0153433

16 files changed

+35
-55
lines changed

docs/examples/databases/create-collection.md

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

1010
databases = Appwrite::Databases.new(client)
1111

12-
response = databases.create_collection(database_id: '[DATABASE_ID]', collection_id: '[COLLECTION_ID]', name: '[NAME]', permissions: ["read("any")"], document_security: false)
12+
response = databases.create_collection(database_id: '[DATABASE_ID]', collection_id: '[COLLECTION_ID]', name: '[NAME]')
1313

1414
puts response.inspect

docs/examples/databases/update-collection.md

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

1010
databases = Appwrite::Databases.new(client)
1111

12-
response = databases.update_collection(database_id: '[DATABASE_ID]', collection_id: '[COLLECTION_ID]', name: '[NAME]', document_security: false)
12+
response = databases.update_collection(database_id: '[DATABASE_ID]', collection_id: '[COLLECTION_ID]', name: '[NAME]')
1313

1414
puts response.inspect

docs/examples/storage/create-bucket.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_bucket(bucket_id: '[BUCKET_ID]', name: '[NAME]', file_security: false)
12+
response = storage.create_bucket(bucket_id: '[BUCKET_ID]', name: '[NAME]')
1313

1414
puts response.inspect

docs/examples/storage/update-bucket.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.update_bucket(bucket_id: '[BUCKET_ID]', name: '[NAME]', file_security: false)
12+
response = storage.update_bucket(bucket_id: '[BUCKET_ID]', name: '[NAME]')
1313

1414
puts response.inspect

lib/appwrite/models/attribute_boolean.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def initialize(
1515
type:,
1616
status:,
1717
required:,
18-
array:,
19-
default:
18+
array: ,
19+
default:
2020
)
2121
@key = key
2222
@type = type

lib/appwrite/models/attribute_datetime.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ def initialize(
1616
type:,
1717
status:,
1818
required:,
19-
array:,
19+
array: ,
2020
format:,
21-
default:
21+
default:
2222
)
2323
@key = key
2424
@type = type

lib/appwrite/models/attribute_email.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ def initialize(
1616
type:,
1717
status:,
1818
required:,
19-
array:,
19+
array: ,
2020
format:,
21-
default:
21+
default:
2222
)
2323
@key = key
2424
@type = type

lib/appwrite/models/attribute_enum.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ def initialize(
1717
type:,
1818
status:,
1919
required:,
20-
array:,
20+
array: ,
2121
elements:,
2222
format:,
23-
default:
23+
default:
2424
)
2525
@key = key
2626
@type = type

lib/appwrite/models/attribute_float.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ def initialize(
1717
type:,
1818
status:,
1919
required:,
20-
array:,
21-
min:,
22-
max:,
23-
default:
20+
array: ,
21+
min: ,
22+
max: ,
23+
default:
2424
)
2525
@key = key
2626
@type = type

lib/appwrite/models/attribute_integer.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ def initialize(
1717
type:,
1818
status:,
1919
required:,
20-
array:,
21-
min:,
22-
max:,
23-
default:
20+
array: ,
21+
min: ,
22+
max: ,
23+
default:
2424
)
2525
@key = key
2626
@type = type

0 commit comments

Comments
 (0)