Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.53 KB

ReleaseUpdateParameters.md

File metadata and controls

25 lines (18 loc) · 1.53 KB

Phrase::ReleaseUpdateParameters

Properties

Name Type Description Notes
description String Description of the release. Send an empty string or `null` to clear the value; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there. [optional]
platforms Array<String> List of platforms the release should support. [optional]
app_min_version String Minimum version of the app that the release supports in semver format. Send an empty string or `null` to clear the value; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there. [optional]
app_max_version String Maximum version of the app that the release supports in semver format. Send an empty string or `null` to clear the value; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there. [optional]
branch String Branch used for release [optional]

Code Sample

require 'phrase'

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