lib/rsaml/conditions.rb
def validate
      if not_before && not_on_or_after && not_before >= not_on_or_after
        raise ValidationError, "NotBefore after NotOnOrAfter"
      end
    end
# Validate the structure of the conditions model
Validate the structure of the conditions model
Validate the structure of the conditions model
def validate
      if not_before && not_on_or_after && not_before >= not_on_or_after
        raise ValidationError, "NotBefore after NotOnOrAfter"
      end
    end
def validate if not_before && not_on_or_after && not_before >= not_on_or_after raise ValidationError , "NotBefore after NotOnOrAfter" end end
Validate the structure of the conditions model
Validate the structure of the conditions model