lib/ecoportal/api/common/content/array_model.rb in ecoportal-api-v2-0.9.7 vs lib/ecoportal/api/common/content/array_model.rb in ecoportal-api-v2-1.0.1
- old
+ new
@@ -32,11 +32,11 @@
end
end
inheritable_class_vars :order_matteres, :uniq
- def initialize(doc = [], parent: self, key: nil)
- super(doc, parent: parent, key: key)
+ def initialize(doc = [], parent: self, key: nil, read_only: false)
+ super(doc, parent: parent, key: key, read_only: read_only)
end
def order_matters?; self.class.order_matters; end
def uniq?; self.class.uniq; end