Class: Scim2::Filter::NoOpHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/scim2/filter/no_op_handler.rb

Overview

A no-op handler implementation which does nothing with parse events. Its primary is for validation where the parsed data is not needed.

Instance Method Summary collapse

Instance Method Details

#on_attribute_filter(attribute_path, value, context:, op:, schema: nil) ⇒ NilClass

Handle basic attribute comparison filters (e.g. preference.color eq "red")

Returns:

  • (NilClass)

15
# File 'lib/scim2/filter/no_op_handler.rb', line 15

def on_attribute_filter(attribute_path, value, context:, op:, schema: nil); end

#on_logical_filter(filter1, filter2, context:, op:) ⇒ NilClass

Handle logical filters (e.g. name.givenName sw "D" AND title co "VP")

Returns:

  • (NilClass)

19
# File 'lib/scim2/filter/no_op_handler.rb', line 19

def on_logical_filter(filter1, filter2, context:, op:); end

#on_nested_filter(attribute_path, filter, context:, schema: nil) ⇒ NilClass

Handle sub filters (e.g. emails[type eq "work"])

Returns:

  • (NilClass)

23
# File 'lib/scim2/filter/no_op_handler.rb', line 23

def on_nested_filter(attribute_path, filter, context:, schema: nil); end

#on_not_filter(filter, context:) ⇒ NilClass

Handle NOT filters (e.g. not (color eq "red"))

Returns:

  • (NilClass)

11
# File 'lib/scim2/filter/no_op_handler.rb', line 11

def on_not_filter(filter, context:); end