Sha256: 64abb6f44dbdb749ad80dc7856c17a6028b2a3911803b4949cc937e79da17d3b

Contents?: true

Size: 236 Bytes

Versions: 9

Compression:

Stored size: 236 Bytes

Contents

module PikaQue
  module Codecs
    module NOOP
      extend self

      def encode(payload)
        payload
      end

      def decode(payload)
        payload
      end

      def content_type
        nil
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pika_que-0.3.0 lib/pika_que/codecs/noop.rb
pika_que-0.2.0 lib/pika_que/codecs/noop.rb
pika_que-0.1.6 lib/pika_que/codecs/noop.rb
pika_que-0.1.5 lib/pika_que/codecs/noop.rb
pika_que-0.1.4 lib/pika_que/codecs/noop.rb
pika_que-0.1.3 lib/pika_que/codecs/noop.rb
pika_que-0.1.2 lib/pika_que/codecs/noop.rb
pika_que-0.1.1 lib/pika_que/codecs/noop.rb
pika_que-0.1.0 lib/pika_que/codecs/noop.rb