class Bmc::Sdk::GetSSHKeys

GetSSHKeys command will list all SSH keys associated with an account

@see developers.phoenixnap.com/docs/bmc/1/routes/ssh-keys/get

Public Class Methods

new(client) click to toggle source
# File lib/commands.rb, line 191
def initialize(client)
  @client = client
end

Public Instance Methods

execute() click to toggle source
# File lib/commands.rb, line 195
def execute
  return @client.get(
    "#{Entrypoint}ssh-keys",
    headers: {'Content-Type': 'application/json'})
 end