Module: Supabase
- Defined in:
- lib/supabase.rb,
lib/supabase/auth.rb,
lib/supabase/client.rb,
lib/supabase/storage.rb,
lib/supabase/version.rb,
lib/supabase/auth/api.rb,
lib/supabase/realtime.rb,
lib/supabase/functions.rb,
lib/supabase/postgrest.rb,
lib/supabase/auth/timer.rb,
lib/supabase/auth/types.rb,
lib/supabase/auth/client.rb,
lib/supabase/auth/errors.rb,
lib/supabase/auth/helpers.rb,
lib/supabase/auth/storage.rb,
lib/supabase/auth/version.rb,
lib/supabase/realtime/push.rb,
lib/supabase/storage/types.rb,
lib/supabase/storage/utils.rb,
lib/supabase/auth/admin_api.rb,
lib/supabase/auth/async/api.rb,
lib/supabase/auth/constants.rb,
lib/supabase/client_options.rb,
lib/supabase/realtime/types.rb,
lib/supabase/storage/client.rb,
lib/supabase/storage/errors.rb,
lib/supabase/functions/types.rb,
lib/supabase/postgrest/types.rb,
lib/supabase/postgrest/utils.rb,
lib/supabase/realtime/client.rb,
lib/supabase/realtime/errors.rb,
lib/supabase/realtime/socket.rb,
lib/supabase/storage/request.rb,
lib/supabase/storage/vectors.rb,
lib/supabase/storage/version.rb,
lib/supabase/functions/client.rb,
lib/supabase/functions/errors.rb,
lib/supabase/postgrest/client.rb,
lib/supabase/postgrest/errors.rb,
lib/supabase/realtime/channel.rb,
lib/supabase/realtime/message.rb,
lib/supabase/realtime/version.rb,
lib/supabase/storage/file_api.rb,
lib/supabase/auth/async/client.rb,
lib/supabase/functions/version.rb,
lib/supabase/postgrest/version.rb,
lib/supabase/realtime/presence.rb,
lib/supabase/storage/analytics.rb,
lib/supabase/storage/bucket_api.rb,
lib/supabase/auth/memory_storage.rb,
lib/supabase/auth/admin_oauth_api.rb,
lib/supabase/auth/async/admin_api.rb,
lib/supabase/realtime/test_socket.rb,
lib/supabase/storage/async/client.rb,
lib/supabase/realtime/transformers.rb,
lib/supabase/functions/async/client.rb,
lib/supabase/postgrest/async/client.rb,
lib/supabase/postgrest/request_builder.rb,
lib/supabase/auth/async/admin_oauth_api.rb,
lib/supabase/realtime/sockets/async_websocket.rb,
lib/supabase/realtime/sockets/websocket_client_simple.rb
Defined Under Namespace
Modules: Auth, Functions, Postgrest, Realtime, Storage Classes: Client, ClientOptions, SupabaseException
Constant Summary collapse
- PostgrestAPIResponse =
Postgrest::APIResponse
- StorageException =
Storage
Storage::Errors::StorageError
- StorageApiError =
Storage::Errors::StorageApiError
- AuthError =
Auth::Errors::AuthError
- AuthApiError =
Auth::Errors::AuthApiError
- AuthImplicitGrantRedirectError =
Auth::Errors::AuthImplicitGrantRedirectError
- AuthInvalidCredentialsError =
Auth::Errors::AuthInvalidCredentialsError
- AuthRetryableError =
Auth::Errors::AuthRetryableError
- AuthSessionMissingError =
Auth::Errors::AuthSessionMissingError
- AuthUnknownError =
Auth::Errors::AuthUnknownError
- AuthWeakPasswordError =
Auth::Errors::AuthWeakPasswordError
- FunctionsError =
Functions::Errors::FunctionsError
- FunctionsHttpError =
Functions::Errors::FunctionsHttpError
- FunctionsRelayError =
Functions::Errors::FunctionsRelayError
- AuthorizationError =
Realtime::Errors::AuthorizationError
- NotConnectedError =
Realtime::Errors::NotConnectedError
- VERSION =
"2.0.0"
Class Method Summary collapse
-
.acreate_client(supabase_url:, supabase_key:, options: {}) ⇒ Object
Alias mirroring supabase-py’s ‘acreate_client` / `create_async_client`.
-
.create_client(supabase_url:, supabase_key:, options: {}, async: false) ⇒ Object
Factory that matches supabase-py’s ‘supabase.create_client()` signature.
Class Method Details
.acreate_client(supabase_url:, supabase_key:, options: {}) ⇒ Object
Alias mirroring supabase-py’s ‘acreate_client` / `create_async_client`. Equivalent to `create_client(…, async: true)`.
59 60 61 |
# File 'lib/supabase.rb', line 59 def self.acreate_client(supabase_url:, supabase_key:, options: {}) create_client(supabase_url: supabase_url, supabase_key: supabase_key, options: , async: true) end |
.create_client(supabase_url:, supabase_key:, options: {}, async: false) ⇒ Object
Factory that matches supabase-py’s ‘supabase.create_client()` signature.
197 198 199 |
# File 'lib/supabase/client.rb', line 197 def self.create_client(supabase_url:, supabase_key:, options: {}, async: false) Client.new(supabase_url: supabase_url, supabase_key: supabase_key, options: , async: async) end |