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.7.5 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.7.4 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.7.3 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.7.2 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.7.1 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.7.0 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.6.9 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.6.8 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.6.7 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.6.6 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.6.5 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.6.4 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.6.3 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.6.2 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.6.1 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.6.0 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.5.17 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.5.16 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.5.15 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb
classiccms-0.5.14 vendor/bundle/gems/qu-0.1.4/lib/qu/backend/base.rb