Module: Vscale::SSHKeys

Included in:
Api::Client
Defined in:
lib/vscale/api/sshkeys.rb

Instance Method Summary collapse

Instance Method Details

#sshkeysObject



3
4
5
# File 'lib/vscale/api/sshkeys.rb', line 3

def sshkeys
  get('sshkeys')
end

#sshkeys_delete(id) ⇒ Object



11
12
13
# File 'lib/vscale/api/sshkeys.rb', line 11

def sshkeys_delete(id)
  delete("sshkeys/#{id}")
end

#sshkeys_new(params) ⇒ Object



7
8
9
# File 'lib/vscale/api/sshkeys.rb', line 7

def sshkeys_new(params)
  post('sshkeys', params)
end