Class: Saml::Elements::Conditions
- Inherits:
-
Object
- Object
- Saml::Elements::Conditions
- Includes:
- Base
- Defined in:
- lib/saml/elements/conditions.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Conditions
constructor
A new instance of Conditions.
Constructor Details
#initialize(*args) ⇒ Conditions
Returns a new instance of Conditions.
14 15 16 17 18 19 20 |
# File 'lib/saml/elements/conditions.rb', line 14 def initialize(*args) = args. @audience_restriction = Saml::Elements::AudienceRestriction.new(:audience => .delete(:audience)) if [:audience] self.not_before = Time.now - Saml::Config.max_issue_instant_offset.minutes self.not_on_or_after = Time.now + Saml::Config.max_issue_instant_offset.minutes super(*(args << )) end |