docs/DistributionCreateParameters.md in phrase-2.3.1 vs docs/DistributionCreateParameters.md in phrase-2.4.0
- old
+ new
@@ -5,10 +5,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | Name of the distribution | [optional]
**project_id** | **String** | Project id the distribution should be assigned to. | [optional]
**platforms** | **Array<String>** | List of platforms the distribution should support. | [optional]
+**locale_ids** | **Array<String>** | List of locale ids that will be part of distribution releases | [optional]
**format_options** | **Hash<String, String>** | Additional formatting and render options. Only <code>enclose_in_cdata</code> is available for platform <code>android</code>. | [optional]
**fallback_to_non_regional_locale** | **Boolean** | Indicates whether to fallback to non regional locale when locale can not be found | [optional]
**fallback_to_default_locale** | **Boolean** | Indicates whether to fallback to projects default locale when locale can not be found | [optional]
**use_last_reviewed_version** | **Boolean** | Use last reviewed instead of latest translation in a project | [optional]
@@ -18,9 +19,10 @@
require 'Phrase'
instance = Phrase::DistributionCreateParameters.new(name: My Android Distribution,
project_id: abcd1234abcd1234abcd1234,
platforms: ["android","ios"],
+ locale_ids: ["abcd1234cdef1234abcd1234cdef1234","fff565db236400772368235db2c6117e"],
format_options: {xml:{enclose_in_cdata:'1'}},
fallback_to_non_regional_locale: true,
fallback_to_default_locale: true,
use_last_reviewed_version: true)
```