Tried with a method name, and got method not found error.
Still getting my head around it, but it seems foreman interacts with the fog library through symbolic definitions for attributes and those methods get called elsewhere. let me know how right/wrong I am on that one.