lib/contentful/management/editor_interface.rb in contentful-management-2.1.1 vs lib/contentful/management/editor_interface.rb in contentful-management-2.2.0

- old
+ new

@@ -69,9 +69,17 @@ { 'controls' => attributes.fetch(:controls) }, version: sys[:version] ) end + # Saves the current editor interface. + # @see _ README for details. + # + # @return [Contentful::Management::EditorInterface] + def save + update(controls: controls) if id + end + # Destroys an EditorInterface. # # Not Supported def destroy fail 'Not supported'