Module: Notion::Api::SearchMethods
Instance Method Summary collapse
-
#search(body) ⇒ Array
Searches all original pages, databases, and child pages/databases that are shared with the integration.
Instance Method Details
#search(body) ⇒ Array
Searches all original pages, databases, and child pages/databases that are shared with the integration. developers.notion.com/reference/post-search
11 12 13 14 |
# File 'lib/notion-sdk-ruby/api/search.rb', line 11 def search(body) response = post("/v1/search", body.to_json) List.new(response.body) end |