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, #id, #issue_instant, #issuer

Attributes inherited from Base

#xml

Instance Method Summary collapse

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

#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