Class: Notion::Client
- Inherits:
-
Object
- Object
- Notion::Client
- Includes:
- Api::SearchMethods
- Defined in:
- lib/notion-sdk-ruby/client.rb
Instance Method Summary collapse
- #blocks ⇒ Notion::Api::BlocksMethods
- #databases ⇒ Notion::Api::DatabasesMethods
-
#initialize(token:, notion_version: "2022-02-22") ⇒ Client
constructor
A new instance of Client.
- #pages ⇒ Notion::Api::PagesMethods
- #users ⇒ Notion::Api::UsersMethods
Methods included from Api::SearchMethods
Constructor Details
Instance Method Details
#blocks ⇒ Notion::Api::BlocksMethods
21 22 23 |
# File 'lib/notion-sdk-ruby/client.rb', line 21 def blocks Api::BlocksMethods.new end |
#databases ⇒ Notion::Api::DatabasesMethods
11 12 13 |
# File 'lib/notion-sdk-ruby/client.rb', line 11 def databases Api::DatabasesMethods.new end |
#pages ⇒ Notion::Api::PagesMethods
26 27 28 |
# File 'lib/notion-sdk-ruby/client.rb', line 26 def pages Api::PagesMethods.new end |
#users ⇒ Notion::Api::UsersMethods
16 17 18 |
# File 'lib/notion-sdk-ruby/client.rb', line 16 def users Api::UsersMethods.new end |