Class: SDM::CyberarkConjurStore
- Inherits:
-
Object
- Object
- SDM::CyberarkConjurStore
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#appurl ⇒ Object
The URL of the Cyberark instance.
-
#id ⇒ Object
Unique identifier of the SecretStore.
-
#name ⇒ Object
Unique human-readable name of the SecretStore.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
Instance Method Summary collapse
-
#initialize(appurl: nil, id: nil, name: nil, tags: nil) ⇒ CyberarkConjurStore
constructor
A new instance of CyberarkConjurStore.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(appurl: nil, id: nil, name: nil, tags: nil) ⇒ CyberarkConjurStore
Returns a new instance of CyberarkConjurStore.
5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 |
# File 'lib/models/porcelain.rb', line 5740 def initialize( appurl: nil, id: nil, name: nil, tags: nil ) @appurl = appurl == nil ? "" : appurl @id = id == nil ? "" : id @name = name == nil ? "" : name = == nil ? SDM::() : end |
Instance Attribute Details
#appurl ⇒ Object
The URL of the Cyberark instance
5732 5733 5734 |
# File 'lib/models/porcelain.rb', line 5732 def appurl @appurl end |
#id ⇒ Object
Unique identifier of the SecretStore.
5734 5735 5736 |
# File 'lib/models/porcelain.rb', line 5734 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
5736 5737 5738 |
# File 'lib/models/porcelain.rb', line 5736 def name @name end |
#tags ⇒ Object
Tags is a map of key, value pairs.
5738 5739 5740 |
# File 'lib/models/porcelain.rb', line 5738 def end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5752 5753 5754 5755 5756 5757 5758 |
# File 'lib/models/porcelain.rb', line 5752 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |