Class: NotionRuby::API::Databases::Proxy

Inherits:
ResourceProxy show all
Defined in:
lib/notion_ruby/api/databases.rb

Instance Attribute Summary

Attributes inherited from ResourceProxy

#connection, #id, #params, #path_prefix

Instance Method Summary collapse

Methods inherited from ResourceProxy

#build_prefix, #initialize, #method_missing, #raw, #respond_to_missing?, #subject

Methods included from CRUD

#create, #get, #patch

Constructor Details

This class inherits a constructor from NotionRuby::ResourceProxy

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class NotionRuby::ResourceProxy

Instance Method Details

#query(params) ⇒ Object



7
8
9
# File 'lib/notion_ruby/api/databases.rb', line 7

def query(params)
  connection.post("#{path_prefix}/query", params).body
end