Sha256: f54c888cda0b2b3877a4a1e02c7562649d2ea21e6a8807ed9cd4ad48064c9358
Contents?: true
Size: 231 Bytes
Versions: 2
Compression:
Stored size: 231 Bytes
Contents
require "terrestrial/abstract_record" module Terrestrial class UpsertedRecord < AbstractRecord def if_upsert(&block) block.call(self) self end protected def operation :upsert end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
terrestrial-0.3.0 | lib/terrestrial/upserted_record.rb |
terrestrial-0.1.1 | lib/terrestrial/upserted_record.rb |