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.
- API version: 0.1.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
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)Finally add this to the Gemfile:
gem 'ionoscloud-dbaas-mongo', '~> 1.0.0'
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 using
-I
as follows:ruby -Ilib script.rb
Last modified 9mo ago