Sha256: 4c8928d72f48b765fa471b284f116511210a8cba753054b687709da075d88d68
Contents?: true
Size: 658 Bytes
Versions: 14
Compression:
Stored size: 658 Bytes
Contents
require_relative 'client_association_methods_factory' require_relative 'client_association_all_published_method_factory' module Contentful module Management # Wrapper for Entry API for usage from within Client # @private class ClientEntryMethodsFactory include Contentful::Management::ClientAssociationMethodsFactory include Contentful::Management::ClientAssociationAllPublishedMethodsFactory def create(content_type, attributes) associated_class.create(client, content_type.space.id, attributes.merge(content_type: content_type)) end def new(*) fail 'Not supported' end end end end
Version data entries
14 entries across 14 versions & 1 rubygems