Skip to content

Confusing documentation of body method for action #35

@BrianMehrman

Description

@BrianMehrman

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions