class Kentico::Kontent::Delivery::QueryParameters::Filter

Provides the base class for filter implementations. See developer.kenticocloud.com/v1/reference#content-filtering

Public Class Methods

new(key, operator, values, eq_sign = true) click to toggle source

Constructor.

  • Args:

    • key (string) The field to filter upon

    • operator (string) The Kentico Kontent filter being applied to the field, in brackets

    • values (Object) One or more values which will appear as the value of the query string parameter

    • eq_sign (boolean) If false, the equals sign is not generated in the parameter

Calls superclass method
# File lib/delivery/query_parameters/filters.rb, line 17
def initialize(key, operator, values, eq_sign = true)
  super(key, operator, values, eq_sign)
end