Sha256: 0e8946ce77b67e5d3b4e6b59f42394c7951c8a6b18f277678ee546746a0e2c6e
Contents?: true
Size: 510 Bytes
Versions: 31
Compression:
Stored size: 510 Bytes
Contents
module Ecoportal module API class Internal class Person def reset_account! doc["account"] = JSON.parse(original_doc["account"]) end def consolidate_account! original_doc["account"] = JSON.parse(doc["account"]) end def new? !initial_doc["details"] && !initial_doc["account"] end def account_added? account && !initial_doc["account"] end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems