Sha256: a0dadb3df0bf06e9463e8d17d6fd78cf9eaee3393b4bab9926957fa8b35f7ae1
Contents?: true
Size: 700 Bytes
Versions: 9
Compression:
Stored size: 700 Bytes
Contents
module Formalist module RichText class EmbeddedFormsContainer class Registration DEFAULT_INPUT_PROCESSOR = -> input { input }.freeze attr_reader :label attr_reader :form attr_reader :schema attr_reader :input_processor def initialize(label:, form:, schema:, input_processor: DEFAULT_INPUT_PROCESSOR) @label = label @form = form @schema = schema @input_processor = input_processor end def to_h { label: label, form: form, schema: schema, input_processor: input_processor, } end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems