Sha256: 56fb31f864c4aa9c4ee2b6eb6b6aec5a6587d18c4c7ea9c3fa73370540c71bef

Contents?: true

Size: 189 Bytes

Versions: 1

Compression:

Stored size: 189 Bytes

Contents

require 'json'
module Hat
  module Middlewares
    module Publisher
      module JSON

        def self.call(message)
          ::JSON.dump(message)
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rabbit-hat-0.0.1 lib/hat/middlewares/publisher/json.rb