class SDM::VaultTokenStore
Attributes
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 \ , tags:nil \ )
click to toggle source
# File lib/models/porcelain.rb, line 7352 def initialize( id:nil \ , name:nil \ , server_address: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 tags != nil @tags = tags end end
Public Instance Methods
to_json(options={})
click to toggle source
# File lib/models/porcelain.rb, line 7374 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