class SAML2::StatusResponse
Attributes
in_response_to[RW]
@return [String]
status[W]
Public Class Methods
new()
click to toggle source
Calls superclass method
SAML2::Message::new
# File lib/saml2/status_response.rb, line 12 def initialize super @status = Status.new end
Public Instance Methods
from_xml(node)
click to toggle source
(see Base#from_xml
)
Calls superclass method
SAML2::Message::from_xml
# 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
status()
click to toggle source
@return [Status]
# File lib/saml2/status_response.rb, line 26 def status @status ||= Status.from_xml(xml.at_xpath("samlp:Status", Namespaces::ALL)) end
Protected Instance Methods
build(status_response)
click to toggle source
Calls superclass method
SAML2::Message#build
# File lib/saml2/status_response.rb, line 32 def build(status_response) super(status_response) status_response.parent["InResponseTo"] = in_response_to if in_response_to status.build(status_response) end