Method: NotionRubyMapping::Heading3Block#block_json

Defined in:
lib/notion_ruby_mapping/blocks/heading3_block.rb

#block_json(not_update: true) ⇒ Hash{String (frozen)->Hash

Returns ].

Parameters:

  • not_update (Boolean) (defaults to: true)

    false when update

Returns:

  • (Hash{String (frozen)->Hash)

    ]



20
21
22
23
24
# File 'lib/notion_ruby_mapping/blocks/heading3_block.rb', line 20

def block_json(not_update: true)
  ans = super
  ans[type]["is_toggleable"] = false
  ans
end