Sha256: b5e4382e19732aa68106a9aceda52c41a2ac1c67d3597245b2edd7cf2c0fe29c
Contents?: true
Size: 846 Bytes
Versions: 18
Compression:
Stored size: 846 Bytes
Contents
module KirguduBase module DynamicPages class ListProperty < ::KirguduBase::DynamicPages::Property mergeable_attributes :sortable, :inplace_edit, :label, :output_control, :placeholder validates_inclusion_of :output_control, in: ::KirguduBase::DynamicPages::Enums::SUPPORTED_ENTRY_CONTROLS, allow_nil: true validates_inclusion_of :sortable, in: [:true, :false], allow_nil: true validates_inclusion_of :inplace_edit, in: [:true, :false], allow_nil: true def initialize(options = {}) options ||= {} self.sortable = :false self.inplace_edit = :false self.label = nil self.output_control = nil self.placeholder = nil super(options) end attr_accessor :sortable attr_accessor :inplace_edit attr_accessor :label attr_accessor :output_control attr_accessor :placeholder end end end
Version data entries
18 entries across 18 versions & 1 rubygems