Introduction

IonoscloudDbaasMongo - the Ruby gem for the IONOS DBaaS MongoDB REST API

With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API.

MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas.

The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.0

  • Package version: 1.0.0

  • Build package: org.openapitools.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build ionoscloud-dbaas-mongo.gemspec

Then either install the gem locally:

gem install ./ionoscloud-dbaas-mongo-1.0.0.gem

(for development, run gem install --dev ./ionoscloud-dbaas-mongo-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'ionoscloud-dbaas-mongo', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/ionos-cloud/sdk-ruby-dbaas-mongo, then add the following in the Gemfile:

gem 'ionoscloud-dbaas-mongo', :git => 'https://github.com/ionos-cloud/sdk-ruby-dbaas-mongo.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Our latest, most up to date documentation is available here

Last updated