class Contentful::Management::ContentTypeEditorInterfaceMethodsFactory

Wrapper for Editor Interface API for a specific Content Type @private

Attributes

content_type[R]
editor_interfaces_client[R]

Public Class Methods

new(content_type) click to toggle source

@private

# File lib/contentful/management/content_type_editor_interface_methods_factory.rb, line 14
def initialize(content_type)
  @editor_interfaces_client = ClientEditorInterfaceMethodsFactory.new(
    content_type.client,
    content_type.space.id,
    content_type.environment_id,
    content_type.id
  )
end

Public Instance Methods

default() click to toggle source
# File lib/contentful/management/content_type_editor_interface_methods_factory.rb, line 23
def default
  editor_interfaces_client.default
end