Module: KeyVortex::Contract

Defined in:
lib/key_vortex/contract/version.rb

Overview

KeyVortex will assume that adapters behave in certain ways, which are documented here. You can also include shared examples provided by this gem to ensure that it conforms to those behaviors.

In order to use KeyVortex.vortex, it must register the class by calling KeyVortex.register.

If #save is called, #find must be able to retrieve the record using the #key afterwards.

If #remove is called, #find must return nil on the key afterward.

if #save is called on a record, subsequent calls to #find must return the same class that was saved.

Constant Summary collapse

VERSION =
"1.0.0"