phacks / notion-ruby-client

A Ruby client for the Notion API
MIT License
122 stars 26 forks source link

Added page_id as a legal parent when creating a page. Updated NOTION… #46

Closed TABeauchat closed 1 year ago

TABeauchat commented 1 year ago

Previously pages could only be created using a database id as the parent. The Notion API also allows for a page id. This PR adds support for the page_id as a parent page. Additionally updated the NOTION API version supported.

TABeauchat commented 1 year ago

Addresses issue: https://github.com/orbit-love/notion-ruby-client/issues/43

TABeauchat commented 1 year ago

Added spec for the new case.

phacks commented 1 year ago

All good on my end, thanks a lot! I’ll cut version 1.2.1 in a few minutes.