Commit 8434de9a authored by Lin Jen-Shin's avatar Lin Jen-Shin

Use ```ruby rather than ```rb

parent 8518daab
......@@ -176,7 +176,7 @@ and returns appropriate error messages to the caller method.
Lastly, we register the validator using the line below:
```rb
```ruby
Grape::Validations.register_validator(<validator name as symbol>, ::API::Helpers::CustomValidators::<YourCustomValidatorClassName>)
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment