ruby-gem:用于 CloudAtCost v1 API 的简单 Ruby Gem

时间:2021-06-11 06:46:25
【文件属性】:
文件名称:ruby-gem:用于 CloudAtCost v1 API 的简单 Ruby Gem
文件大小:12KB
文件格式:ZIP
更新时间:2021-06-11 06:46:25
Ruby 云计算成本 用于 CloudAtCost API 的简单 Ruby Gem 安装 安装 gem gem install cac 需要Ruby require 'cac' 用法 # 123456 = serverid a = Cac . new ( credentials [ :key ] , credentials [ :login ] ) # info a . servers a . templates a . tasks # actions a . power ( "poweroff" , 123456 ) # poweroff, poweron, reset a . console ( 123456 ) a . rename ( 123456 , "localhost" ) a . rdns ( 123456 , "localhost.example.com" ) # clo
【文件预览】:
ruby-gem-master
----cac.gemspec(958B)
----LICENSE.txt(1KB)
----lib()
--------cac.rb(2KB)
--------cac()
----Gemfile(87B)
----Rakefile(104B)
----README.md(862B)
----cac-0.0.7.gem(12KB)
----.gitignore(118B)

网友评论