Class: SAML2::Conditions::OneTimeUse

Inherits:
Condition
  • Object
show all
Defined in:
lib/saml2/conditions.rb

Instance Method Summary collapse

Instance Method Details

#build(builder) ⇒ Object



71
72
73
# File 'lib/saml2/conditions.rb', line 71

def build(builder)
  builder['saml'].OneTimeUse
end

#valid?(_) ⇒ Boolean

Returns:

  • (Boolean)


67
68
69
# File 'lib/saml2/conditions.rb', line 67

def valid?(_)
  :valid
end