Upgrade to Pro — share decks privately, control downloads, hide ads and more …

dry-validations

 dry-validations

Krzysztof Wawer

September 23, 2016
Tweet

More Decks by Krzysztof Wawer

Other Decks in Programming

Transcript

  1. Our API • Roda • ROM (Ruby Object Mapper) •

    JSON API standard (http://jsonapi.org)
  2. Predicate Logic • and ( & ) • or (

    | ) Dry::Validation.Schema do required(:age) { int? & gt?(18) } end