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
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: )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments