Class: SAML2::StatusResponse
- Defined in:
- lib/saml2/status_response.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#in_response_to ⇒ Object
Returns the value of attribute in_response_to.
-
#status ⇒ Object
Returns the value of attribute status.
Attributes inherited from Message
#destination, #id, #issue_instant, #issuer
Attributes inherited from Base
Instance Method Summary collapse
- #from_xml(node) ⇒ Object
-
#initialize ⇒ StatusResponse
constructor
A new instance of StatusResponse.
Methods inherited from Message
from_xml, inherited, parse, #valid_schema?
Methods inherited from Base
from_xml, load_object_array, load_string_array, lookup_qname, #to_s, #to_xml
Constructor Details
#initialize ⇒ StatusResponse
Returns a new instance of StatusResponse.
8 9 10 11 |
# File 'lib/saml2/status_response.rb', line 8 def initialize super @status = Status.new end |
Instance Attribute Details
#in_response_to ⇒ Object
Returns the value of attribute in_response_to.
6 7 8 |
# File 'lib/saml2/status_response.rb', line 6 def in_response_to @in_response_to end |
#status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/saml2/status_response.rb', line 6 def status @status end |
Instance Method Details
#from_xml(node) ⇒ Object
13 14 15 16 17 |
# File 'lib/saml2/status_response.rb', line 13 def from_xml(node) super @status = nil remove_instance_variable(:@status) end |