Module: Contentful::Management::Resource::AllPublished

Included in:
Asset, ContentType, Entry
Defined in:
lib/contentful/management/resource/all_published.rb

Overview

Wrapper Class for Resources with ‘/public’ API calls

Instance Method Summary collapse

Instance Method Details

#all_published(client, space_id, parameters = {}) ⇒ Contentful::Management::Array<Contentful::Management::Resource>

Gets a collection of published resources.

Parameters:

Options Hash (parameters):

  • 'sys.id' (String)

    Entry ID

  • :content_type (String)
  • :limit (Integer)
  • :skip (Integer)

Returns:

See Also:

  • For complete option list: http://docs.contentfulcda.apiary.io/#reference/search-parameters


18
19
20
# File 'lib/contentful/management/resource/all_published.rb', line 18

def all_published(client, space_id, parameters = {})
  client_association_class.new(client).all_published(space_id, parameters)
end