Method: NotionRubyMapping::RichTextArray#create_from_json
- Defined in:
- lib/notion_ruby_mapping/controllers/rich_text_array.rb
#create_from_json(json = []) ⇒ Array
Returns RichTextArray.
58 59 60 |
# File 'lib/notion_ruby_mapping/controllers/rich_text_array.rb', line 58 def create_from_json(json = []) json.map { |rt_json| RichTextObject.create_from_json rt_json } end |