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.3.19 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.18 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.17 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.16 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.15 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.14 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.13 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.12 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.11 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.10 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.9 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.8 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.7 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.6 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.5 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.4 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.3 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.2 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.3.1 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.2.2 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb