Class: FamilyappSdk::WebhookController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- FamilyappSdk::WebhookController
- Defined in:
- app/controller/familyapp_sdk/webhook_controller.rb
Instance Method Summary collapse
Instance Method Details
#ensure_request_authorized ⇒ Object
3 4 5 |
# File 'app/controller/familyapp_sdk/webhook_controller.rb', line 3 def head :unauthorized if token_from_header != ::FamilyappSdk.config.verify_token end |