class SAML2::StatusResponse
Attributes
@return [String]
Public Class Methods
Source
# File lib/saml2/status_response.rb, line 12 def initialize super @status = Status.new end
Calls superclass method
SAML2::Message::new
Public Instance Methods
Source
# File lib/saml2/status_response.rb, line 18 def from_xml(node) super @status = nil remove_instance_variable(:@status) @in_response_to = node["InResponseTo"] end
(see Base#from_xml
)
Calls superclass method
SAML2::Message::from_xml
Source
# File lib/saml2/status_response.rb, line 26 def status @status ||= Status.from_xml(xml.at_xpath("samlp:Status", Namespaces::ALL)) end
@return [Status]
Protected Instance Methods
Source
# File lib/saml2/status_response.rb, line 32 def build(status_response) super status_response.parent["InResponseTo"] = in_response_to if in_response_to status.build(status_response) end
Calls superclass method
SAML2::Message#build