class MessageVerifierTest::JSONSerializer

Public Instance Methods

dump(value) click to toggle source
# File activesupport/test/message_verifier_test.rb, line 11
def dump(value)
  ActiveSupport::JSON.encode(value)
end
load(value) click to toggle source
# File activesupport/test/message_verifier_test.rb, line 15
def load(value)
  ActiveSupport::JSON.decode(value)
end