Class: GatherContent::Config::Element::Files
- Defined in:
- lib/gather_content/config/elements/files.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Attributes inherited from Base
#label, #microcopy, #name, #required
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from GatherContent::Config::Element::Base
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
7 8 9 |
# File 'lib/gather_content/config/elements/files.rb', line 7 def @options end |
Instance Method Details
#serialize(options = nil) ⇒ Object
9 10 11 12 13 |
# File 'lib/gather_content/config/elements/files.rb', line 9 def serialize( = nil) super.merge({ type: 'files' }) end |