Class: SAML2::StatusResponse

Inherits:
Message show all
Defined in:
lib/saml2/status_response.rb

Direct Known Subclasses

LogoutResponse, Response

Instance Attribute Summary collapse

Attributes inherited from Message

#destination, #issuer

Attributes inherited from Base

#xml

Instance Method Summary collapse

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

#initializeStatusResponse

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_toObject

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

#statusObject

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