Sha256: 7c76974719c13de99c4bc0846930f774f668bff4860e169b376ed76cc136d651
Contents?: true
Size: 611 Bytes
Versions: 3
Compression:
Stored size: 611 Bytes
Contents
module KirguduBase class DynamicPages::ListCell < ::KirguduBase::DynamicPages::PageElement mergeable_attributes :label, :properties, :format validates_presence_of :label def initialize(options = {}) self.label = nil self.properties = nil super(options) end attr_accessor :label attr_accessor :properties attr_accessor :format def to_external_hash(options = {}) options ||= {} options.merge!({ label: self.label, format: self.format, properties: self.properties }) super(options) end end end
Version data entries
3 entries across 3 versions & 1 rubygems