lib/fattureincloud_ruby_sdk/filter/filter.rb
def or_expression(expression)
      if @expression.nil? || expression.nil?
        raise 'Cannot create a disjunction with an empty expression.'
      end

      left = @expression
      right = expression
      @expression = Disjunction.new(left, right)
      self
    end
# Adds an OR expression to the filter.
# @param [Expression] expression The expression.
Adds an OR expression to the filter.
Adds an OR expression to the filter .
def or_expression(expression)
      if @expression.nil? || expression.nil?
        raise 'Cannot create a disjunction with an empty expression.'
      end
      left = @expression
      right = expression
      @expression = Disjunction.new(left, right)
      self
    end
def or_expression ( expression ) if @expression . nil? || expression . nil? raise 'Cannot create a disjunction with an empty expression.' end left = @expression right = expression @expression = Disjunction . new ( left , right ) self end
Adds an OR expression to the filter.
Adds an OR expression to the filter .
expression
expression The expression.
expression The expression .