class SAML::Core::StatusResponse
Attributes
id[R]
status[R]
version[R]
Public Class Methods
from_xml(xml)
click to toggle source
# File lib/saml/core/status_response.rb, line 9 def self.from_xml(xml); new.from_xml(xml); end
Public Instance Methods
from_xml(xml)
click to toggle source
# File lib/saml/core/status_response.rb, line 11 def from_xml(xml) @id = xml.attributes["ID"] @version = xml.attributes["Version"] @status = Status.from_xml(xml.get_elements("samlp:Status").first) self end
success?()
click to toggle source
# File lib/saml/core/status_response.rb, line 18 def success? status.success? end