Sha256: f1a5f3fb9346c13a2d893731a59e8d85c37d2f12f804b404418b6db6cb88fd81

Contents?: true

Size: 326 Bytes

Versions: 10

Compression:

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

10 entries across 10 versions & 1 rubygems

Version Path
eco-helpers-0.9.3 lib/eco/api/common/version_patches/ecoportal_api/internal_person.rb
eco-helpers-0.9.2 lib/eco/api/common/version_patches/internal_person.rb
eco-helpers-0.9.1 lib/eco/api/common/version_patches/internal_person.rb
eco-helpers-0.8.4 lib/eco/api/common/version_patches/internal_person.rb
eco-helpers-0.8.3 lib/eco/api/common/version_patches/internal_person.rb
eco-helpers-0.8.2 lib/eco/api/common/version_patches/internal_person.rb
eco-helpers-0.8.1 lib/eco/api/common/version_patches/internal_person.rb
eco-helpers-0.7.2 lib/eco/api/common/version_patches/internal_person.rb
eco-helpers-0.7.1 lib/eco/api/common/version_patches/internal_person.rb
eco-helpers-0.6.17 lib/eco/api/common/version_patches/internal_person.rb