File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/hooks/plugins/handlers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Example < Hooks::Plugins::Handlers::Base
16
16
# Process a webhook payload
17
17
#
18
18
# @ 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 )
20
20
# @ param config [ Hash] Endpoint configuration
21
21
# @ return [ Hash] Response data
22
22
def call (payload: , headers: , config: )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class Base
15
15
# Process a webhook request
16
16
#
17
17
# @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 )
19
19
# @param config [Hash] Merged endpoint configuration including opts section (symbolized keys)
20
20
# @return [Hash, String, nil] Response body (will be auto-converted to JSON)
21
21
# @raise [NotImplementedError] if not implemented by subclass
You can’t perform that action at this time.
0 commit comments