Method: Parse::Webhooks.call
- Defined in:
- lib/parse/webhooks.rb
.call(env) ⇒ Array
Standard Rack call method. This method processes an incoming cloud code webhook request from Parse Server, validates it and executes any registered handlers for it. The result of the handler for the matching webhook request is sent back to Parse Server. If the handler raises a ResponseError, it will return the proper error response.
230 231 232 233 |
# File 'lib/parse/webhooks.rb', line 230 def call(env) # Thraed safety dup.call!(env) end |