-
-
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 installSet 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'
endBelow 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_listList Backup Frequencies Retrieves available backup frequency options.
RubyApiPackCloudways::Api::CwLists.backup_frequency_listList Countries Fetches a list of supported countries.
RubyApiPackCloudways::Api::CwLists.country_listList Monitor Durations Retrieves monitoring duration options.
RubyApiPackCloudways::Api::CwLists.monitor_duration_listList Monitor Targets Fetches available monitoring targets.
RubyApiPackCloudways::Api::CwLists.monitor_target_listList Packages Retrieves a list of available packages.
RubyApiPackCloudways::Api::CwLists.package_listList Providers Fetches a list of cloud providers.
RubyApiPackCloudways::Api::CwLists.provider_listList Regions Retrieves available regions.
RubyApiPackCloudways::Api::CwLists.region_listList Server Sizes Fetches available server sizes.
RubyApiPackCloudways::Api::CwLists.server_size_listList Settings Retrieves a list of server settings.
RubyApiPackCloudways::Api::CwLists.setting_list