Sha256: 28d1d692080bc07ea6b88cd0ade47c1ffda5ea4200a5b10df7b65b8eecc5333b

Contents?: true

Size: 240 Bytes

Versions: 4

Compression:

Stored size: 240 Bytes

Contents

require 'yajl'

module Waffle
  class Utils

    class << self

      def encode(message = nil)
        Yajl::Encoder.encode message
      end

      def decode(message = '')
        Yajl::Parser.parse message
      end

    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
waffle-0.1.3 lib/waffle/utils.rb
waffle-0.1.2 lib/waffle/utils.rb
waffle-0.1.1 lib/waffle/utils.rb
waffle-0.1.0 lib/waffle/utils.rb