Class: Utils::Notion::FetchDatabaseRecord
- Inherits:
-
Object
- Object
- Utils::Notion::FetchDatabaseRecord
- Defined in:
- lib/bas/utils/notion/fetch_database_record.rb
Overview
This module is a Notion utility for fetching record from a database.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(options) ⇒ FetchDatabaseRecord
constructor
Implements the fetch page process logic to Notion.
Constructor Details
#initialize(options) ⇒ FetchDatabaseRecord
Implements the fetch page process logic to Notion.
Params:
-
database_id
Id of the notion database. -
secret
Notion secret. -
body
Body with the filters.
returns HTTParty::Response
24 25 26 |
# File 'lib/bas/utils/notion/fetch_database_record.rb', line 24 def initialize() @options = end |