Class: Mural::Widget::CreateTableCellParams

Inherits:
Object
  • Object
show all
Includes:
Codec
Defined in:
lib/mural/widget/create_table_cell_params.rb

Constant Summary collapse

Style =
Mural::Widget::TableCell::Style
TextContent =
Mural::Widget::TableCell::TextContent

Instance Method Summary collapse

Methods included from Codec

included

Instance Method Details

#encodeObject



30
31
32
33
34
35
# File 'lib/mural/widget/create_table_cell_params.rb', line 30

def encode
  super.tap do |json|
    json['style'] = json['style']&.encode
    json['textContent'] = json['textContent']&.encode
  end.compact
end