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
This doesn't work (on the with-mongoid branch) for _post.
_post
require 'hyperclient' client = Hyperclient.new('http://localhost:9292/api') 3.times do |i| client.splines._post(spline: { name: i.to_s, reticulated: [true, false].sample }) end client.splines.each do |spline| puts "spline #{spline.id} #{spline.reticulated ? 'is' : 'is not'} reticulated" end client.splines.each(&:_delete)
The text was updated successfully, but these errors were encountered:
splines = client.splines while splines splines._embedded.splines.each do |spline| puts "spline #{spline.id} #{spline.reticulated ? 'is' : 'is not'} reticulated" end break unless splines._links[:next] splines = splines._links.next end
Sorry, something went wrong.
No branches or pull requests
This doesn't work (on the with-mongoid branch) for
_post
.The text was updated successfully, but these errors were encountered: