Sha256: ed5fc2ea528300fd9ed1ef2797236b34781b8009cc3e6fdee0615a0acea2aa16
Contents?: true
Size: 334 Bytes
Versions: 16
Compression:
Stored size: 334 Bytes
Contents
class Shelly::Client def maintenances(cloud) get("/apps/#{cloud}/maintenances") end def start_maintenance(cloud, attributes) post("/apps/#{cloud}/maintenances", :maintenance => attributes) end def finish_maintenance(cloud) put("/apps/#{cloud}/maintenances/last", :maintenance => {:finished => true}) end end
Version data entries
16 entries across 16 versions & 1 rubygems