class NotionRuby::API::Pages::Proxy

Public Instance Methods

create(params) click to toggle source
# File lib/notion_ruby/api/pages.rb, line 7
def create(params)
  connection.post(path_prefix, params).body
end
update(params) click to toggle source
# File lib/notion_ruby/api/pages.rb, line 11
def update(params)
  connection.patch(path_prefix, params).body
end