lib/ecoportal/api/v2/page/sections.rb in ecoportal-api-v2-2.0.6 vs lib/ecoportal/api/v2/page/sections.rb in ecoportal-api-v2-2.0.7
- old
+ new
@@ -1,14 +1,14 @@
module Ecoportal
module API
class V2
class Page
- class Sections < Common::Content::CollectionModel
+ class Sections < Ecoportal::API::Common::Content::CollectionModel
class_resolver :section_class, "Ecoportal::API::V2::Page::Section"
self.klass = :section_class
self.order_key = :weight
-
+
def ooze
self._parent.ooze
end
# @return [Boolean] `true` if there is one or more sections shared, `false` otherwise