Skip to content

Commit a833696

Browse files
committed
comments
1 parent b9a6d83 commit a833696

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/handler_plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Example < Hooks::Plugins::Handlers::Base
1616
# Process a webhook payload
1717
#
1818
# @param payload [Hash, String] webhook payload (pure JSON with string keys)
19-
# @param headers [Hash] HTTP headers (string keys, optionally normalized)
19+
# @param headers [Hash] HTTP headers (string keys, optionally normalized - default is normalized)
2020
# @param config [Hash] Endpoint configuration
2121
# @return [Hash] Response data
2222
def call(payload:, headers:, config:)

lib/hooks/plugins/handlers/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Base
1515
# Process a webhook request
1616
#
1717
# @param payload [Hash, String] Parsed request body (JSON Hash) or raw string
18-
# @param headers [Hash] HTTP headers (symbolized keys by default)
18+
# @param headers [Hash] HTTP headers (string keys, optionally normalized - default is normalized)
1919
# @param config [Hash] Merged endpoint configuration including opts section (symbolized keys)
2020
# @return [Hash, String, nil] Response body (will be auto-converted to JSON)
2121
# @raise [NotImplementedError] if not implemented by subclass

0 commit comments

Comments
 (0)