Sha256: d1e3929b99b88adb1ed18926a831eebdb87f49cd2cb20305db8f35d822f283b9
Contents?: true
Size: 890 Bytes
Versions: 3
Compression:
Stored size: 890 Bytes
Contents
module Saml module Elements class EntitiesDescriptor include Saml::Base include Saml::XMLHelpers register_namespace "md", Saml::MD_NAMESPACE tag "EntitiesDescriptor" namespace "md" attribute :_id, String, :tag => "ID" attribute :name, String, :tag => "Name" attribute :valid_until, Time, :tag => "validUntil" attribute :cache_duration, Integer, :tag => "cacheDuration" has_one :signature, Saml::Elements::Signature has_many :entities_descriptors, Saml::Elements::EntitiesDescriptor has_many :entity_descriptors, Saml::Elements::EntityDescriptor validates :entities_descriptors, :length => { :minimum => 1 }, :if => lambda { |ed| ed.entity_descriptors.blank? } validates :entity_descriptors, :length => { :minimum => 1 }, :if => lambda { |ed| ed.entities_descriptors.blank? } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
libsaml-2.1.0 | lib/saml/elements/entities_descriptor.rb |
libsaml-2.0.6 | lib/saml/elements/entities_descriptor.rb |
libsaml-2.0.5 | lib/saml/elements/entities_descriptor.rb |