Method: Contentful::Management::Client#assets

Defined in:
lib/contentful/management/client.rb

#assets(space_id, environment_id) ⇒ Contentful::Management::ClientAssetMethodsFactory

Allows manipulation of assets in context of the current client Allows listing all assets for client, creating new and finding one by ID.

Returns:

  • (Contentful::Management::ClientAssetMethodsFactory)

See Also:

  • README for details.


196
197
198
# File 'lib/contentful/management/client.rb', line 196

def assets(space_id, environment_id)
  ClientAssetMethodsFactory.new(self, space_id, environment_id)
end