Method: Decanter::Core::ClassMethods#required_inputs

Defined in:
lib/decanter/core.rb

#required_inputsObject



72
73
74
75
76
77
# File 'lib/decanter/core.rb', line 72

def required_inputs
  handlers.map do |h|
    options = h.last[:options]
    h.first.first if options && options[:required]
  end  
end