lib/toycol/templates/protocol.txt in toycol-0.3.0 vs lib/toycol/templates/protocol.txt in toycol-0.3.1

- old
+ new

@@ -6,14 +6,14 @@ # GET /posts?user_id=1 # [OPTIONAL] You can define your additional request methods: # For example: - # additional_request_methods OTHER + # additional_request_methods "OTHER" # [OPTIONAL] You can define your own response status code: # For example: - # define_status_codes( + # custom_status_codes( # 600 => "I'm afraid you are not a duck..." # ) # [REQUIRED] Define how you parse request path from request message request.path do |message|