When we created in BaseController in a previous commit we forgot that it
called params[:webhook] to compute the signing secret, when in reality
the params will be different based on the controller called. Therefore
we are adding in this commit a private method to each controller that
will be called instead.
At the same time, we've updated the specs to pass params that more
accurately reflect actual params being passed.
When we created in BaseController in a previous commit we forgot that it called
params[:webhook]
to compute the signing secret, when in reality the params will be different based on the controller called. Therefore we are adding in this commit a private method to each controller that will be called instead.At the same time, we've updated the specs to pass params that more accurately reflect actual params being passed.