Sha256: e069550012c9662f81500344681451e30c80d84e20b6812d8613f76ca81e3fba

Contents?: true

Size: 444 Bytes

Versions: 5

Compression:

Stored size: 444 Bytes

Contents

module Basket
  class BackendAdapter
    def data
      raise "must implement data"
    end

    def push(queue, data)
      raise "must implement push with queue and data params"
    end

    def length(queue)
      raise "must implement length with queue param"
    end

    def read(queue)
      raise "must implement read with queue param"
    end

    def clear(queue)
      raise "must implement clear with queue param"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
basket-0.0.7 lib/basket/backend_adapter.rb
basket-0.0.6 lib/basket/backend_adapter.rb
basket-0.0.5 lib/basket/backend_adapter.rb
basket-0.0.4 lib/basket/backend_adapter.rb
basket-0.0.3 lib/basket/backend_adapter.rb