0.0
No commit activity in last 3 years
No release in over 3 years
An unofficial Tencent Qcloud API SDK for Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.14
~> 5.0
~> 10.0
 Project Readme

An unofficial Tencent Qcloud API SDK for Ruby

安装

gem install qcloud_ruby

使用

  1. 使用之前请在腾讯云的云 API 控制台中创建自己的安全凭证(SecretId 和 SecretKey). SecretKey 要严格保管, 避免泄露.
  2. 安装并引入本 SDK.

示例

::QcloudRuby.configure do |config|
  config.secret_id = 'Secret id'
  config.secret_key = 'Secret key'
end

resp = ::QcloudRuby.post(
  service_type: ::QcloudRuby::ServiceType::ACCOUNT,
  region: 'gz',
  action: 'DescribeProject'
)

resp = ::QcloudRuby.get(
  service_type: ::QcloudRuby::ServiceType::CVM,
  region: 'gz',
  action: 'DescribeInstances'
)

SDK API

请访问 api.md

资源