lib/scrivito/workspace_data.rb in scrivito_sdk-1.2.0 vs lib/scrivito/workspace_data.rb in scrivito_sdk-1.3.0.rc1
- old
+ new
@@ -20,10 +20,14 @@
def content_state_id?
@data["content_state_id"].present?
end
+ def auto_update?
+ @data["auto_update"]
+ end
+
def base_content_state_id
@data["base_content_state_id"] or raise InternalError
end
def base_content_state_id?
@@ -56,9 +60,10 @@
'title' => title,
'content_state_id' => content_state_id,
'base_revision_id' => base_revision_id,
'base_content_state_id' => base_csid,
'memberships' => memberships,
+ 'auto_update' => auto_update?,
}
end
end
end