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.2.1 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.1.8 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.1.7 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.1.6 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.1.5 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.1.4 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.1.3 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.1.2 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.1.1 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.14 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.13 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.12 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.11 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.10 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.9 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.8 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.7 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.6 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.5 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.0.4 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb