Module: NotionRubyMapping::IsEmptyIsNotEmpty

Overview

module for make query of is_empty and is_not_empty

Instance Method Summary collapse

Instance Method Details

#filter_is_empty(rollup = nil, rollup_type = nil) ⇒ NotionRubyMapping::Query



221
222
223
# File 'lib/notion_ruby_mapping/property.rb', line 221

def filter_is_empty(rollup = nil, rollup_type = nil)
  make_filter_query "is_empty", true, rollup, rollup_type
end

#filter_is_not_empty(rollup = nil, rollup_type = nil) ⇒ NotionRubyMapping::Query



226
227
228
# File 'lib/notion_ruby_mapping/property.rb', line 226

def filter_is_not_empty(rollup = nil, rollup_type = nil)
  make_filter_query "is_not_empty", true, rollup, rollup_type
end