Module: NotionRubyMapping::EqualsDoesNotEqual
- Included in:
- CheckboxProperty, EmailProperty, NumberProperty, PhoneNumberProperty, SelectProperty, StatusProperty, TextProperty, UniqueIdProperty, UrlProperty
- Defined in:
- lib/notion_ruby_mapping/properties/property.rb
Overview
module for make query of equals and does_not_equal
Instance Method Summary collapse
-
#filter_does_not_equal(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Generated Query object.
-
#filter_equals(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Generated Query object.
Instance Method Details
#filter_does_not_equal(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
256 257 258 |
# File 'lib/notion_ruby_mapping/properties/property.rb', line 256 def filter_does_not_equal(value, condition: nil, another_type: nil) make_filter_query "does_not_equal", value, condition: condition, another_type: another_type end |
#filter_equals(value, condition: nil, another_type: nil) ⇒ NotionRubyMapping::Query
Returns generated Query object.
247 248 249 |
# File 'lib/notion_ruby_mapping/properties/property.rb', line 247 def filter_equals(value, condition: nil, another_type: nil) make_filter_query "equals", value, condition: condition, another_type: another_type end |