lib/eco/api/common/version_patches/internal_person.rb in eco-helpers-0.6.16 vs lib/eco/api/common/version_patches/internal_person.rb in eco-helpers-0.6.17
- old
+ new
@@ -1,16 +1,16 @@
module Ecoportal
module API
class Internal
class Person
- #def reset_account!
- # doc["account"] = JSON.parse(original_doc["account"])
- #end
+ def reset_account!
+ doc["account"] = JSON.parse(original_doc["account"])
+ end
- #def consolidate_account!
- # original_doc["account"] = JSON.parse(doc["account"])
- #end
+ def consolidate_account!
+ original_doc["account"] = JSON.parse(doc["account"])
+ end
end
end
end
end