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
5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 |
# File 'lib/models/porcelain.rb', line 5408 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
5400 5401 5402 |
# File 'lib/models/porcelain.rb', line 5400 def appurl @appurl end |
#id ⇒ Object
Unique identifier of the SecretStore.
5402 5403 5404 |
# File 'lib/models/porcelain.rb', line 5402 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
5404 5405 5406 |
# File 'lib/models/porcelain.rb', line 5404 def name @name end |
#tags ⇒ Object
Tags is a map of key, value pairs.
5406 5407 5408 |
# File 'lib/models/porcelain.rb', line 5406 def end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5420 5421 5422 5423 5424 5425 5426 |
# File 'lib/models/porcelain.rb', line 5420 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 |