Module: NotionRubyMapping::GreaterThanLessThan

Included in:
FormulaProperty, NumberProperty, RollupProperty
Defined in:
lib/notion_ruby_mapping/property.rb

Overview

module for make query of starts_with and ends_with

Instance Method Summary collapse

Instance Method Details

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



237
238
239
# File 'lib/notion_ruby_mapping/property.rb', line 237

def filter_greater_than(value, rollup = nil, rollup_type = nil)
  make_filter_query "greater_than", value, rollup, rollup_type
end

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



249
250
251
# File 'lib/notion_ruby_mapping/property.rb', line 249

def filter_greater_than_or_equal_to(value, rollup = nil, rollup_type = nil)
  make_filter_query "greater_than_or_equal_to", value, rollup, rollup_type
end

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



243
244
245
# File 'lib/notion_ruby_mapping/property.rb', line 243

def filter_less_than(value, rollup = nil, rollup_type = nil)
  make_filter_query "less_than", value, rollup, rollup_type
end

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



255
256
257
# File 'lib/notion_ruby_mapping/property.rb', line 255

def filter_less_than_or_equal_to(value, rollup = nil, rollup_type = nil)
  make_filter_query "less_than_or_equal_to", value, rollup, rollup_type
end