grape
https://github.com/intridea/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
Grape::Validations::Types::CustomTypeCollectionCoercer#success?
This method is called from somewhere within +Virtus::Attribute::value_coerced?+ in order to assert that the all of the values in the array have been coerced successfully.
Edit
git clone [email protected]:intridea/grape.git
cd grape
open lib/grape/validations/types/custom_type_collection_coercer.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Grape--Validations--Types--CustomTypeCollectionCoercer-success--for-pr
# Commit to gitgit add lib/grape/validations/types/custom_type_collection_coercer.rbgit commit -m "better docs for Grape::Validations::Types::CustomTypeCollectionCoercer#success?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Grape--Validations--Types--CustomTypeCollectionCoercer-success--for-pr
hub pull-request
# Celebrate!