Method: Grape::Validations::Types::CustomTypeCollectionCoercer#initialize
- Defined in:
- lib/grape/validations/types/custom_type_collection_coercer.rb
#initialize(type, set = false) ⇒ CustomTypeCollectionCoercer
A new coercer for collections of the given type.
32 33 34 35 |
# File 'lib/grape/validations/types/custom_type_collection_coercer.rb', line 32 def initialize(type, set = false) super(type) @set = set end |