lib/ecoportal/api/v2/page/component/people_field.rb in ecoportal-api-oozes-0.5.5 vs lib/ecoportal/api/v2/page/component/people_field.rb in ecoportal-api-oozes-0.5.6
- old
+ new
@@ -3,9 +3,14 @@
class V2
class Page
class Component
class PeopleField < Page::Component
passarray :people_ids
+
+ def add(id)
+ people_ids << id
+ end
+
end
end
end
end
end