module ParamsReady::Marshaller::HashSetMarshallers::ArrayMarshaller
Public Class Methods
canonicalize(definition, array, context, validator)
click to toggle source
# File lib/params_ready/marshaller/hash_set_marshallers.rb, line 70 def self.canonicalize(definition, array, context, validator) set = array.to_set SetMarshaller.canonicalize(definition, set, context, validator) end
marshal(parameter, intent)
click to toggle source
# File lib/params_ready/marshaller/hash_set_marshallers.rb, line 75 def self.marshal(parameter, intent) set = SetMarshaller.marshal(parameter, intent) set.to_a end