lib/ciam/ruby-saml/logout_response.rb in ciam-es-0.0.7 vs lib/ciam/ruby-saml/logout_response.rb in ciam-es-0.0.8
- old
+ new
@@ -4,11 +4,11 @@
module Ciam
module Saml
class LogoutResponse
include Coding
- include Response
+ include Request
ASSERTION = "urn:oasis:names:tc:SAML:2.0:assertion"
PROTOCOL = "urn:oasis:names:tc:SAML:2.0:protocol"
DSIG = "http://www.w3.org/2000/09/xmldsig#"
attr_accessor :settings
@@ -82,10 +82,10 @@
response_doc.sign_document(private_key, cert)
end
Logging.debug "Created LogoutResponse:\n #{response_doc}"
- return request_doc.to_s
+ return response_doc.to_s
end
# function to return the created request as an XML document
def to_xml