This repository was archived by the owner on Oct 22, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ def http_server_bind_port
4242 # @param params [Hash] the query string parameters.
4343 # @param headers [Hash] the HTTP headers.
4444 # @return [String, Hash] if a string is returned, it will be used as the response body
45- # to send to the client. If a {Hash} is returned, it should contain the keys:
45+ # to send to the client. If a hash is returned, it should contain the keys:
4646 # * +:body+ - the body text of the response.
4747 # * +:type+ - the MIME type of the response.
48- # * +:headers+ - a {Hash} of header keys and values.
48+ # * +:headers+ - a hash of header keys and values.
4949 def on_http_request ( path , params , headers )
5050 end
5151
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ def initialize
2323 ] )
2424 end
2525
26+ # @return [Boolean] true if the export path option is required.
2627 def export_path_required
2728 false
2829 end
@@ -69,7 +70,7 @@ def export_path
6970 end
7071
7172 # Validate the contents of the requested file.
72- # @param [String] the file contents.
73+ # @param content [String] the file contents.
7374 # @return [Boolean] true if valid.
7475 def validate_content ( content )
7576 true
You can’t perform that action at this time.
0 commit comments