We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd53891 + 798b385 commit 292976dCopy full SHA for 292976d
README.md
@@ -935,7 +935,7 @@ parameter, and the return value must match the given `type`.
935
936
```ruby
937
params do
938
- requires :passwd, type: String, coerce_with: Base64.method(:decode)
+ requires :passwd, type: String, coerce_with: Base64.method(:decode64)
939
requires :loud_color, type: Color, coerce_with: ->(c) { Color.parse(c.downcase) }
940
941
requires :obj, type: Hash, coerce_with: JSON do
0 commit comments