Class: RSAML::Protocol::AssertionIDRequest
- Inherits:
-
Object
- Object
- RSAML::Protocol::AssertionIDRequest
- Defined in:
- lib/rsaml/protocol/assertion_id_request.rb
Overview
Request to return assertions with the given ids
Instance Method Summary collapse
-
#assertion_id_refs ⇒ Object
Specify each assertion to return.
-
#to_xml(xml = Builder::XmlMarkup.new) ⇒ Object
Construct an XML fragment representing the assertion id request.
Instance Method Details
#assertion_id_refs ⇒ Object
Specify each assertion to return.
6 7 8 |
# File 'lib/rsaml/protocol/assertion_id_request.rb', line 6 def assertion_id_refs @assertion_id_refs ||= [] end |
#to_xml(xml = Builder::XmlMarkup.new) ⇒ Object
Construct an XML fragment representing the assertion id request
11 12 13 14 15 |
# File 'lib/rsaml/protocol/assertion_id_request.rb', line 11 def to_xml(xml=Builder::XmlMarkup.new) xml.tag!('samlp:AssertionIDRequest') { assertion_id_refs.each { |assertion_id_ref| xml << assertion_id_ref.to_xml } } end |