Class: Utils::Notion::UpdateDatabasePage
- Inherits:
-
Object
- Object
- Utils::Notion::UpdateDatabasePage
- Defined in:
- lib/bas/utils/notion/update_db_page.rb
Overview
This module is a Notion utility for updating database properties.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(options) ⇒ UpdateDatabasePage
constructor
Implements the update database properties process logic to Notion.
Constructor Details
#initialize(options) ⇒ UpdateDatabasePage
Implements the update database properties process logic to Notion.
Params:
-
page_id
Id of the notion page. -
secret
Notion secret. -
body
Request body with the properties to be updated.
returns HTTParty::Response
24 25 26 |
# File 'lib/bas/utils/notion/update_db_page.rb', line 24 def initialize() @options = end |