Sha256: 4baf2f6870b3e40ade83055ebe7412f1489e8cad1db4cc25c77a646f8bfd0f97
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
module Notion module Endpoints module Databases def get_database(id) self.class.get("/v1/databases/#{id}") end def get_databases self.class.get("/v1/databases") end def query_database(id, body) self.class.post("/v1/databases/#{id}/query", body: body) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
notion-sdk-ruby-0.2.1 | lib/notion/endpoints/databases.rb |