-
-
Notifications
You must be signed in to change notification settings - Fork 0
Cloudways Ruby List Endpoints
This gem provides a Ruby client for interacting with Cloudways list endpoints, enabling retrieval of various resources from Cloudways' API. Below are the available list endpoints and their usage.
Add this line to your application's Gemfile:
gem 'ruby_api_pack_cloudways'
And then execute:
bundle install
Set up configuration for Cloudways API access in your application:
RubyApiPackCloudways.configure do |config|
config.api_url = 'https://api.cloudways.com/api/v1'
config.api_email = 'your_email'
config.api_key = 'your_api_key'
end
Below is a list of all available list endpoints provided by the CwLists class in the ruby_api_pack_cloudways gem.
List Applications Fetches a list of all applications.
RubyApiPackCloudways::Api::CwLists.app_list
List Backup Frequencies Retrieves available backup frequency options.
RubyApiPackCloudways::Api::CwLists.backup_frequency_list
List Countries Fetches a list of supported countries.
RubyApiPackCloudways::Api::CwLists.country_list
List Monitor Durations Retrieves monitoring duration options.
RubyApiPackCloudways::Api::CwLists.monitor_duration_list
List Monitor Targets Fetches available monitoring targets.
RubyApiPackCloudways::Api::CwLists.monitor_target_list
List Packages Retrieves a list of available packages.
RubyApiPackCloudways::Api::CwLists.package_list
List Providers Fetches a list of cloud providers.
RubyApiPackCloudways::Api::CwLists.provider_list
List Regions Retrieves available regions.
RubyApiPackCloudways::Api::CwLists.region_list
List Server Sizes Fetches available server sizes.
RubyApiPackCloudways::Api::CwLists.server_size_list
List Settings Retrieves a list of server settings.
RubyApiPackCloudways::Api::CwLists.setting_list