We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If i use representer with HAL links, i've got error because update! method is not set on LinkColection class
update!
def represent_collection(collection, *args) representer, dummy, options = parse_arguments({}, *args) decorator = representer.new(dummy) collection.map do |item| decorator.update!(item) decorator.to_hash(options) end end
So how to implement this ?
class Roar::Hypermedia::LinkCollection def update!(arr) # ... Implement here end end
The text was updated successfully, but these errors were encountered:
When exactly does that happen? Can you paste the code that uses Roar and the representer, pleeeeease?
Sorry, something went wrong.
No branches or pull requests
If i use representer with HAL links, i've got error because
update!
method is not set on LinkColection classSo how to implement this ?
The text was updated successfully, but these errors were encountered: