module Sekrat::Warehouse::Base

A base mixin for would-be Sekrat::Warehouse implementations

Public Instance Methods

ids() click to toggle source

A stub for incomplete warehouse implementations @raise [Sekrat::NotImplemented]

# File lib/sekrat/warehouse/base.rb, line 11
def ids
  raise NotImplemented.new("ids is not implemented")
end
retrieve(id) click to toggle source

A stub for incomplete warehouse implementations @param id [String] an id that will never get used @raise [Sekrat::NotImplemented]

# File lib/sekrat/warehouse/base.rb, line 26
def retrieve(id)
  raise NotImplemented.new("retrieve is not implemented")
end
store(id, data) click to toggle source

A stub for incomplete warehouse implementations @param id [String] an ID that will never get used @param data [String] some data that will never get used @raise [Sekrat::NotImplemented]

# File lib/sekrat/warehouse/base.rb, line 19
def store(id, data)
  raise NotImplemented.new("store is not implemented")
end