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
Given this resource:
module Xikolo module Wiki class Wiki < Acfs::Resource service Xikolo::Wiki::Client, path: '/:parent_resource/wikis' attribute :id, :uuid attribute :parent_resource, :string end end end
The destroy action does not work since it never even starts to track the parent_resource. E.g. it only adds the id:
def delete!(opts = {}) opts[:params] ||= {} opts[:params].merge! id: id operation :delete, opts do |data| update_with data freeze end end
And as a result the following error is raised: Cannot replace path argumentparent_resource' with empty string.`
Cannot replace path argument
Because the Location thingy can't extract that parameter to replace it, since the data is never handed to it.
Location
Try at a fix incoming.
The text was updated successfully, but these errors were encountered:
Fixed by #26
Sorry, something went wrong.
No branches or pull requests
Given this resource:
The destroy action does not work since it never even starts to track the parent_resource. E.g. it only adds the id:
And as a result the following error is raised:
Cannot replace path argument
parent_resource' with empty string.`Because the
Location
thingy can't extract that parameter to replace it, since the data is never handed to it.Try at a fix incoming.
The text was updated successfully, but these errors were encountered: