class ResponderWithPutPatchDeleteContent
Public Instance Methods
api_behavior(*args, &block)
click to toggle source
Calls superclass method
# File lib/openstax/api/responder_with_put_patch_delete_content.rb, line 4 def api_behavior(*args, &block) return display resource, status: :ok if put? || (respond_to?(:patch?) && patch?) || delete? super end