Hello. As far as I can see, you have annotated the transitions
class with the new
method, which returns an new instance of transitions
. But the start_transition
method is a part of the instance
table, not to the transitions
class. So if you returns the transitions
class then it’s okay that it doesn’t have methods of a table not related to the class.
But what exactly do you want to do, a module that creates instances of a class or something else?