Skip to content

Commit baac38a

Browse files
committed
Document what options hash is
1 parent 265ee9d commit baac38a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/chatops/controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def jsonrpc_params
5656
params["params"] || {}
5757
end
5858

59+
# `options` supports any of the optional fields documented
60+
# in the [protocol](../../docs/protocol-description.md).
5961
def jsonrpc_success(message, options: {})
6062
response = { :result => message.to_s }
6163
# do not allow options to override message

0 commit comments

Comments
 (0)