Class: NotionRb::Api::QueryCollection

Inherits:
Get
  • Object
show all
Defined in:
lib/notion_rb/api/query_collection.rb

Constant Summary

Constants inherited from Base

Base::API_BASE_URL, Base::BASE_URL, Base::REDEFINE_EXCEPTION, Base::S3_URL_PREFIX, Base::S3_URL_PREFIX_ENCODED, Base::SIGNED_URL_PREFIX

Instance Method Summary collapse

Methods inherited from Get

#blocks, #call

Methods inherited from Base

#call, #success?

Constructor Details

#initialize(params) ⇒ QueryCollection

Returns a new instance of QueryCollection.



6
7
8
9
10
11
12
# File 'lib/notion_rb/api/query_collection.rb', line 6

def initialize(params)
  super

  @collection_id = params[:collection_id]
  @view_id = params[:view_id]
  @schema = nil
end