Sha256: 964a47e353da56da350afd66eb2f4c2ec93c7ec0856e36ac2df479aa424e6589

Contents?: true

Size: 314 Bytes

Versions: 11

Compression:

Stored size: 314 Bytes

Contents

module Toy
  module Identity
    class AbstractKeyFactory
      def key_type
        raise NotImplementedError, "#{self.class.name}.store_type isn't implemented."
      end

      def next_key(object)
        raise NotImplementedError, "#{self.class.name}#next_key isn't implemented."
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
toystore-0.9.0 lib/toy/identity/abstract_key_factory.rb
toystore-0.8.3 lib/toy/identity/abstract_key_factory.rb
toystore-0.8.2 lib/toy/identity/abstract_key_factory.rb
toystore-0.8.1 lib/toy/identity/abstract_key_factory.rb
toystore-0.8.0 lib/toy/identity/abstract_key_factory.rb
toystore-0.7.0 lib/toy/identity/abstract_key_factory.rb
toystore-0.6.6 lib/toy/identity/abstract_key_factory.rb
toystore-0.6.5 lib/toy/identity/abstract_key_factory.rb
toystore-0.6.4 lib/toy/identity/abstract_key_factory.rb
toystore-0.6.3 lib/toy/identity/abstract_key_factory.rb
toystore-0.6.2 lib/toy/identity/abstract_key_factory.rb