Method: SDM::WorkflowAssignment#to_json
- Defined in:
- lib/models/porcelain.rb
#to_json(options = {}) ⇒ Object
10066 10067 10068 10069 10070 10071 10072 |
# File 'lib/models/porcelain.rb', line 10066 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 |