Class: Promethee::StructureUpgrader::Components::Blockquote
- Defined in:
- app/services/promethee/structure_upgrader/components/blockquote.rb
Instance Method Summary collapse
Methods inherited from Base
#initialize, #upgrade, #upgraded_data
Constructor Details
This class inherits a constructor from Promethee::StructureUpgrader::Components::Base
Instance Method Details
#upgraded_attributes ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'app/services/promethee/structure_upgrader/components/blockquote.rb', line 15 def upgraded_attributes { 'body' => { 'searchable' => true, 'translatable' => true, 'type' => 'text', 'value' => attribute('searchable_body'), }, 'author' => { 'searchable' => true, 'translatable' => false, 'type' => 'string', 'value' => string_attribute('searchable_author') } } end |