文件名称:ruby-gem:用于 CloudAtCost v1 API 的简单 Ruby Gem
文件大小:12KB
文件格式:ZIP
更新时间:2024-07-01 00:33:05
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)