class Contentful::Management::ClientEditorInterfaceMethodsFactory
Wrapper for EditorInterface
API for usage from within Client
@private
Attributes
Public Class Methods
Source
# File lib/contentful/management/client_editor_interface_methods_factory.rb, line 13 def initialize(client, space_id, environment_id, content_type_id) @client = client @resource_requester = ResourceRequester.new(client, associated_class) @space_id = space_id @environment_id = environment_id @content_type_id = content_type_id end
Public Instance Methods
Source
# File lib/contentful/management/client_editor_interface_methods_factory.rb, line 26 def default @resource_requester.all( space_id: @space_id, environment_id: @environment_id, content_type_id: @content_type_id, editor_id: 'default' ) end
Gets the Default Editor Interface
@see _ For complete option list: www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters
@return [Contentful::Management::EditorInterface]
Private Instance Methods
Source
# File lib/contentful/management/client_editor_interface_methods_factory.rb, line 37 def associated_class EditorInterface end