Sha256: b2d1add5b08d8eb728219b477b38d7c6d1f87c79b6816328a82879ae32ede97c

Contents?: true

Size: 334 Bytes

Versions: 42

Compression:

Stored size: 334 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

      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
eco-helpers-1.5.0 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.4.2 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.19 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.4.1 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.4.0 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.18 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.17 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.16 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.15 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.14 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.13 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.12 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.11 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.10 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.9 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.8 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.7 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.6 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.5 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-1.3.4 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb