Class: OracleCloud::SSHKey
Instance Attribute Summary
Attributes inherited from Asset
#asset_data, #asset_type, #client, #container, #path
Instance Method Summary collapse
Methods inherited from Asset
#fetch, #full_name, #id, #initialize, #name_with_container, #strip_identity_domain, #validate!
Constructor Details
This class inherits a constructor from OracleCloud::Asset
Instance Method Details
#enabled ⇒ Object
24 25 26 |
# File 'lib/oraclecloud/sshkey.rb', line 24 def enabled asset_data['enabled'] end |
#key ⇒ Object
28 29 30 |
# File 'lib/oraclecloud/sshkey.rb', line 28 def key asset_data['key'] end |
#local_init ⇒ Object
20 21 22 |
# File 'lib/oraclecloud/sshkey.rb', line 20 def local_init @asset_type = 'sshkey' end |