Sha256: 231325b297883de49d938f4f57fdf9d6504454cfacf96ea66858aee1d0306e66
Contents?: true
Size: 809 Bytes
Versions: 330
Compression:
Stored size: 809 Bytes
Contents
module Avo module Fields class TrixField < BaseField attr_reader :always_show attr_reader :attachments_disabled attr_reader :attachment_key attr_reader :hide_attachment_filename attr_reader :hide_attachment_filesize attr_reader :hide_attachment_url def initialize(id, **args, &block) super(id, **args, &block) hide_on :index @always_show = args[:always_show] || false @attachments_disabled = args[:attachments_disabled] || false @attachment_key = args[:attachment_key] @hide_attachment_filename = args[:hide_attachment_filename] || false @hide_attachment_filesize = args[:hide_attachment_filesize] || false @hide_attachment_url = args[:hide_attachment_url] || false end end end end
Version data entries
330 entries across 330 versions & 1 rubygems