Class: NotionRubyMapping::Block

Inherits:
Base
  • Object
show all
Defined in:
lib/notion_ruby_mapping/block.rb

Overview

Notion block

Instance Attribute Summary

Attributes inherited from Base

#id, #json

Class Method Summary collapse

Methods inherited from Base

#[], #add_property_for_update, #assign_property, #children, #clear_object, create_from_json, #create_json, #icon, #initialize, #json_properties, #payload, #properties, #reload, #set_icon, #update_json

Constructor Details

This class inherits a constructor from NotionRubyMapping::Base

Class Method Details

.find(key) ⇒ Object



6
7
8
# File 'lib/notion_ruby_mapping/block.rb', line 6

def self.find(key)
  NotionCache.instance.block key
end