Class: NotionRubyMapping::FileBlock
- Inherits:
-
FileBaseBlock
- Object
- Base
- Block
- FileBaseBlock
- NotionRubyMapping::FileBlock
- Defined in:
- lib/notion_ruby_mapping/blocks/file_block.rb
Overview
Notion block
Instance Attribute Summary
Attributes inherited from FileBaseBlock
Attributes inherited from Block
#can_append, #can_have_children, #caption, #color, #language, #rich_text_array, #url
Attributes inherited from Base
#archived, #has_children, #id, #json
Instance Method Summary collapse
Methods inherited from FileBaseBlock
#block_json, #initialize, #url, #url=
Methods inherited from Block
#append_after, #block_json, #children_block_json, decode_block, #decode_block_caption, #decode_block_rich_text_array, #decode_color, #destroy, find, #initialize, type2class, #update, #update_block_json
Methods inherited from Base
#append_block_children, #assert_parent_children_pair, #assign_property, #block?, block_id, #children, #comments, create_from_json, #created_time, #database?, database_id, dry_run_script, #get, #icon, #initialize, #inspect, #json_properties, #last_edited_time, #new_record?, #page?, page_id, #parent, #parent_id, #properties, #property_values_json, #reload, #restore_from_json, #save, #set_icon, #synced_block_original?, #update_json
Constructor Details
This class inherits a constructor from NotionRubyMapping::FileBaseBlock
Instance Method Details
#type ⇒ String (frozen)
7 8 9 |
# File 'lib/notion_ruby_mapping/blocks/file_block.rb', line 7 def type "file" end |