Module: NotionRuby::API::Blocks

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

Defined Under Namespace

Modules: Children Classes: Proxy

Instance Method Summary collapse

Instance Method Details

#blocks(id, params = {}) ⇒ Object



21
22
23
# File 'lib/notion_ruby/api/blocks.rb', line 21

def blocks(id, params = {})
  Proxy.new(connection, "/v1/blocks/#{id}", params)
end