Links (Block base class)
PageBlockCalloutBlockDividerBlockHeading1BlockImageBlockParagraphBlockTableOfContentsBlockToggleHeading2Block
DatabaseBookmarkBlockCodeBlockEmbedBlockHeading2BlockLinkPreviewBlockPdfBlockToDoBlockToggleHeading3Block
1. Class methods
self.new(expression) → EquationBlock
- [PARAM] expression expression for equation.
self.new creates a EquationBlock object using a expression. 2. Instance methods
expression → String
expression returns the language string for EquationBlock.expression=(new_expression)
- [PARAM] new_expression new expression string
expression= updates the expression parameter for EquationBlock and sets update_block_key of the payload object.save(dry_run: false)
- [PARAM] dry_run: true if you want to create a verification script
save updates the Block object with update block API. The updated object has block information generated from the JSON response.Block.find(id, dry_run: true) creates a shell script using Retrieve a block API for verification.rich_text_array → RichTextArray
rich_text_array returns the rich_text parameter of BulletedListItemBlock.