class Delta::Identifier::Null

Public Class Methods

new() click to toggle source
# File lib/delta/identifier.rb, line 25
def initialize
end

Public Instance Methods

identities(collection) click to toggle source
# File lib/delta/identifier.rb, line 32
def identities(collection)
  cache(collection) { { id: collection.pluck(:id) } }
end
identity(object) click to toggle source
# File lib/delta/identifier.rb, line 28
def identity(object)
  object
end