Method: SDM::RemoteIdentityCreateResponse#to_json

Defined in:
lib/models/porcelain.rb

#to_json(options = {}) ⇒ Object



12277
12278
12279
12280
12281
12282
12283
# File 'lib/models/porcelain.rb', line 12277

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