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
42
42
# @param params [Hash] the query string parameters.
43
43
# @param headers [Hash] the HTTP headers.
44
44
# @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:
46
46
# * +:body+ - the body text of the response.
47
47
# * +: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.
49
49
def on_http_request ( path , params , headers )
50
50
end
51
51
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ def initialize
23
23
] )
24
24
end
25
25
26
+ # @return [Boolean] true if the export path option is required.
26
27
def export_path_required
27
28
false
28
29
end
@@ -69,7 +70,7 @@ def export_path
69
70
end
70
71
71
72
# Validate the contents of the requested file.
72
- # @param [String] the file contents.
73
+ # @param content [String] the file contents.
73
74
# @return [Boolean] true if valid.
74
75
def validate_content ( content )
75
76
true
You can’t perform that action at this time.
0 commit comments