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.38 lib/shelly/client/cert.rb
shelly-0.4.37 lib/shelly/client/cert.rb
shelly-0.4.36 lib/shelly/client/cert.rb
shelly-0.4.35 lib/shelly/client/cert.rb
shelly-0.4.34 lib/shelly/client/cert.rb
shelly-0.4.33 lib/shelly/client/cert.rb
shelly-0.4.32 lib/shelly/client/cert.rb
shelly-0.4.31 lib/shelly/client/cert.rb
shelly-0.4.30 lib/shelly/client/cert.rb
shelly-0.4.29 lib/shelly/client/cert.rb
shelly-0.4.29.pre lib/shelly/client/cert.rb
shelly-0.4.28 lib/shelly/client/cert.rb
shelly-0.4.28.pre2 lib/shelly/client/cert.rb
shelly-0.4.28.pre lib/shelly/client/cert.rb
shelly-0.4.27 lib/shelly/client/cert.rb
shelly-0.4.26 lib/shelly/client/cert.rb
shelly-0.4.26.pre lib/shelly/client/cert.rb
shelly-0.4.25 lib/shelly/client/cert.rb
shelly-0.4.24 lib/shelly/client/cert.rb
shelly-0.4.23 lib/shelly/client/cert.rb