SyntaxFix
Write A Post
Hire A Developer
Questions
You want to call .name on the object's class:
result.class.name