Skip to content

Commit

Permalink
Remove superfluous self in JSONSerializer
Browse files Browse the repository at this point in the history
  • Loading branch information
justincampbell committed May 22, 2019
1 parent 43b7fd1 commit 5abc923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/vault/rails/json_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 == ""

Expand Down

0 comments on commit 5abc923

Please sign in to comment.