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
16
17
18
|
# File 'lib/netbox_client_ruby/api/secrets/rsa_key_pair.rb', line 16
def private_key
get['private_key']
end
|
#public_key ⇒ Object
12
13
14
|
# File 'lib/netbox_client_ruby/api/secrets/rsa_key_pair.rb', line 12
def public_key
get['public_key']
end
|
#reload ⇒ Object
20
21
22
|
# File 'lib/netbox_client_ruby/api/secrets/rsa_key_pair.rb', line 20
def reload
@response = nil
end
|