Sha256: 62c01ddfdbbd4597e4bbb81487a4c36be157138647e1cc3c4702c77f476a6d78

Contents?: true

Size: 1001 Bytes

Versions: 33

Compression:

Stored size: 1001 Bytes

Contents

module Contentful
  module Management
    # Wrapper for /public API for usage from within Client Wrapper Classes
    # @private
    module ClientAssociationAllPublishedMethodsFactory
      # Gets a collection of published resources.
      #
      # @param [Hash] params
      # @see _ For complete option list: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters
      # @deprecated This call will be soon removed from the API except for Content Types
      #
      # @return [Contentful::Management::Array<Contentful::Management::Resource>]
      def all_published(params = {})
        warn('This call will soon be removed from the API except for Content Types') unless params.key?(:suppress_warning)
        params.delete(:suppress_warning) if params.key?(:suppress_warning)

        @resource_requester.all(
          { space_id: @space_id, environment_id: @environment_id, public: true },
          params
        )
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
contentful-management-3.8.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-3.7.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-3.6.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-3.5.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-3.4.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-3.3.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-3.2.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-3.1.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-3.0.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-2.13.1 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-2.13.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-2.12.1 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-2.12.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-2.11.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-2.10.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-2.9.1 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-2.9.0 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-2.8.2 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-2.8.1 lib/contentful/management/client_association_all_published_method_factory.rb
contentful-management-2.8.0 lib/contentful/management/client_association_all_published_method_factory.rb