I notices the documentation for how to use the body method of an action had a comment about generating a response body. Looking at the code this method appears to be used to generate the request body.
body { |object| DropletMapping.representation_for(:create, object) } # Generate a response body from a passed object
Is this comment correct or should it say something more on the lines of Generate a request body...
I notices the documentation for how to use the body method of an action had a comment about generating a response body. Looking at the code this method appears to be used to generate the request body.
Is this comment correct or should it say something more on the lines of
Generate a request body...