lib/notion/api/endpoints/databases.rb
#
# Returns a paginated list of Databases objects for the workspace.
#
# @option options [UUID] :start_cursor
# Paginate through collections of data by setting the cursor parameter
# to a start_cursor attribute returned by a previous request's next_cursor.
# Default value fetches the first "page" of the collection.
# See pagination for more detail.
#
# @option options [integer] :page_size
#   The number of items from the full list desired in the response. Maximum: 100
Returns a paginated list of Databases objects for the workspace.
Returns a paginated list of Databases objects for the workspace .
def databases_list(options = {})
          if block_given?
            Pagination::Cursor.new(self, :databases_list, options).each do |page|
              yield page
            end
          else
            get('databases', options)
          end
        end
def databases_list ( options = { } ) if block_given? Pagination :: Cursor . new ( self , :databases_list , options ) . each do | page | yield page end else get ( 'databases' , options ) end end
Returns a paginated list of Databases objects for the workspace.
Returns a paginated list of Databases objects for the workspace .
options
:page_size The number of items from the full list desired in the response.
: page_size The number of items from the full list desired in the response .