Method: NotionRubyMapping::ColumnListBlock#block_json
- Defined in:
- lib/notion_ruby_mapping/blocks/column_list_block.rb
#block_json(not_update: true) ⇒ Hash{String (frozen)->Hash
Returns ].
26 27 28 29 30 31 |
# File 'lib/notion_ruby_mapping/blocks/column_list_block.rb', line 26 def block_json(not_update: true) ans = super ans[type] = {} ans[type]["children"] = @columns.map(&:block_json) if @columns ans end |