lib/rsaml/conditions.rb
def assert_elements
      # Rule 1
      if conditions.empty? && audience_restrictions.empty? && proxy_restriction.nil? && one_time_use.nil?
        return
      end
      
      # Rule 2
      conditions.all { |c| c.assert }
      
      # Rule 3
      
      # Rule 4
    end
# Assert that the conditions evaluate to true
Assert that the conditions evaluate to true
Assert that the conditions evaluate to true
def assert_elements
      if conditions.empty? && audience_restrictions.empty? && proxy_restriction.nil? && one_time_use.nil?
        return
      end
      conditions.all { |c| c.assert }
    end
def assert_elements if conditions . empty? && audience_restrictions . empty? && proxy_restriction . nil? && one_time_use . nil? return end conditions . all { | c | c . assert } end
Assert that the conditions evaluate to true
Assert that the conditions evaluate to true
# Rule 1 # Rule 2 # Rule 3 # Rule 4