class Contentful::Management::ClientContentTypeMethodsFactory

Wrapper for ContentType API for usage from within Client @private

Public Instance Methods

all(query = {}) click to toggle source
# File lib/contentful/management/client_content_type_methods_factory.rb, line 14
def all(query = {})
  content_types = super(query)
  client.update_dynamic_entry_cache!(content_types)
  content_types
end
all_published(params = {}) click to toggle source
# File lib/contentful/management/client_content_type_methods_factory.rb, line 20
def all_published(params = {})
  super({ suppress_warning: true }.merge(params))
end