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
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, #id, inherited, #issue_instant, parse, #sign, #valid_schema?, #validate_signature
Methods included from Signable
#sign, #signature, #signed?, #signing_key, #valid_signature?, #validate_signature
Methods inherited from Base
from_xml, #inspect, 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 |