Sha256: f0096cd97f5a8ea3d96ec79957f1ee18b62c6aadeab26ada34f255633619ad65
Contents?: true
Size: 609 Bytes
Versions: 33
Compression:
Stored size: 609 Bytes
Contents
require_relative 'client_association_methods_factory' module Contentful module Management # Wrapper for Upload API for usage from within Client # @private class ClientUploadMethodsFactory include Contentful::Management::ClientAssociationMethodsFactory def new(*) fail 'Not supported' end def all(*) fail 'Not supported' end def find(resource_id) associated_class.find(client, @space_id, resource_id) end def create(attributes) associated_class.create(client, @space_id, attributes) end end end end
Version data entries
33 entries across 33 versions & 1 rubygems