Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix null params #19

Merged
merged 2 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2023 Appwrite (https://appwrite.io) and individual contributors.
Copyright (c) 2024 Appwrite (https://appwrite.io) and individual contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Appwrite Ruby SDK

![License](https://img.shields.io/github/license/appwrite/sdk-for-ruby.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-1.4.12-blue.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-1.4.13-blue.svg?style=flat-square)
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
Expand Down
2 changes: 1 addition & 1 deletion appwrite.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |spec|

spec.name = 'appwrite'
spec.version = '10.1.0'
spec.version = '10.1.1'
spec.license = 'BSD-3-Clause'
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'
spec.author = 'Appwrite Team'
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/account/create-phone-verification.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.create_phone_verification()

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/create-recovery.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.create_recovery(email: '[email protected]', url: 'https://example.com')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/create-verification.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.create_verification(url: 'https://example.com')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/delete-identity.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.delete_identity(identity_id: '[IDENTITY_ID]')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/delete-session.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.delete_session(session_id: '[SESSION_ID]')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/delete-sessions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.delete_sessions()

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/get-prefs.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.get_prefs()

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/get-session.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.get_session(session_id: '[SESSION_ID]')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/get.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.get()

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/list-identities.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.list_identities()

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/list-logs.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.list_logs()

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/list-sessions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.list_sessions()

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/update-email.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.update_email(email: '[email protected]', password: 'password')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/update-name.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.update_name(name: '[NAME]')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/update-password.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.update_password(password: '')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/update-phone-verification.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.update_phone_verification(user_id: '[USER_ID]', secret: '[SECRET]')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/update-phone.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.update_phone(phone: '+12065550100', password: 'password')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/update-prefs.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.update_prefs(prefs: {})

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/update-recovery.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.update_recovery(user_id: '[USER_ID]', secret: '[SECRET]', password: 'password', password_again: 'password')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/update-session.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.update_session(session_id: '[SESSION_ID]')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/update-status.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.update_status()

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/account/update-verification.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ account = Account.new(client)

response = account.update_verification(user_id: '[USER_ID]', secret: '[SECRET]')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/avatars/get-browser.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ avatars = Avatars.new(client)

response = avatars.get_browser(code: 'aa')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/avatars/get-credit-card.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ avatars = Avatars.new(client)

response = avatars.get_credit_card(code: 'amex')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/avatars/get-favicon.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ avatars = Avatars.new(client)

response = avatars.get_favicon(url: 'https://example.com')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/avatars/get-flag.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ avatars = Avatars.new(client)

response = avatars.get_flag(code: 'af')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/avatars/get-image.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ avatars = Avatars.new(client)

response = avatars.get_image(url: 'https://example.com')

puts response.inspect
puts response.inspect
4 changes: 2 additions & 2 deletions docs/examples/avatars/get-initials.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'Appwrite'
require 'appwrite'

include Appwrite

Expand All @@ -11,4 +11,4 @@ avatars = Avatars.new(client)

response = avatars.get_initials()

puts response.inspect
puts response.inspect
Loading