Sha256: d09ea4d8da5899a8e60b096d65990d8431d860ec8a500f56a8c24e0d7fe8b621

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 Bytes

Contents

module Yaks
  class Mapper
    class Form
      class Config
        include Attributes.new(
                  name: nil,
                  action: nil,
                  title: nil,
                  method: nil,
                  media_type: nil,
                  fields: [],
                  dynamic_blocks: []
                )

        def dynamic(&blk)
          append_to(:dynamic_blocks, blk)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yaks-0.8.0.beta2 lib/yaks/mapper/form/config.rb
yaks-0.8.0.beta1 lib/yaks/mapper/form/config.rb
yaks-0.8.0.alpha lib/yaks/mapper/form/config.rb