Class: OracleCloud::SSHKey

Inherits:
Asset
  • Object
show all
Defined in:
lib/oraclecloud/sshkey.rb

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

#enabledObject



24
25
26
# File 'lib/oraclecloud/sshkey.rb', line 24

def enabled
  asset_data['enabled']
end

#keyObject



28
29
30
# File 'lib/oraclecloud/sshkey.rb', line 28

def key
  asset_data['key']
end

#local_initObject



20
21
22
# File 'lib/oraclecloud/sshkey.rb', line 20

def local_init
  @asset_type = 'sshkey'
end