Sha256: 7c5b373edb13d561c660f1e44d0efbafec5dc8ef8f9f113dd16d4870958cbb51

Contents?: true

Size: 293 Bytes

Versions: 50

Compression:

Stored size: 293 Bytes

Contents

require 'multi_json'

module Qu
  module Backend
    class Base
      include Logger
      attr_accessor :connection

    private

      def encode(data)
        MultiJson.encode(data) if data
      end

      def decode(data)
        MultiJson.decode(data) if data
      end
    end
  end
end

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
classiccms-0.3.5 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.3.4 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.3.3 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.3.2 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.3.1 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.3.0 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
qu-0.1.4 lib/qu/backend/base.rb
qu-0.1.3 lib/qu/backend/base.rb
qu-0.1.2 lib/qu/backend/base.rb
qu-0.1.1 lib/qu/backend/base.rb