lib/zendesk2/help_center/article.rb in zendesk2-1.10.0 vs lib/zendesk2/help_center/article.rb in zendesk2-1.11.0

- old
+ new

@@ -52,9 +52,15 @@ requires :identity cistern.help_center_translations(source_id: identity, source_type: 'Article') end + def subscriptions + requires :identity + + cistern.help_center_subscriptions(content_id: identity, content_type: 'article') + end + def save! response = if new_record? requires :title, :locale, :section_id cistern.create_help_center_article('article' => attributes)