From 5abc92307847a20d51144aeb1e6367a06d0e6592 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Wed, 22 May 2019 12:38:54 -0400 Subject: [PATCH] Remove superfluous self in JSONSerializer --- lib/vault/rails/json_serializer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vault/rails/json_serializer.rb b/lib/vault/rails/json_serializer.rb index b7548c2f..7a5f85c4 100644 --- a/lib/vault/rails/json_serializer.rb +++ b/lib/vault/rails/json_serializer.rb @@ -7,13 +7,13 @@ module JSONSerializer }.freeze def self.encode(raw) - self._init! + _init! JSON.fast_generate(raw) end def self.decode(raw) - self._init! + _init! return nil if raw == nil || raw == ""