Sha256: 8567ed5d96ffacc924b28a8605d1ae49caa9569eff7a55fdd48faf60ca07ca8e

Contents?: true

Size: 740 Bytes

Versions: 17

Compression:

Stored size: 740 Bytes

Contents

module Rack
  class MiniProfiler
    class AbstractStore

      def save(page_struct)
        raise NotImplementedError.new("save is not implemented")
      end

      def load(id)
        raise NotImplementedError.new("load is not implemented")
      end

      def set_unviewed(user, id)
        raise NotImplementedError.new("set_unviewed is not implemented")
      end

      def set_viewed(user, id)
        raise NotImplementedError.new("set_viewed is not implemented")
      end

      def get_unviewed_ids(user)
        raise NotImplementedError.new("get_unviewed_ids is not implemented")
      end

      def diagnostics(user)
        # this is opt in, no need to explode if not implemented
        ""
      end

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rack-mini-profiler-0.9.9.2 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.9.1 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.9 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.8 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.7 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.6 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.5 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.4 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.3 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.2 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.1 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.0 lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.9.0.pre lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.1.31 Ruby/lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.1.30 Ruby/lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.1.29 Ruby/lib/mini_profiler/storage/abstract_store.rb
rack-mini-profiler-0.1.28 Ruby/lib/mini_profiler/storage/abstract_store.rb