Background - I have a model, say Door, that has a state of open or closed. I encapsulate the behaviour of opening the door in a method #open on each instance (And I also have a #close equivalent).
But what's the best way to expose this in a RESTful way? What should my route be?
It is an UPDATE to Door instance, but what should I UPDATE with?
Cheers, Gordon