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.
5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 |
# File 'lib/models/porcelain.rb', line 5401 def initialize( appurl: nil, id: nil, name: nil, tags: nil ) @appurl = appurl == nil ? "" : appurl @id = id == nil ? "" : id @name = name == nil ? "" : name @tags = == nil ? SDM::() : end |
Instance Attribute Details
#appurl ⇒ Object
The URL of the Cyberark instance
5393 5394 5395 |
# File 'lib/models/porcelain.rb', line 5393 def appurl @appurl end |
#id ⇒ Object
Unique identifier of the SecretStore.
5395 5396 5397 |
# File 'lib/models/porcelain.rb', line 5395 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
5397 5398 5399 |
# File 'lib/models/porcelain.rb', line 5397 def name @name end |
#tags ⇒ Object
Tags is a map of key, value pairs.
5399 5400 5401 |
# File 'lib/models/porcelain.rb', line 5399 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5413 5414 5415 5416 5417 5418 5419 |
# File 'lib/models/porcelain.rb', line 5413 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 |