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



69
70
71
# File 'lib/saml2/conditions.rb', line 69

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

#valid?(_) ⇒ Boolean

Returns:

  • (Boolean)


65
66
67
# File 'lib/saml2/conditions.rb', line 65

def valid?(_)
  :valid
end