Class: NetboxClientRuby::Secrets::RSAKeyPair
- Inherits:
-
Object
- Object
- NetboxClientRuby::Secrets::RSAKeyPair
- Includes:
- Communication
- Defined in:
- lib/netbox_client_ruby/api/secrets/rsa_key_pair.rb
Constant Summary collapse
- PATH =
'/api/secrets/generate-rsa-key-pair/'
Instance Method Summary collapse
Methods included from Communication
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 |