![](https://secure.gravatar.com/avatar/0e15df2f07dd1b4c92f66a59ac480067.png?default=mp&rating=pg&size=250)
Jon Dalberg
Joined
7,110 Experience
71 Lessons Completed
0 Questions Solved
Activity
This is great to see but I'd prefer to put the "key" as an attribute on the class itself. Maybe Vultr::Plan::KEY or a class attribute. That way we merely pass in the "type" and the Collection can either access the "::KEY" or class attribute of the type.