The project is in a healthy, maintained state
RubyApiPackCloudways is a Ruby gem for interacting with the Cloudways API. It provides easy access to providers, server sizes, apps, and packages, with built-in OAuth authentication for secure API requests.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.22.0
~> 3.16
 Project Readme

PHCDevworks RubyApiPackCloudways

Forks Stars

Overview

Issues Dependabot Status codecov Build Status CodeQL Gem Version

RubyApiPackCloudways is a Ruby gem that provides an easy interface for interacting with the Cloudways API. It includes functionality for fetching information about Cloudways providers, server sizes, apps, and packages, as well as managing server connections and authentication tokens.

Key Features:

  • Provider List: Fetch the list of available Cloudways providers.
  • Server Sizes: Retrieve details about available server sizes supported by Cloudways.
  • App List: Access a list of Cloudways applications.
  • Package List: Fetch the available packages on Cloudways.
  • Token-Based Authentication: Secure access to Cloudways API using OAuth tokens.

Usage

1. Set up Cloudways API credentials

You will need to configure your Cloudways API credentials in your Ruby environment. Here’s how you can do it:

  1. Open your configuration block in the initializer or main application file:
RubyApiPackCloudways.configure do |config|
  config.api_url = 'https://api.cloudways.com/api/v1'
  config.api_path_token = '/oauth/access_token'
  config.api_email = '<your_cloudways_email>'
  config.api_key = '<your_cloudways_api_key>'
end
  1. Save and restart your application.

Installation

Add this line to your application's Gemfile:

gem "ruby_api_pack_cloudways"

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruby_api_pack_cloudways

Documentation Wiki

Contributing

contributors

Last Commit All Contributors

License

The gem is available as open source under the terms of the MIT License.

License