Skip to content

Support returning a Hash #73

@amayer171

Description

@amayer171

It would be helpful in some cases to return a hash.

This is already possible with the prepare method. https://github.com/procore/blueprinter/blob/master/lib/blueprinter/base.rb#L141 but it is listed as private and does not support the same interface as render.

Suggested method signature could be render_as_hash(object, options = {})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions