Module: Ecoportal::API::Common::Content::HashDiffPatch

Extended by:
InstanceMethods
Included in:
DoubleModel::Diffable::PatchDiffService
Defined in:
lib/ecoportal/api/common/content/hash_diff_patch.rb

Defined Under Namespace

Modules: InstanceMethods

Constant Summary collapse

META_KEYS =
%w[id patch_ver].freeze
NO_CHANGES =
"%not-changed!%".freeze

Class Method Summary collapse

Methods included from InstanceMethods

patch_diff

Methods included from DocHelpers

#array_id_index, #array_id_item, #array_ids, #get_body, #get_id

Class Method Details

.included(base) ⇒ Object



8
9
10
11
12
# File 'lib/ecoportal/api/common/content/hash_diff_patch.rb', line 8

def included(base)
  super

  base.send :include, InstanceMethods
end