Skip to content

Update README #72

@filipstefansson

Description

@filipstefansson

Maybe clarify that you can call methods on objects like this:

expose :categories, :using => CategoryEntity do | instance |
    instance.method_that_returns_categories(option_1, option_2)
end

Useful if you use a gem like ActsAsTaggableOn for tags, where you can't access the children by just calling parent.child.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions