class SDM::VaultTLSStore
Attributes
ca_cert_path[RW]
client_cert_path[RW]
client_key_path[RW]
id[RW]
Unique identifier of the SecretStore.
name[RW]
Unique human-readable name of the SecretStore.
server_address[RW]
Public Class Methods
new( id: nil, name: nil, server_address: nil, ca_cert_path: nil, client_cert_path: nil, client_key_path: nil, tags: nil )
click to toggle source
# File lib/models/porcelain.rb, line 6794 def initialize( id: nil, name: nil, server_address: nil, ca_cert_path: nil, client_cert_path: nil, client_key_path: nil, tags: nil ) if id != nil @id = id end if name != nil @name = name end if server_address != nil @server_address = server_address end if ca_cert_path != nil @ca_cert_path = ca_cert_path end if client_cert_path != nil @client_cert_path = client_cert_path end if client_key_path != nil @client_key_path = client_key_path end if tags != nil @tags = tags end end
Public Instance Methods
to_json(options = {})
click to toggle source
# File lib/models/porcelain.rb, line 6826 def to_json(options = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end