Class: Bmc::Sdk::GetSSHKeys
- Inherits:
-
Object
- Object
- Bmc::Sdk::GetSSHKeys
- Defined in:
- lib/commands.rb
Overview
GetSSHKeys command will list all SSH keys associated with an account
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(client) ⇒ GetSSHKeys
constructor
A new instance of GetSSHKeys.
Constructor Details
#initialize(client) ⇒ GetSSHKeys
Returns a new instance of GetSSHKeys.
191 192 193 |
# File 'lib/commands.rb', line 191 def initialize(client) @client = client end |
Instance Method Details
#execute ⇒ Object
195 196 197 198 199 |
# File 'lib/commands.rb', line 195 def execute return @client.get( "#{Entrypoint}ssh-keys", headers: {'Content-Type': 'application/json'}) end |