lib/megam/core/scmm/scmmaccount.rb
def to_hash
      index_hash = Hash.new
      index_hash["json_claz"] = self.class.name
      index_hash["creationDate"] = creationDate
      index_hash["admin"] = admin
      index_hash["type"] = type
      index_hash["password"] = password
      index_hash["name"] = name
      index_hahs["mail"] = mail
      index_hash["displayName"] = displayName
      index_hash["lastModified"] = lastModified
      index_hash["active"] = active
      index_hash["some_msg"] = some_msg
      index_hash
    end
def to_hash
      index_hash = Hash.new
      index_hash["json_claz"] = self.class.name
      index_hash["creationDate"] = creationDate
      index_hash["admin"] = admin
      index_hash["type"] = type
      index_hash["password"] = password
      index_hash["name"] = name
      index_hahs["mail"] = mail
      index_hash["displayName"] = displayName
      index_hash["lastModified"] = lastModified
      index_hash["active"] = active
      index_hash["some_msg"] = some_msg
      index_hash
    end
def to_hash index_hash = Hash . new index_hash [ "json_claz" ] = self . class . name index_hash [ "creationDate" ] = creationDate index_hash [ "admin" ] = admin index_hash [ "type" ] = type index_hash [ "password" ] = password index_hash [ "name" ] = name index_hahs [ "mail" ] = mail index_hash [ "displayName" ] = displayName index_hash [ "lastModified" ] = lastModified index_hash [ "active" ] = active index_hash [ "some_msg" ] = some_msg index_hash end
Transform the ruby obj ->  to a Hash
Transform the ruby obj - > to a Hash