Module: NotionRuby::API::Search

Included in:
NotionRuby
Defined in:
lib/notion_ruby/api/search.rb

Defined Under Namespace

Classes: Proxy

Instance Method Summary collapse

Instance Method Details

#search(params = {}) ⇒ Object



9
10
11
12
# File 'lib/notion_ruby/api/search.rb', line 9

def search(params = {})
  path_prefix = "/v1/search"
  connection.post(path_prefix, params).body
end