Commit 6ecf6aa

mo <mo.khan@gmail.com>
2017-12-15 20:03:51
remove unused config prop.
1 parent 53ce2a0
Changed files (3)
lib/saml/kit/assertion.rb
@@ -16,7 +16,7 @@ module Saml
 
       def signature
         xml_hash = assertion.fetch('Signature', nil)
-        xml_hash ? Signature.new(xml_hash, configuration: @configuration) : nil
+        xml_hash ? Signature.new(xml_hash) : nil
       end
 
       def attributes
lib/saml/kit/signature.rb
@@ -1,9 +1,8 @@
 module Saml
   module Kit
     class Signature
-      def initialize(xml_hash, configuration:)
+      def initialize(xml_hash)
         @xml_hash = xml_hash
-        @configuration = configuration
       end
 
       def certificate
lib/saml/kit/trustable.rb
@@ -15,7 +15,7 @@ module Saml
 
       def signature
         xml_hash = to_h.fetch(name, {}).fetch('Signature', nil)
-        xml_hash ? Signature.new(xml_hash, configuration: configuration) : nil
+        xml_hash ? Signature.new(xml_hash) : nil
       end
 
       def trusted?