Commit 164275e

mo <mo.khan@gmail.com>
2018-03-17 20:19:24
fix rubocop error.
1 parent cebbf76
Changed files (1)
lib
saml
lib/saml/kit/metadata.rb
@@ -133,8 +133,7 @@ module Saml
       # @return [Array] Returns an array with a url and Hash of parameters to
       # send to the other party.
       def logout_request_for(user, binding: :http_post, relay_state: nil)
-        builder =
-          Saml::Kit::LogoutRequest.builder(user) { |x| yield x if block_given? }
+        builder = LogoutRequest.builder(user) { |x| yield x if block_given? }
         request_binding = single_logout_service_for(binding: binding)
         request_binding.serialize(builder, relay_state: relay_state)
       end