Class: Pwnix::Api::Client::Ssh
- Inherits:
-
Object
- Object
- Pwnix::Api::Client::Ssh
show all
- Includes:
- HTTParty, HTTPartyTime
- Defined in:
- lib/pwnix-api-client/system/ssh.rb
Instance Method Summary
collapse
#clear_errors, #errors, #has_errors?, included, #last_error, #safe_api_call
Instance Method Details
#public_key ⇒ Object
8
9
10
|
# File 'lib/pwnix-api-client/system/ssh.rb', line 8
def public_key
safe_api_call("/system/ssh/public_key")
end
|
#reset ⇒ Object
12
13
14
|
# File 'lib/pwnix-api-client/system/ssh.rb', line 12
def reset
safe_api_call("/system/ssh/reset")
end
|