Module: DatabasusRuby

Defined in:
lib/databasus_ruby.rb,
lib/databasus_ruby/error.rb,
lib/databasus_ruby/client.rb,
lib/databasus_ruby/object.rb,
lib/databasus_ruby/record.rb,
lib/databasus_ruby/version.rb,
lib/databasus_ruby/endpoint.rb,
lib/databasus_ruby/collection.rb,
lib/databasus_ruby/objects/auth.rb,
lib/databasus_ruby/objects/users.rb,
lib/databasus_ruby/objects/backups.rb,
lib/databasus_ruby/objects/storages.rb,
lib/databasus_ruby/records/database.rb,
lib/databasus_ruby/objects/databases.rb,
lib/databasus_ruby/objects/notifiers.rb,
lib/databasus_ruby/objects/workspaces.rb,
sig/databasus_ruby.rbs

Overview

Ruby client for the Databasus backup-management API.

client = DatabasusRuby::Client.new(api_key: ENV["DATABASUS_API_KEY"],
                                url: "https://databasus.example.com/api/v1/")
client.databases.list(workspace_id: workspace_id)

See DatabasusRuby::Client for how the endpoint domains hang off the client.

Defined Under Namespace

Modules: Endpoint Classes: APIError, Auth, AuthenticationError, Backups, BadRequestError, Client, Collection, ConfigurationError, ConflictError, Database, Databases, Error, ForbiddenError, NotFoundError, Notifiers, Object, RateLimitError, Record, ServerError, Storages, Users, Workspaces

Constant Summary collapse

VERSION =

Returns:

  • (String)
"0.1.0"