-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
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
FmRest::Spyke::Base#destroy should return a boolean #12
Comments
@pilaf 2 questions:
which seems like a better response than
|
I don't, sorry :( is it OK to leave delete as is and have destroy return a boolean instead? Given how the code is written, I feel this would be a little cleaner/easier to implement. (And shouldn't destroy be the default way to delete a record anyway?) Ah, yes, good catch. I'll rename the issue. BTW, it may be a good idea to also freeze the record object after I also noticed that if you |
@turino On second thought, should |
Currently calling
.destroy
on a record will return a hash of parsed JSON (Spyke's default behavior), but it should return a boolean with success status instead.The text was updated successfully, but these errors were encountered: