Method: Contentful::Management::Client#environments

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

#environments(space_id) ⇒ Contentful::Management::ClientEnvironmentMethodsFactory

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

Returns:

  • (Contentful::Management::ClientEnvironmentMethodsFactory)

See Also:

  • README for details.


114
115
116
# File 'lib/contentful/management/client.rb', line 114

def environments(space_id)
  ClientEnvironmentMethodsFactory.new(self, space_id)
end