Skip to content

Commit 166f743

Browse files
Merge pull request #12 from appwrite/dev
chore: update role helper class
2 parents 0bd7e07 + 0b17a0b commit 166f743

16 files changed

+39
-43
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
88

9-
**This SDK is compatible with Appwrite server version 1.0.0. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-ruby/releases).**
9+
**This SDK is compatible with Appwrite server version 1.0.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-ruby/releases).**
1010

1111
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Ruby SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
1212

appwrite.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |spec|
22

33
spec.name = 'appwrite'
4-
spec.version = '7.0.0'
4+
spec.version = '7.1.0'
55
spec.license = 'BSD-3-Clause'
66
spec.summary = 'Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API'
77
spec.author = 'Appwrite Team'

docs/examples/account/get-logs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
require 'appwrite'
22

3-
include Appwrite
3+
client = Appwrite::Client.new
44

5-
client = Client.new
5+
client
66
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
77
.set_project('5df5acd0d48c2') # Your project ID
88
.set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token
99

10-
account = Account.new(client)
10+
account = Appwrite::Account.new(client)
1111

1212
response = account.get_logs()
1313

docs/examples/account/get-sessions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
require 'appwrite'
22

3-
include Appwrite
3+
client = Appwrite::Client.new
44

5-
client = Client.new
5+
client
66
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
77
.set_project('5df5acd0d48c2') # Your project ID
88
.set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token
99

10-
account = Account.new(client)
10+
account = Appwrite::Account.new(client)
1111

1212
response = account.get_sessions()
1313

docs/examples/locale/get-continents.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
require 'appwrite'
22

3-
include Appwrite
3+
client = Appwrite::Client.new
44

5-
client = Client.new
5+
client
66
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
77
.set_project('5df5acd0d48c2') # Your project ID
88
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
99

10-
locale = Locale.new(client)
10+
locale = Appwrite::Locale.new(client)
1111

1212
response = locale.get_continents()
1313

docs/examples/locale/get-countries-e-u.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
require 'appwrite'
22

3-
include Appwrite
3+
client = Appwrite::Client.new
44

5-
client = Client.new
5+
client
66
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
77
.set_project('5df5acd0d48c2') # Your project ID
88
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
99

10-
locale = Locale.new(client)
10+
locale = Appwrite::Locale.new(client)
1111

1212
response = locale.get_countries_eu()
1313

docs/examples/locale/get-countries-phones.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
require 'appwrite'
22

3-
include Appwrite
3+
client = Appwrite::Client.new
44

5-
client = Client.new
5+
client
66
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
77
.set_project('5df5acd0d48c2') # Your project ID
88
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
99

10-
locale = Locale.new(client)
10+
locale = Appwrite::Locale.new(client)
1111

1212
response = locale.get_countries_phones()
1313

docs/examples/locale/get-countries.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
require 'appwrite'
22

3-
include Appwrite
3+
client = Appwrite::Client.new
44

5-
client = Client.new
5+
client
66
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
77
.set_project('5df5acd0d48c2') # Your project ID
88
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
99

10-
locale = Locale.new(client)
10+
locale = Appwrite::Locale.new(client)
1111

1212
response = locale.get_countries()
1313

docs/examples/locale/get-currencies.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
require 'appwrite'
22

3-
include Appwrite
3+
client = Appwrite::Client.new
44

5-
client = Client.new
5+
client
66
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
77
.set_project('5df5acd0d48c2') # Your project ID
88
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
99

10-
locale = Locale.new(client)
10+
locale = Appwrite::Locale.new(client)
1111

1212
response = locale.get_currencies()
1313

docs/examples/locale/get-languages.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
require 'appwrite'
22

3-
include Appwrite
3+
client = Appwrite::Client.new
44

5-
client = Client.new
5+
client
66
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
77
.set_project('5df5acd0d48c2') # Your project ID
88
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
99

10-
locale = Locale.new(client)
10+
locale = Appwrite::Locale.new(client)
1111

1212
response = locale.get_languages()
1313

0 commit comments

Comments
 (0)