Sha256: 7a61d117efcab3bfb9629c68b0f2d9c8b9860bb972d13a631aa43d80b1013bbc
Contents?: true
Size: 560 Bytes
Versions: 65
Compression:
Stored size: 560 Bytes
Contents
class Shelly::Client def app_configs(cloud) get("/apps/#{cloud}/configs") end def app_config(cloud, path) get("/apps/#{cloud}/configs/#{CGI.escape(path)}") end def app_create_config(cloud, path, content) post("/apps/#{cloud}/configs", :config => {:path => path, :content => content}) end def app_update_config(cloud, path, content) put("/apps/#{cloud}/configs/#{CGI.escape(path)}", :config => {:content => content}) end def app_delete_config(cloud, path) delete("/apps/#{cloud}/configs/#{CGI.escape(path)}") end end
Version data entries
65 entries across 65 versions & 1 rubygems