Commit 6c0d828

mo <mo.khan@gmail.com>
2018-02-18 01:35:52
fix rubocop errors.
1 parent de1a61d
Changed files (1)
lib
lib/saml/kit/null_assertion.rb
@@ -6,17 +6,46 @@ module Saml
       validate :invalid
 
       def issuer; end
+
       def name_id; end
-      def signed?; false end
+
+      def signed?
+        false
+      end
+
       def signature; end
-      def attributes; [] end
-      def started_at; Time.at(0).to_datetime end
-      def expired_at; Time.at(0).to_datetime end
-      def audiences; [] end
-      def encrypted?; false end
-      def decryptable?; false end
-      def present?; false end
-      def to_xml(*args); "" end
+
+      def attributes
+        []
+      end
+
+      def started_at
+        Time.at(0).to_datetime
+      end
+
+      def expired_at
+        Time.at(0).to_datetime
+      end
+
+      def audiences
+        []
+      end
+
+      def encrypted?
+        false
+      end
+
+      def decryptable?
+        false
+      end
+
+      def present?
+        false
+      end
+
+      def to_xml(*_args)
+        ''
+      end
 
       def invalid
         errors[:assertion].push(error_message(:invalid))