Method: NotionAPI::PageBlock#get_block
- Defined in:
- lib/notion_api/notion_types/page_block.rb
#get_block(url_or_id) ⇒ Object
17 18 19 20 21 |
# File 'lib/notion_api/notion_types/page_block.rb', line 17 def get_block(url_or_id) # ! retrieve a Notion Block and return its instantiated class object. # ! url_or_id -> the block ID or URL : ``str`` get(url_or_id) end |