Method: SDM::RoleGetResponse#to_json
- Defined in:
- lib/models/porcelain.rb
#to_json(options = {}) ⇒ Object
6291 6292 6293 6294 6295 6296 6297 |
# File 'lib/models/porcelain.rb', line 6291 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 |