Sha256: b3f905f5af4fbc005e05b84b6e17f4681c7981e700ad414d835f77278fef0459

Contents?: true

Size: 325 Bytes

Versions: 36

Compression:

Stored size: 325 Bytes

Contents

class Shelly::Client
  def cert(cloud)
    get("/apps/#{cloud}/cert")
  end

  def create_cert(cloud, content, key)
    post("/apps/#{cloud}/cert", :cert => {:content => content, :key => key})
  end

  def update_cert(cloud, content, key)
    put("/apps/#{cloud}/cert", :cert => {:content => content, :key => key})
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
shelly-0.4.23.pre lib/shelly/client/cert.rb
shelly-0.4.22 lib/shelly/client/cert.rb
shelly-0.4.21 lib/shelly/client/cert.rb
shelly-0.4.19 lib/shelly/client/cert.rb
shelly-0.4.18 lib/shelly/client/cert.rb
shelly-0.4.17 lib/shelly/client/cert.rb
shelly-0.4.16 lib/shelly/client/cert.rb
shelly-0.4.15 lib/shelly/client/cert.rb
shelly-0.4.14 lib/shelly/client/cert.rb
shelly-0.4.13 lib/shelly/client/cert.rb
shelly-0.4.12 lib/shelly/client/cert.rb
shelly-0.4.11 lib/shelly/client/cert.rb
shelly-0.4.10 lib/shelly/client/cert.rb
shelly-0.4.9 lib/shelly/client/cert.rb
shelly-0.4.8 lib/shelly/client/cert.rb
shelly-0.4.7 lib/shelly/client/cert.rb