Sha256: 6f7ecfbed82a11d51a3839686e8540e40ef88f9cfd107b1a6fbfdc9f395095a1

Contents?: true

Size: 771 Bytes

Versions: 1

Compression:

Stored size: 771 Bytes

Contents

# frozen_string_literal: true

module KeyVortex
  # NOTE: yard isn't going to document a shared example, so adding it here.

  # 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.
  module Contract
    VERSION = "1.0.0"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
key_vortex-contract-1.0.0 lib/key_vortex/contract/version.rb