Sha256: 675f87cdf03ea7df1c1a1f5836fbceb48a99051bbeb241a2c0b5a457fd09b8b6

Contents?: true

Size: 377 Bytes

Versions: 54

Compression:

Stored size: 377 Bytes

Contents

module Ecoportal
  module API
    class V1
      class Person

        def sync
          consolidate!
        end

        def reset_details!
          doc["details"] = JSON.parse(original_doc["details"])
        end

        def consolidate_details!
          original_doc["details"] = JSON.parse(doc["details"])
        end

      end
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
eco-helpers-1.0.3 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-0.9.5 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.2 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-0.9.4 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-0.9.3 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-0.9.2 lib/eco/api/common/version_patches/external_person.rb
eco-helpers-0.9.1 lib/eco/api/common/version_patches/external_person.rb
eco-helpers-0.8.4 lib/eco/api/common/version_patches/external_person.rb
eco-helpers-0.8.3 lib/eco/api/common/version_patches/external_person.rb
eco-helpers-0.8.2 lib/eco/api/common/version_patches/external_person.rb
eco-helpers-0.8.1 lib/eco/api/common/version_patches/external_person.rb
eco-helpers-0.7.2 lib/eco/api/common/version_patches/external_person.rb
eco-helpers-0.7.1 lib/eco/api/common/version_patches/external_person.rb
eco-helpers-0.6.17 lib/eco/api/common/version_patches/external_person.rb