Class: NotionOrbit::NotionObjects::BlockTypes::ToDo

Inherits:
NotionOrbit::NotionObjects::Block show all
Defined in:
lib/notion_orbit/notion_objects/block_types/to_do.rb

Instance Method Summary collapse

Methods inherited from NotionOrbit::NotionObjects::Block

#indent_children?, #initialize, new_from_raw_block, #notion_service

Constructor Details

This class inherits a constructor from NotionOrbit::NotionObjects::Block

Instance Method Details

#to_markdownObject



5
6
7
# File 'lib/notion_orbit/notion_objects/block_types/to_do.rb', line 5

def to_markdown
  "[#{@raw_block[@type].checked ? 'x' : ' '}] " + super + "\n"
end