Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.46 KB

File metadata and controls

29 lines (22 loc) · 1.46 KB

Phrase::ReleaseCreateParameters

Properties

Name Type Description Notes
description String Description of the release [optional]
platforms Array<String> List of platforms the release should support. [optional]
locale_ids Array<String> List of locale ids that will be included in the release. If empty, distribution locales will be used [optional]
tags Array<String> Only include tagged keys in the release. For a key to be included it must be tagged with all tags provided [optional]
app_min_version String Minimum version of the app that the release supports in semver format [optional]
app_max_version String Maximum version of the app that the release supports in semver format [optional]
branch String Branch used for release [optional]

Code Sample

require 'phrase'

instance = Phrase::ReleaseCreateParameters.new(description: 'My first Release',
                                 platforms: ["android","ios"],
                                 locale_ids: ["abcd1234cdef1234abcd1234cdef1234","fff565db236400772368235db2c6117e"],
                                 tags: ["android","feature1"],
                                 app_min_version: '2.5.0',
                                 app_max_version: '3.0.0',
                                 branch: 'my-feature-branch')