Files
chatwoot/enterprise/app/models/enterprise/automation_rule.rb
b8047f0912 feat: sla-2 add automation backend support for SLA (#8775)
* feat: add automation support for SLA

* feat: add sla action in automtion UI

* chore: revert frontend changes

* chore: refactor to ee namespace

* chore: refactor automation rule to ee namespace

* feat: create applied_sla table entry

* chore: add applied_sla spec

* chore: rubocop fixes

---------

Co-authored-by: Sojan <sojan@pepalo.com>
2024-02-01 15:42:12 +05:30

10 lines
158 B
Ruby

module Enterprise::AutomationRule
def conditions_attributes
super + %w[sla_policy_id]
end
def actions_attributes
super + %w[add_sla]
end
end