lib/ecoportal/api/v2/page/component/action_field.rb in ecoportal-api-v2-0.8.28 vs lib/ecoportal/api/v2/page/component/action_field.rb in ecoportal-api-v2-0.8.29
- old
+ new
@@ -5,10 +5,11 @@
class Component
class ActionField < Page::Component
passboolean :create_actions
passthrough :required_number_of_completed_actions
passboolean :permits_and_rules_integration, :add_subscribed, :add_subscribed_to_tasks
-
+ passarray :permitted_person_schema_ids, order_matters: false
+
embeds_many :actions, klass: "Ecoportal::API::V2::Page::Component::Action", order_key: :weight
# Adds a task with `name` short description
# @return [Ecoportal::API::V2::Page::Component::Action]
def add_task (name)