Sha256: de7d2bb4a3889c822a884f691abd46e6175d89a2dc85c06fcf19bbc41ca506a3

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

module Waffle
  module Encoders
    module Json
      module_function
      def encode message
        ::MultiJson.encode(message)
      end

      def decode message
        ::MultiJson.decode(message)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waffle-0.6.0 lib/waffle/encoders/json.rb