Last active
September 14, 2017 20:30
-
-
Save giovannibenussi/2dd50d9ebf07b5d2ff74a7d9326f893a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resolve lambda { |_, args, _| | |
Validators::Model.validate!(args) | |
Model.find_by(address: args[:address], name: args[:name]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment