class Contentful::Management::ClientContentTypeMethodsFactory
Wrapper for ContentType
API for usage from within Client
@private
Public Instance Methods
all(query = {})
click to toggle source
Calls superclass method
Contentful::Management::ClientAssociationMethodsFactory#all
# File lib/contentful/management/client_content_type_methods_factory.rb, line 12 def all(query = {}) content_types = super(query) client.update_dynamic_entry_cache!(content_types) content_types end
all_published(params = {})
click to toggle source
Calls superclass method
Contentful::Management::ClientAssociationAllPublishedMethodsFactory#all_published
# File lib/contentful/management/client_content_type_methods_factory.rb, line 18 def all_published(params = {}) super({ suppress_warning: true }.merge(params)) end