Sha256: 1be178c5788556a92f9b93dc3c861c3e39b96e9959f111c917e88dc3cc85e8ca

Contents?: true

Size: 320 Bytes

Versions: 5

Compression:

Stored size: 320 Bytes

Contents

module Ecoportal
  module API
    class V1
      class Person

        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

5 entries across 5 versions & 1 rubygems

Version Path
eco-helpers-1.5.1 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.5.0 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.4.2 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.4.1 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb
eco-helpers-1.4.0 lib/eco/api/common/version_patches/ecoportal_api/external_person.rb