Class: NetboxClientRuby::Secrets::RSAKeyPair
- Inherits:
-
Object
- Object
- NetboxClientRuby::Secrets::RSAKeyPair
show all
- Includes:
- Communication
- Defined in:
- lib/netbox_client_ruby/api/secrets/rsa_key_pair.rb
Constant Summary
collapse
- PATH =
'/api/secrets/generate-rsa-key-pair/'.freeze
Instance Method Summary
collapse
#connection, #hash_to_object, #response
Instance Method Details
#private_key ⇒ Object
14
15
16
|
# File 'lib/netbox_client_ruby/api/secrets/rsa_key_pair.rb', line 14
def private_key
get['private_key']
end
|
#public_key ⇒ Object
10
11
12
|
# File 'lib/netbox_client_ruby/api/secrets/rsa_key_pair.rb', line 10
def public_key
get['public_key']
end
|
#reload ⇒ Object
18
19
20
|
# File 'lib/netbox_client_ruby/api/secrets/rsa_key_pair.rb', line 18
def reload
@response = nil
end
|