Method: Contentful::Management::Environment#locales

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

#localesContentful::Management::EnvironmentLocaleMethodsFactory

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

Returns:

  • (Contentful::Management::EnvironmentLocaleMethodsFactory)

See Also:

  • README for details.


105
106
107
# File 'lib/contentful/management/environment.rb', line 105

def locales
  EnvironmentLocaleMethodsFactory.new(self)
end