Sha256: 96960f924d91a6965311716d9f5c973cc934297b6bc8f7783901fa83f10d61bd

Contents?: true

Size: 251 Bytes

Versions: 40

Compression:

Stored size: 251 Bytes

Contents

class Shelly::Client
  def add_ssh_key(ssh_key)
    post("/ssh_keys", :ssh_key => ssh_key)
  end

  def delete_ssh_key(fingerprint)
    delete("/ssh_keys/#{fingerprint}")
  end

  def ssh_key(fingerprint)
    get("/ssh_keys/#{fingerprint}")
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
shelly-0.5.7 lib/shelly/client/ssh_keys.rb
shelly-0.5.6 lib/shelly/client/ssh_keys.rb
shelly-0.5.5 lib/shelly/client/ssh_keys.rb
shelly-0.5.4 lib/shelly/client/ssh_keys.rb
shelly-0.5.3 lib/shelly/client/ssh_keys.rb
shelly-0.5.2 lib/shelly/client/ssh_keys.rb
shelly-0.5.1 lib/shelly/client/ssh_keys.rb
shelly-0.5.0 lib/shelly/client/ssh_keys.rb
shelly-0.4.42 lib/shelly/client/ssh_keys.rb
shelly-0.4.41 lib/shelly/client/ssh_keys.rb
shelly-0.4.40 lib/shelly/client/ssh_keys.rb
shelly-0.4.39 lib/shelly/client/ssh_keys.rb
shelly-0.4.38 lib/shelly/client/ssh_keys.rb
shelly-0.4.37 lib/shelly/client/ssh_keys.rb
shelly-0.4.36 lib/shelly/client/ssh_keys.rb
shelly-0.4.35 lib/shelly/client/ssh_keys.rb
shelly-0.4.34 lib/shelly/client/ssh_keys.rb
shelly-0.4.33 lib/shelly/client/ssh_keys.rb
shelly-0.4.32 lib/shelly/client/ssh_keys.rb
shelly-0.4.31 lib/shelly/client/ssh_keys.rb