Method: SDM::SecretEngineListResponse#to_json

Defined in:
lib/models/porcelain.rb

#to_json(options = {}) ⇒ Object



13786
13787
13788
13789
13790
13791
13792
# File 'lib/models/porcelain.rb', line 13786

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